Class XmlParser


  • public class XmlParser
    extends java.lang.Object
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  XmlParser.RootXmlNode
      The root should implement RootNode.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      XmlNode parse​(java.io.Reader reader)  
      protected org.w3c.dom.Document parseDocument​(java.io.Reader reader)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • nodeCache

        protected java.util.Map<org.w3c.dom.Node,​XmlNode> nodeCache
    • Method Detail

      • parseDocument

        protected org.w3c.dom.Document parseDocument​(java.io.Reader reader)
                                              throws net.sourceforge.pmd.lang.ast.ParseException
        Throws:
        net.sourceforge.pmd.lang.ast.ParseException
      • parse

        public XmlNode parse​(java.io.Reader reader)