|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exolab.castor.xml.schema.FacetList
public class 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(String name)
Returns the facet of the list with with the given name. |
Enumeration<Facet> |
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 |
| 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 boolean remove(Facet facet)
facet - the Facet to removepublic Facet remove(int index)
index - the index of the Facet to remove
public int size()
public Enumeration<Facet> enumerate()
public Facet contains(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 | |||||||||