Package org.exolab.castor.xml.schema
Class FacetListEnumerator
- java.lang.Object
-
- org.exolab.castor.xml.schema.FacetListEnumerator
-
- All Implemented Interfaces:
java.util.Enumeration
class FacetListEnumerator extends java.lang.Object implements java.util.Enumeration
A list for maintaining facets- Version:
- $Revision: 5951 $ $Date: 2006-04-25 15:08:23 -0600 (Tue, 25 Apr 2006) $
- Author:
- Keith Visco
-
-
Constructor Summary
Constructors Constructor Description FacetListEnumerator(FacetList facets)
Creates a new FacetList for the given FacetListFacetListEnumerator(FacetList facets, FacetListEnumerator inheritedFacets)
Creates a new FacetList enumerator
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasMoreElements()
java.lang.Object
nextElement()
(package private) void
setMask(java.lang.String name)
Sets the mask for this enumerator.
-
-
-
Constructor Detail
-
FacetListEnumerator
FacetListEnumerator(FacetList facets)
Creates a new FacetList for the given FacetList
-
FacetListEnumerator
FacetListEnumerator(FacetList facets, FacetListEnumerator inheritedFacets)
Creates a new FacetList enumerator
-
-
Method Detail
-
setMask
void setMask(java.lang.String name)
Sets the mask for this enumerator. The mask is the name of the facets to enumerate.- Parameters:
name
- the name of the facets to enumerate
-
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements
in interfacejava.util.Enumeration
-
nextElement
public java.lang.Object nextElement()
- Specified by:
nextElement
in interfacejava.util.Enumeration
-
-