org.jbind.xml.dom3.core
Class ElementCollector

java.lang.Object
  extended byorg.jbind.xml.dom3.core.DomVisitor
      extended byorg.jbind.xml.dom3.core.ElementCollector
All Implemented Interfaces:
IDomVisitor

public class ElementCollector
extends DomVisitor


Constructor Summary
ElementCollector(IDomDocument aDomDocument, java.lang.String aTagName)
           
ElementCollector(IDomDocument aDomDocument, java.lang.String aNamespaceUri, java.lang.String aLocalName)
           
 
Method Summary
 IDomNodeList getElements()
           
 void visitElementStart(IDomElement anElement)
           
 
Methods inherited from class org.jbind.xml.dom3.core.DomVisitor
visitAttrEnd, visitAttrStart, visitCDataSectionEnd, visitCDataSectionStart, visitCommentEnd, visitCommentStart, visitDocumentEnd, visitDocumentFragmentEnd, visitDocumentFragmentStart, visitDocumentStart, visitDocumentTypeEnd, visitDocumentTypeStart, visitElementEnd, visitEntityEnd, visitEntityReferenceEnd, visitEntityReferenceStart, visitEntityStart, visitNotationEnd, visitNotationStart, visitProcessingInstructionEnd, visitProcessingInstructionStart, visitTextEnd, visitTextStart
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElementCollector

public ElementCollector(IDomDocument aDomDocument,
                        java.lang.String aNamespaceUri,
                        java.lang.String aLocalName)

ElementCollector

public ElementCollector(IDomDocument aDomDocument,
                        java.lang.String aTagName)
Method Detail

visitElementStart

public void visitElementStart(IDomElement anElement)
Specified by:
visitElementStart in interface IDomVisitor
Overrides:
visitElementStart in class DomVisitor

getElements

public IDomNodeList getElements()