|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exolab.castor.xml.schema.FacetList
A list for maintaining facets
| 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(java.lang.String name)
Returns the facet of the list with with the given name. |
java.util.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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FacetList()
| Method Detail |
public void add(Facet facet)
facet - the facet to addpublic void add(FacetList facetList)
facetList - the FacetList to copy frompublic Facet get(int index)
index - the index of the Facet to returnpublic void remove(Facet facet)
facet - the Facet to removepublic int size()
public java.util.Enumeration enumerate()
public Facet contains(java.lang.String name)
name - the facet name to look for.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||