Package org.exolab.castor.xml.schema
Class FacetListEnumerator
java.lang.Object
org.exolab.castor.xml.schema.FacetListEnumerator
- All Implemented Interfaces:
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
ConstructorsConstructorDescriptionFacetListEnumerator
(FacetList facets) Creates a new FacetList for the given FacetListFacetListEnumerator
(FacetList facets, FacetListEnumerator inheritedFacets) Creates a new FacetList enumerator -
Method Summary
Modifier and TypeMethodDescriptionboolean
(package private) void
Sets the mask for this enumerator.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Enumeration
asIterator
-
Constructor Details
-
FacetListEnumerator
FacetListEnumerator(FacetList facets) Creates a new FacetList for the given FacetList -
FacetListEnumerator
FacetListEnumerator(FacetList facets, FacetListEnumerator inheritedFacets) Creates a new FacetList enumerator
-
-
Method Details
-
setMask
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 interfaceEnumeration
-
nextElement
- Specified by:
nextElement
in interfaceEnumeration
-