Interface NodeVisitor

All Known Implementing Classes:
XmlRowWriter.XmlWritingNodeVisitor

public interface NodeVisitor
Visits the nodes of a Document.
Author:
Ralf Wisser
  • Method Details

    • visitElementStart

      void visitElementStart(String elementName, boolean isRoot, String[] attributeNames, String[] attributeValues)
      Visits start of an element.
      Parameters:
      elementName - the element name
      isRoot - true if element is root
    • visitElementEnd

      void visitElementEnd(String elementName, boolean isRoot)
      Visits end of an element.
      Parameters:
      elementName - the element name
      isRoot - true if element is root
    • visitText

      void visitText(String text)
      Visits text node. Pure whitespace text nodes will not be visited.
      Parameters:
      text - the text
    • visitAssociationElement

      void visitAssociationElement(String associationName, String name)
      Visits association element (namespace http://jailer.sf.net/association).
      Parameters:
      associationName - the association name
      name - element/field name
    • visitComment

      void visitComment(String comment)
      Visits comment.
      Parameters:
      comment - the comment