| Modifier and Type | Field and Description |
|---|---|
| private final Ref. |
| Access | Constructor and Description |
|---|---|
| public | UnionSimpleTypeImpl(SchemaDocumentImpl _parent, AnnotationImpl _annon, Locator _loc, ForeignAttributesImpl _fa, String _name, boolean _anonymous, Set<XSVariety> finalSet, Ref.
|
| memberTypes | back to summary |
|---|---|
| private final Ref. | |
| UnionSimpleTypeImpl | back to summary |
|---|---|
| public UnionSimpleTypeImpl(SchemaDocumentImpl _parent, AnnotationImpl _annon, Locator _loc, ForeignAttributesImpl _fa, String _name, boolean _anonymous, Set<XSVariety> finalSet, Ref. | |
| apply | back to summary |
|---|---|
| public <T> T apply(XSSimpleTypeFunction<T> function) Implements com. | |
| asUnion | back to summary |
|---|---|
| public XSUnionSimpleType asUnion() Overrides com. Implements com. | |
| getBaseUnionType | back to summary |
|---|---|
| public XSUnionSimpleType getBaseUnionType() Overrides com. Implements com. Doc from com. Gets the nearest ancestor | |
| getFacet | back to summary |
|---|---|
| public XSFacet getFacet(String name) Implements com. Doc from com. 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 Implements com. Doc from com. For multi-valued facets (enumeration and pattern), obtain all values. | |
| getMember | back to summary |
|---|---|
| public XSSimpleType getMember(int idx) Implements com. | |
| getMemberSize | back to summary |
|---|---|
| public int getMemberSize() Implements com. | |
| getPrimitiveType | back to summary |
|---|---|
| public XSSimpleType getPrimitiveType() Implements com. Doc from com. Gets the ancestor primitive if
this type is | |
| getVariety | back to summary |
|---|---|
| public XSVariety getVariety() Implements com. Doc from com. Gets the variety of this simple type. | |
| isUnion | back to summary |
|---|---|
| public boolean isUnion() Overrides com. Implements com. Doc from com. Returns true if | |
| iterator | back to summary |
|---|---|
| public Iterator Implements java. Doc from java. Returns an iterator over elements of type | |
| visit | back to summary |
|---|---|
| public void visit(XSSimpleTypeVisitor visitor) Implements com. | |