Package net.sourceforge.pmd.lang.xml
Class XmlParser
- java.lang.Object
-
- net.sourceforge.pmd.lang.AbstractParser
-
- net.sourceforge.pmd.lang.xml.XmlParser
-
- All Implemented Interfaces:
net.sourceforge.pmd.lang.Parser
public class XmlParser extends net.sourceforge.pmd.lang.AbstractParser
Adapter for the XmlParser.
-
-
Constructor Summary
Constructors Constructor Description XmlParser(net.sourceforge.pmd.lang.ParserOptions parserOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canParse()
net.sourceforge.pmd.lang.TokenManager
createTokenManager(Reader source)
Map<Integer,String>
getSuppressMap()
net.sourceforge.pmd.lang.ast.Node
parse(String fileName, Reader source)
-
-
-
Method Detail
-
createTokenManager
public net.sourceforge.pmd.lang.TokenManager createTokenManager(Reader source)
- Specified by:
createTokenManager
in classnet.sourceforge.pmd.lang.AbstractParser
-
canParse
public boolean canParse()
-
parse
public net.sourceforge.pmd.lang.ast.Node parse(String fileName, Reader source) throws net.sourceforge.pmd.lang.ast.ParseException
- Throws:
net.sourceforge.pmd.lang.ast.ParseException
-
-