org.exolab.castor.xml.schema
public class FacetList extends Object implements Serializable
Version: $Revision: 1.3 $ $Date: 2004/10/01 13:25:21 $
Constructor Summary | |
---|---|
FacetList()
Creates a new FacetList
|
Method Summary | |
---|---|
void | add(Facet facet)
Adds the given Facet to this list |
void | add(FacetList facetList)
Adds the facets from the given list into this FacetList
|
Facet | contains(String name)
Returns the facet of the list with with the given name.
|
Enumeration | enumerate()
Returns an Enumeration of the Facets in this list |
Facet | get(int index)
Returns the facet at the given index |
boolean | remove(Facet facet)
Removes the given Facet from this list |
Facet | remove(int index)
Removes the facet located at the given index
|
int | size()
Returns the number of Facets in this list |
Parameters: facet the facet to add
Parameters: facetList the FacetList to copy from
Parameters: name the facet name to look for.
Returns: The facet of the list with the given name
Returns: an Enumeration of the Facets in this list
Parameters: index the index of the Facet to return
Parameters: facet the Facet to remove
Parameters: index the index of the Facet to remove
Returns: the removed facet
Returns: the number of Facets in this list