| Modifier and Type | Field and Description |
|---|---|
| private final Ref. |
| Access | Constructor and Description |
|---|---|
| public | ListSimpleTypeImpl(SchemaDocumentImpl _parent, AnnotationImpl _annon, Locator _loc, ForeignAttributesImpl _fa, String _name, boolean _anonymous, Set<XSVariety> finalSet, Ref.
|
| Modifier and Type | Method and Description |
|---|---|
| public <T> T | |
| public XSListSimpleType | asList()
Overrides com. Implements com.
|
| public XSListSimpleType | getBaseListType()
Overrides com. Implements com. Gets the nearest ancestor |
| public XSFacet | getFacet(String name)
Implements com. Gets the effective facet object of the given name. |
| public List | getFacets(String name)
Implements com. For multi-valued facets (enumeration and pattern), obtain all values. |
| public XSSimpleType | |
| public XSSimpleType | getPrimitiveType()
Implements com. Gets the ancestor primitive if
this type is |
| public XSVariety | getVariety()
Implements com. Gets the variety of this simple type. |
| public boolean | isList()
Overrides com. Implements com. Returns true if |
| public void |
| itemType | back to summary |
|---|---|
| private final Ref. | |
| ListSimpleTypeImpl | back to summary |
|---|---|
| public ListSimpleTypeImpl(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. | |
| asList | back to summary |
|---|---|
| public XSListSimpleType asList() Overrides com. Implements com. | |
| getBaseListType | back to summary |
|---|---|
| public XSListSimpleType getBaseListType() 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. | |
| getItemType | back to summary |
|---|---|
| public XSSimpleType getItemType() 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. | |
| isList | back to summary |
|---|---|
| public boolean isList() Overrides com. Implements com. Doc from com. Returns true if | |
| visit | back to summary |
|---|---|
| public void visit(XSSimpleTypeVisitor visitor) Implements com. | |