| |
|
| java.lang.Object org.exolab.castor.xml.schema.FacetList
FacetList | public class FacetList implements java.io.Serializable(Code) | | A list for maintaining facets
author: Keith Visco version: $Revision: 6554 $ $Date: 2006-04-14 04:14:43 -0600 (Fri, 14 Apr 2006) $ |
Method Summary | |
public void | add(Facet facet) | public void | add(FacetList facetList) | public Facet | 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.
Parameters: name - the facet name to look for. | public Enumeration | enumerate() | public Facet | get(int index) | public boolean | remove(Facet facet) | public Facet | remove(int index) | public int | size() |
FacetList | public FacetList()(Code) | | Creates a new FacetList
|
add | public void add(Facet facet)(Code) | | Adds the given Facet to this list
Parameters: facet - the facet to add |
add | public void add(FacetList facetList)(Code) | | Adds the facets from the given list into this FacetList
Parameters: facetList - the FacetList to copy from |
contains | public Facet contains(String name)(Code) | | 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.
Parameters: name - the facet name to look for. The facet of the list with the given name |
enumerate | public Enumeration enumerate()(Code) | | Returns an Enumeration of the Facets in this list
an Enumeration of the Facets in this list |
get | public Facet get(int index)(Code) | | Returns the facet at the given index
Parameters: index - the index of the Facet to return |
remove | public boolean remove(Facet facet)(Code) | | Removes the given Facet from this list
Parameters: facet - the Facet to remove |
remove | public Facet remove(int index)(Code) | | Removes the facet located at the given index
Parameters: index - the index of the Facet to remove the removed facet |
size | public int size()(Code) | | Returns the number of Facets in this list
the number of Facets in this list |
|
|
|