Class AbstractParserXmlMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.nuiton.plugin.AbstractPlugin
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, I18nParserConfiguration, org.nuiton.plugin.Plugin, org.nuiton.plugin.PluginWithEncoding
Direct Known Subclasses:
ParserValidationMojo, ParserXmlUserMojo

public abstract class AbstractParserXmlMojo extends AbstractI18nParserMojo
Abstract xml parser mojo.
Since:
2.0
Author:
Tony Chemit - chemit@codelutin.com, Julien Ruchaud - ruchaud@codelutin.com
  • Field Details

    • BUFFER_SIZE

      protected static final int BUFFER_SIZE
      Taille du buffer pour les lectures/écritures
      See Also:
    • rules

      protected String rules
      available rules to detect i18n keys in xml files.
    • factory

      protected XPathFactory factory
      XPath factory used to detect i18n keys in xml files.
    • documentBuilderFactory

      protected DocumentBuilderFactory documentBuilderFactory
      Document builder factory to load xml files.
    • userRulesFiles

      @Parameter protected String[] userRulesFiles
      Extra rules files to use for detecting i18n keys in xml validation files. Note : If the coreRulesFile is not defined, then you must fill this parameter.
      Since:
      2.0
    • namespaces

      @Parameter protected Map<String,String> namespaces
      Defines namespaces mapping if needed. Example :
       <namespaces>
       <s>http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd</s>
       </namespaces>
       
      Since:
      2.0
  • Constructor Details

    • AbstractParserXmlMojo

      public AbstractParserXmlMojo()
  • Method Details