View Javadoc

    1   /**
    2    * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
    3    */
    4   package net.sourceforge.pmd.lang;
    5
    6   import java.io.Writer;
    7
    8   /**
    9    * This is a generic implementation of the LanguageVersionHandler interface.
    10   *
    11   * @see LanguageVersionHandler
    12   */
    13  public abstract class AbstractLanguageVersionHandler implements LanguageVersionHandler {
    14
    15      public DataFlowHandler getDataFlowHandler() {
    16  	return DataFlowHandler.DUMMY;
    17      }
    18
    19      public XPathHandler getXPathHandler() {
    20  	return XPathHandler.DUMMY;
    21      }
    22
    23      public ParserOptions getDefaultParserOptions() {
    24  	return new ParserOptions();
    25      }
    26
    27      public VisitorStarter getDataFlowFacade() {
    28  	return VisitorStarter.DUMMY;
    29      }
    30
    31      public VisitorStarter getSymbolFacade() {
    32  	return VisitorStarter.DUMMY;
    33      }
    34
    35      public VisitorStarter getTypeResolutionFacade(ClassLoader classLoader) {
    36  	return VisitorStarter.DUMMY;
    37      }
    38
    39      public VisitorStarter getDumpFacade(final Writer writer, final String prefix, final boolean recurse) {
    40  	return VisitorStarter.DUMMY;
    41      }
    42  }