net.sourceforge.pmd.lang.xml
Class XmlHandler

java.lang.Object
  extended by net.sourceforge.pmd.lang.AbstractLanguageVersionHandler
      extended by net.sourceforge.pmd.lang.xml.XmlHandler
All Implemented Interfaces:
LanguageVersionHandler

public class XmlHandler
extends AbstractLanguageVersionHandler

Implementation of LanguageVersionHandler for the XML.


Constructor Summary
XmlHandler()
           
 
Method Summary
 ParserOptions getDefaultParserOptions()
          Get the default ParserOptions.
 VisitorStarter getDumpFacade(Writer writer, String prefix, boolean recurse)
          Get the DumpFacade.
 Parser getParser(ParserOptions parserOptions)
          Get the Parser.
 RuleViolationFactory getRuleViolationFactory()
          Get the RuleViolationFactory.
 XPathHandler getXPathHandler()
          Get the XPathHandler.
 
Methods inherited from class net.sourceforge.pmd.lang.AbstractLanguageVersionHandler
getDataFlowFacade, getDataFlowHandler, getDFAGraphRule, getSymbolFacade, getSymbolFacade, getTypeResolutionFacade
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlHandler

public XmlHandler()
Method Detail

getXPathHandler

public XPathHandler getXPathHandler()
Description copied from interface: LanguageVersionHandler
Get the XPathHandler.

Specified by:
getXPathHandler in interface LanguageVersionHandler
Overrides:
getXPathHandler in class AbstractLanguageVersionHandler

getRuleViolationFactory

public RuleViolationFactory getRuleViolationFactory()
Description copied from interface: LanguageVersionHandler
Get the RuleViolationFactory.


getDefaultParserOptions

public ParserOptions getDefaultParserOptions()
Description copied from interface: LanguageVersionHandler
Get the default ParserOptions.

Specified by:
getDefaultParserOptions in interface LanguageVersionHandler
Overrides:
getDefaultParserOptions in class AbstractLanguageVersionHandler
Returns:
ParserOptions

getParser

public Parser getParser(ParserOptions parserOptions)
Description copied from interface: LanguageVersionHandler
Get the Parser.

Returns:
Parser

getDumpFacade

public VisitorStarter getDumpFacade(Writer writer,
                                    String prefix,
                                    boolean recurse)
Description copied from interface: LanguageVersionHandler
Get the DumpFacade.

Specified by:
getDumpFacade in interface LanguageVersionHandler
Overrides:
getDumpFacade in class AbstractLanguageVersionHandler
Parameters:
writer - The writer to dump to.
Returns:
VisitorStarter


Copyright © 2002–2015 InfoEther. All rights reserved.