Class FacetListEnumerator

java.lang.Object
org.exolab.castor.xml.schema.FacetListEnumerator
All Implemented Interfaces:
Enumeration

class FacetListEnumerator extends Object implements 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 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

      void setMask(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 interface Enumeration
    • nextElement

      public Object nextElement()
      Specified by:
      nextElement in interface Enumeration