net.sf.saxon.type
Class FacetListIterator

java.lang.Object
  extended by net.sf.saxon.type.FacetListIterator
All Implemented Interfaces:
Iterator

public class FacetListIterator
extends Object
implements Iterator

A list for maintaining facets

Version:
$Revision: 1.1 $ $Date: 2004/03/09 10:10:35 $
Author:
Keith Visco

Constructor Summary
FacetListIterator(List facets, FacetListIterator inheritedFacets)
          Creates a new FacetList enumerator
 
Method Summary
 boolean hasNext()
           
 Object next()
           
 void remove()
           
 void setMask(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

FacetListIterator

FacetListIterator(List facets,
                  FacetListIterator inheritedFacets)
Creates a new FacetList enumerator

Method Detail

setMask

public 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

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator

next

public Object next()
Specified by:
next in interface Iterator

remove

public void remove()
Specified by:
remove in interface Iterator