net.sf.saxon.type
Class FacetListIterator

java.lang.Object
  extended bynet.sf.saxon.type.FacetListIterator
All Implemented Interfaces:
java.util.Iterator

public class FacetListIterator
extends java.lang.Object
implements java.util.Iterator

A list for maintaining facets

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

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

FacetListIterator

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

Method Detail

setMask

public 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

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator

next

public java.lang.Object next()
Specified by:
next in interface java.util.Iterator

remove

public void remove()
Specified by:
remove in interface java.util.Iterator