org.exolab.castor.xml.schema
public class FacetList extends Object implements Serializable
Version: $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:09:31 $
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 |
void | remove(Facet facet)
Removes the given Facet from this list |
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
Returns: the number of Facets in this list