| Modifier and Type | Method and Description |
|---|---|
| public <T> T | |
| public XSListSimpleType | |
| public XSRestrictionSimpleType | |
| public XSUnionSimpleType | |
| public XSListSimpleType | Returns: otherwise return nullGets the nearest ancestor |
| public XSUnionSimpleType | Returns: otherwise return nullGets the nearest ancestor |
| public XSFacet | |
| public List | |
| public XSSimpleType | |
| public XSSimpleType | Returns: null if this component has not been redefined.Redeclares com. If this is redefined by another simple type, return that component. |
| public XSSimpleType | Returns: null if this is xs:anySimpleType. Otherwise non-null.Gets the base type as XSSimpleType. |
| public XSVariety | |
| public boolean | |
| public boolean | |
| public boolean | isPrimitive()
Returns true if this is a primitive built-in simple type (that directly derives from xs:anySimpleType, by definition.) |
| public boolean | |
| public boolean | |
| public void |
| apply | back to summary |
|---|---|
| public <T> T apply(XSSimpleTypeFunction<T> function) | |
| asList | back to summary |
|---|---|
| public XSListSimpleType asList() | |
| asRestriction | back to summary |
|---|---|
| public XSRestrictionSimpleType asRestriction() | |
| asUnion | back to summary |
|---|---|
| public XSUnionSimpleType asUnion() | |
| getBaseListType | back to summary |
|---|---|
| public XSListSimpleType getBaseListType() Gets the nearest ancestor
| |
| getBaseUnionType | back to summary |
|---|---|
| public XSUnionSimpleType getBaseUnionType() Gets the nearest ancestor
| |
| getFacet | back to summary |
|---|---|
| public XSFacet getFacet(String name) Gets the effective facet object of the given name. For example, if a simple type "foo" is derived from xs:string by restriction with the "maxLength" facet and another simple type "bar" is derived from "foo" by restriction with another "maxLength" facet, this method will return the latter one, because that is the most restrictive, effective facet. For those facets that can have multiple values (pattern facets and enumeration facets), this method will return only the first one. Todo allow clients to access all of them by some means.
| |
| getFacets | back to summary |
|---|---|
| public List For multi-valued facets (enumeration and pattern), obtain all values.
| |
| getPrimitiveType | back to summary |
|---|---|
| public XSSimpleType getPrimitiveType() Gets the ancestor primitive if
this type is
| |
| getRedefinedBy | back to summary |
|---|---|
| public XSSimpleType getRedefinedBy() Redeclares com. If this is redefined by another simple type, return that component.
| |
| getSimpleBaseType | back to summary |
|---|---|
| public XSSimpleType getSimpleBaseType() Gets the base type as XSSimpleType.
Equivalent to
| |
| getVariety | back to summary |
|---|---|
| public XSVariety getVariety() Gets the variety of this simple type. | |
| isFinal | back to summary |
|---|---|
| public boolean isFinal(XSVariety v) Returns true if this type definition is marked as 'final'
with respect to the given
| |
| isList | back to summary |
|---|---|
| public boolean isList() Returns true if | |
| isPrimitive | back to summary |
|---|---|
| public boolean isPrimitive() Returns true if this is a primitive built-in simple type (that directly derives from xs:anySimpleType, by definition.) | |
| isRestriction | back to summary |
|---|---|
| public boolean isRestriction() Returns true if | |
| isUnion | back to summary |
|---|---|
| public boolean isUnion() Returns true if | |
| visit | back to summary |
|---|---|
| public void visit(XSSimpleTypeVisitor visitor) | |