jd.xml.util
Class DescendantsEnum

java.lang.Object
  extended byjd.xml.util.DescendantsEnum

public class DescendantsEnum
extends Object

DescendantsEnum is an Enumeration for the descendant nodes of a start node. Nodes with type DOCUMENT_TYPE will not be returned.


Constructor Summary
DescendantsEnum(Node startNode)
           
 
Method Summary
 Node next()
           
 Node next(int type)
           
 Node nextComment()
           
 Node nextElement()
           
 Node nextPi()
           
 Node nextText()
           
 void start(Node startNode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DescendantsEnum

public DescendantsEnum(Node startNode)
Method Detail

start

public void start(Node startNode)

next

public Node next()

next

public Node next(int type)
          throws IllegalStateException
Throws:
IllegalStateException

nextElement

public Node nextElement()
                 throws IllegalStateException
Throws:
IllegalStateException

nextPi

public Node nextPi()
            throws IllegalStateException
Throws:
IllegalStateException

nextComment

public Node nextComment()
                 throws IllegalStateException
Throws:
IllegalStateException

nextText

public Node nextText()
              throws IllegalStateException
Throws:
IllegalStateException