Package net.sourceforge.pmd.lang.xml.ast
Class XmlParser
- java.lang.Object
-
- net.sourceforge.pmd.lang.xml.ast.XmlParser
-
public class XmlParser extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
XmlParser.RootXmlNode
The root should implementRootNode
.
-
Field Summary
Fields Modifier and Type Field Description protected Map<Node,XmlNode>
nodeCache
protected XmlParserOptions
parserOptions
-
Constructor Summary
Constructors Constructor Description XmlParser(XmlParserOptions parserOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XmlNode
parse(Reader reader)
protected Document
parseDocument(Reader reader)
-
-
-
Field Detail
-
parserOptions
protected final XmlParserOptions parserOptions
-
-
Constructor Detail
-
XmlParser
public XmlParser(XmlParserOptions parserOptions)
-
-
Method Detail
-
parseDocument
protected Document parseDocument(Reader reader) throws ParseException
- Throws:
ParseException
-
-