|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.saxonica.schema.FacetCollection
A collection of facets. This is a helper class for UserSimpleType
Constructor Summary | |
FacetCollection(UserSimpleType owningType,
java.util.List facets)
Constructor |
Method Summary | |
void |
addFacet(Facet facet)
Add the given Facet to this Simpletype. |
void |
convertFacetValues()
Convert the values of facets to the target data type |
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 FacetCollection(UserSimpleType owningType, java.util.List facets)
owningType
- the type whose facets are included in this collectfacets
- the facets defined locally in this typeMethod Detail |
public void addFacet(Facet facet)
facet
- the Facet to add to this Simpletypepublic void mergeEnumerationFacets() throws SchemaException, UnresolvedReferenceException
SchemaException
UnresolvedReferenceException
public Facet getFacet(java.lang.String name) throws ValidationException
ValidationException
public java.util.List getFacetList()
public java.util.Iterator getFacets(java.lang.String name) throws ValidationException
ValidationException
public java.util.Iterator getFacets() throws ValidationException
ValidationException
public void convertFacetValues() throws SchemaException
SchemaException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |