net.sourceforge.pmd.lang
Class AbstractLanguageVersionHandler

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

public abstract class AbstractLanguageVersionHandler
extends Object
implements LanguageVersionHandler

This is a generic implementation of the LanguageVersionHandler interface.

See Also:
LanguageVersionHandler

Constructor Summary
AbstractLanguageVersionHandler()
           
 
Method Summary
 VisitorStarter getDataFlowFacade()
          Get the DataFlowFacade.
 DataFlowHandler getDataFlowHandler()
          Get the DataFlowHandler.
 ParserOptions getDefaultParserOptions()
          Get the default ParserOptions.
 DFAGraphRule getDFAGraphRule()
           
 VisitorStarter getDumpFacade(Writer writer, String prefix, boolean recurse)
          Get the DumpFacade.
 VisitorStarter getSymbolFacade()
          Get the SymbolFacade.
 VisitorStarter getSymbolFacade(ClassLoader classLoader)
          Get the SymbolFacade.
 VisitorStarter getTypeResolutionFacade(ClassLoader classLoader)
          Get the TypeResolutionFacade.
 XPathHandler getXPathHandler()
          Get the XPathHandler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sourceforge.pmd.lang.LanguageVersionHandler
getParser, getRuleViolationFactory
 

Constructor Detail

AbstractLanguageVersionHandler

public AbstractLanguageVersionHandler()
Method Detail

getDataFlowHandler

public DataFlowHandler getDataFlowHandler()
Description copied from interface: LanguageVersionHandler
Get the DataFlowHandler.

Specified by:
getDataFlowHandler in interface LanguageVersionHandler

getXPathHandler

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

Specified by:
getXPathHandler in interface LanguageVersionHandler

getDefaultParserOptions

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

Specified by:
getDefaultParserOptions in interface LanguageVersionHandler
Returns:
ParserOptions

getDataFlowFacade

public VisitorStarter getDataFlowFacade()
Description copied from interface: LanguageVersionHandler
Get the DataFlowFacade.

Specified by:
getDataFlowFacade in interface LanguageVersionHandler
Returns:
VisitorStarter

getSymbolFacade

public VisitorStarter getSymbolFacade()
Description copied from interface: LanguageVersionHandler
Get the SymbolFacade.

Specified by:
getSymbolFacade in interface LanguageVersionHandler
Returns:
VisitorStarter

getSymbolFacade

public VisitorStarter getSymbolFacade(ClassLoader classLoader)
Description copied from interface: LanguageVersionHandler
Get the SymbolFacade.

Specified by:
getSymbolFacade in interface LanguageVersionHandler
Parameters:
classLoader - A ClassLoader to use for resolving Types.
Returns:
VisitorStarter

getTypeResolutionFacade

public VisitorStarter getTypeResolutionFacade(ClassLoader classLoader)
Description copied from interface: LanguageVersionHandler
Get the TypeResolutionFacade.

Specified by:
getTypeResolutionFacade in interface LanguageVersionHandler
Parameters:
classLoader - A ClassLoader to use for resolving Types.
Returns:
VisitorStarter

getDumpFacade

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

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

getDFAGraphRule

public DFAGraphRule getDFAGraphRule()
Specified by:
getDFAGraphRule in interface LanguageVersionHandler


Copyright © 2002-2015 InfoEther. All Rights Reserved.