Public Member Functions | |
| FacetList () | |
| void | add (Facet facet) |
| void | add (FacetList facetList) |
| Facet | get (int index) |
| boolean | remove (Facet facet) |
| Facet | remove (int index) |
| int | size () |
| Enumeration | enumerate () |
| Facet | contains (String name) |
A list for maintaining facets
| org.exolab.castor.xml.schema.FacetList.FacetList | ( | ) |
Creates a new FacetList
| void org.exolab.castor.xml.schema.FacetList.add | ( | Facet | facet | ) |
Adds the given Facet to this list
| facet | the facet to add |
References org.exolab.castor.util.List.add().
Referenced by org.exolab.castor.xml.schema.reader.SimpleTypeDefinition.addFacet(), org.exolab.castor.xml.schema.SimpleType.addFacet(), and org.exolab.castor.xml.schema.SimpleType.copyFacets().
| void org.exolab.castor.xml.schema.FacetList.add | ( | FacetList | facetList | ) |
Adds the facets from the given list into this FacetList
| facetList | the FacetList to copy from |
References org.exolab.castor.util.List.add(), org.exolab.castor.util.List.get(), and org.exolab.castor.util.List.size().
| Facet org.exolab.castor.xml.schema.FacetList.contains | ( | String | name | ) |
Returns the facet of the list with with the given name. In case of an ENUMERATION the first facet is returned. If none of the name of the facets of that list correspond to the given name, null is returned.
| name | the facet name to look for. |
References org.exolab.castor.xml.schema.FacetList.enumerate(), and org.exolab.castor.xml.schema.Facet.getName().
| Enumeration org.exolab.castor.xml.schema.FacetList.enumerate | ( | ) |
Returns an Enumeration of the Facets in this list
Referenced by org.exolab.castor.xml.schema.FacetList.contains(), org.exolab.castor.xml.schema.reader.SimpleTypeDefinition.copyInto(), org.exolab.castor.xml.schema.reader.SimpleTypeDefinition.createSimpleType(), and org.exolab.castor.xml.schema.SimpleType.getLocalFacets().
| Facet org.exolab.castor.xml.schema.FacetList.get | ( | int | index | ) |
Returns the facet at the given index
| index | the index of the Facet to return |
References org.exolab.castor.util.List.get().
Referenced by org.exolab.castor.xml.schema.SimpleType.hasFacet(), org.exolab.castor.xml.schema.FacetListEnumerator.hasMoreElements(), org.exolab.castor.xml.schema.FacetListEnumerator.nextElement(), and org.exolab.castor.xml.schema.SimpleType.removeFacet().
| boolean org.exolab.castor.xml.schema.FacetList.remove | ( | Facet | facet | ) |
Removes the given Facet from this list
| facet | the Facet to remove |
References org.exolab.castor.util.List.remove().
Referenced by org.exolab.castor.xml.schema.SimpleType.removeFacet().
| Facet org.exolab.castor.xml.schema.FacetList.remove | ( | int | index | ) |
Removes the facet located at the given index
| index | the index of the Facet to remove |
References org.exolab.castor.util.List.remove().
| int org.exolab.castor.xml.schema.FacetList.size | ( | ) |
Returns the number of Facets in this list
References org.exolab.castor.util.List.size().
Referenced by org.exolab.castor.xml.schema.SimpleType.hasFacet(), org.exolab.castor.xml.schema.FacetListEnumerator.hasMoreElements(), org.exolab.castor.xml.schema.FacetListEnumerator.nextElement(), and org.exolab.castor.xml.schema.SimpleType.removeFacet().
1.7.0