public class SimpleTypeExp extends XMLSchemaTypeExp
Most of the properties of the simple type declaration component
is defined in the XSDatatype
object, which is obtained by the
getType()
method.
Note: XML Schema allows forward reference to simple types. Therefore it must be indirectionalized by ReferenceExp. And this is the only reason this class exists.
Modifier and Type | Field and Description |
---|---|
protected XSDatatypeExp |
type |
EXTENSION, RESTRICTION
exp, name
anyString, epsilon, nullSet, verifierTag
Modifier and Type | Method and Description |
---|---|
int |
getBlock()
gets the value of the block constraint.
|
RedefinableExp |
getClone()
clone this object.
|
XSDatatype |
getDatatype()
Gets the encapsulated Datatype object.
|
XSDatatypeExp |
getType()
gets the XSDatatypeExp object that represents this simple type.
|
void |
redefine(RedefinableExp _rhs)
assigns contents of rhs to this object.
|
void |
set(XSDatatypeExp exp) |
calcEpsilonReducibility, calcHashCode, equals, isDefined, visit, visit, visit, visit
getExpandedExp, hashCode, hashCode, hashCode, isEpsilonReducible, peelOccurence, readResolve, visit, visit, visit, visit
protected XSDatatypeExp type
public void set(XSDatatypeExp exp)
public XSDatatypeExp getType()
public XSDatatype getDatatype()
This method can be called only after the parsing is finished.
public int getBlock()
getBlock
in class XMLSchemaTypeExp
public RedefinableExp getClone()
getClone
in class RedefinableExp
public void redefine(RedefinableExp _rhs)
RedefinableExp
redefine
in class RedefinableExp
Copyright © 2016 Oracle Corporation. All rights reserved.