|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.saxonica.schema.FacetCollectionImpl
A collection of facets. This is a helper class for SimpleType
| Constructor Summary | |
FacetCollectionImpl(SimpleType owningType,
java.util.List facets)
Constructor |
|
| Method Summary | |
void |
addFacet(Facet facet)
Add the given Facet to this Simpletype. |
Facet |
getFacet(java.lang.String name)
Returns the first facet associated with the given name, defined either on this type or on a type from which it is derived |
java.util.List |
getFacetList()
Return all the facets for this type |
java.util.Iterator |
getFacets()
Returns an Iterator over all the Facets (including inherited facets) for this type. |
java.util.Iterator |
getFacets(java.lang.String name)
Return the facets having the given name |
void |
mergeEnumerationFacets()
Merge enumeration facets into a single enumerationSet pseudo-facet. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FacetCollectionImpl(SimpleType owningType,
java.util.List facets)
owningType - the type whose facets are included in this collectfacets - the facets defined locally in this type| Method Detail |
public void addFacet(Facet facet)
facet - the Facet to add to this Simpletype
public void mergeEnumerationFacets()
throws SchemaException
SchemaExceptionpublic Facet getFacet(java.lang.String name)
getFacet in interface FacetCollectionpublic java.util.List getFacetList()
public java.util.Iterator getFacets(java.lang.String name)
getFacets in interface FacetCollectionname - the required facet name, for example "totalDigits" or "maxInclusive"
public java.util.Iterator getFacets()
getFacets in interface FacetCollection
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||