|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.saxonica.schema.FacetCollection
public class FacetCollection
A collection of facets. This is a helper class for UserSimpleType
Constructor Summary | |
---|---|
FacetCollection(UserSimpleType owningType,
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(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 |
List |
getFacetList()
Return all the facets for this type |
Iterator |
getFacets()
Returns an Iterator over all the Facets (including inherited facets) for this type. |
Iterator |
getFacets(String name)
Return the facets having the given name |
void |
mergeEnumerationFacets(SchemaCompiler compiler)
Merge enumeration facets into a single enumerationSet pseudo-facet. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FacetCollection(UserSimpleType owningType, List facets)
owningType
- the type whose facets are included in this collectionfacets
- the facets defined locally in this typeMethod Detail |
---|
public void addFacet(Facet facet)
facet
- the Facet to add to this Simpletypepublic void mergeEnumerationFacets(SchemaCompiler compiler) throws SchemaException, UnresolvedReferenceException
SchemaException
UnresolvedReferenceException
public Facet getFacet(String name)
public List getFacetList()
public Iterator getFacets(String name)
public Iterator getFacets()
public void convertFacetValues() throws SchemaException
SchemaException
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |