org.exolab.castor.xml.schema
Class FacetListEnumerator

java.lang.Object
  extended by 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: 1.1.1.1 $ $Date: 2003/03/03 07:09:31 $
Author:
Keith Visco

Constructor Summary
FacetListEnumerator(FacetList facets)
          Creates a new FacetList for the given FacetList
FacetListEnumerator(FacetList facets, FacetListEnumerator inheritedFacets)
          Creates a new FacetList enumerator
 
Method Summary
 boolean hasMoreElements()
           
 java.lang.Object nextElement()
           
(package private)  void setMask(java.lang.String name)
          Sets the mask for this enumerator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 interface java.util.Enumeration

nextElement

public java.lang.Object nextElement()
Specified by:
nextElement in interface java.util.Enumeration


Intalio Inc. (C) 1999-2004. All rights reserved http://www.intalio.com