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 |
|---|---|
| private static final long | |
| protected XSDatatypeExp |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | getBlock()
Implements abstract com. |
| public RedefinableExp | getClone()
Implements abstract com. |
| public XSDatatype | |
| public XSDatatypeExp | |
| public void | redefine(RedefinableExp _rhs)
Overrides com. |
| public void |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides com. | |
| type | back to summary |
|---|---|
| protected XSDatatypeExp type | |
| SimpleTypeExp | back to summary |
|---|---|
| pack-priv SimpleTypeExp(String typeName) | |
| getBlock | back to summary |
|---|---|
| public int getBlock() Implements abstract com. gets the value of the block constraint. SimpleTypeExp always returns 0 because it doesn't have the block constraint. | |
| getClone | back to summary |
|---|---|
| public RedefinableExp getClone() Implements abstract com. clone this object. | |
| getDatatype | back to summary |
|---|---|
| public XSDatatype getDatatype() Gets the encapsulated Datatype object. This method can be called only after the parsing is finished. | |
| getType | back to summary |
|---|---|
| public XSDatatypeExp getType() gets the XSDatatypeExp object that represents this simple type. | |
| redefine | back to summary |
|---|---|
| public void redefine(RedefinableExp _rhs) Overrides com. Doc from com. assigns contents of rhs to this object. rhs and this object must be the same runtime type, and they must have the same name. this method redefines this object by the given component. derived class should override this method and copy necessary fields, should it necessary. | |
| set | back to summary |
|---|---|
| public void set(XSDatatypeExp exp) | |