Class ReaderWrapper

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void appendErrors​(ErrorWriter errorWriter)
      If any errors are detected, allow the reader to add any additional information that can aid debugging (such as line numbers, XPath expressions, etc).
      void close()
      Close the reader, if necessary.
      java.lang.String getAttribute​(int index)
      Get the value of an attribute of the current node, by index.
      java.lang.String getAttribute​(java.lang.String name)
      Get the value of an attribute of the current node.
      int getAttributeCount()
      Number of attributes in current node.
      java.lang.String getAttributeName​(int index)
      Name of attribute in current node.
      java.util.Iterator getAttributeNames()
      Iterator with the names of the attributes.
      java.lang.String getNodeName()
      Get the name of the current node.
      java.lang.String getValue()
      Get the value (text content) of the current node.
      boolean hasMoreChildren()
      Does the node have any more children remaining that have not yet been read?
      void moveDown()
      Select the current child as current node.
      void moveUp()
      Select the parent node as current node.
      java.lang.String peekNextChild()
      Peek the name of the next child.
      HierarchicalStreamReader underlyingReader()
      Return the underlying HierarchicalStreamReader implementation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait