@Mojo(name="parserJsp",
defaultPhase=GENERATE_RESOURCES)
public class ParserJspMojo
extends AbstractParserXmlMojo
process-resources
phase, otherwise all files will be considered as uptodate.| Modifier and Type | Class and Description |
|---|---|
static class |
ParserJspMojo.JspFileProcessor
Deprecated.
To transform jsp files to valid xml files.
|
AbstractParserXmlMojo.XmlFileParser| Modifier and Type | Field and Description |
|---|---|
protected String |
coreRuleFile
Deprecated.
Defines the core rules file used to detect i18n keys in jsp files.
|
static String |
DEFAULT_INCLUDES
Deprecated.
|
protected File |
defaultBasedir
Deprecated.
Root directory of the default entry.
|
protected String |
defaultIncludes
Deprecated.
Default included files to process (ant-like expression).
|
protected String |
outputGetter
Deprecated.
Defines the file name of the getter where to put detected i18n keys
while getter phase.
|
protected File |
workdir
Deprecated.
Where to generated temporary processed files.
|
BUFFER_SIZE, documentBuilderFactory, factory, namespaces, rules, userRulesFilesacceptKeyFormat, acceptPattern, backupGetter, cp, entries, force, oldLanguage, oldParser, showTouchedFiles, t0, treateDefaultEntryartifactId, bundles, encoding, genSrc, locales, out, project, silent, src, strictMode, verbose| Constructor and Description |
|---|
ParserJspMojo()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
getCoreRuleFile()
Deprecated.
|
File |
getDefaultBasedir()
Deprecated.
|
String[] |
getDefaultExcludes()
Deprecated.
|
String[] |
getDefaultIncludes()
Deprecated.
|
protected String |
getOutGetter()
Deprecated.
|
org.nuiton.io.FileUpdater |
newFileUpdater(SourceEntry entry)
Deprecated.
|
protected AbstractParserXmlMojo.XmlFileParser |
newXmlFileParser(XPath xpath,
DocumentBuilder builder)
Deprecated.
|
protected boolean |
onEnterEntry(I18nSourceEntry entry)
Deprecated.
|
getRulefiles, getUserRuleFiles, init, loadRules, loadRulesFile, newFileParseraddDefaultEntry, doAction, getLogEntry, getResult, isForce, isShowTouchedFiles, isStrictMode, saveGetterFileaddGetter, backupFile, checkBundle, checkPackaging, getArtifactId, getBackupFile, getEncoding, getGetterFile, getI18nFile, getProject, isSilent, isVerbose, needGeneration, setEncoding, setProject, setVerboseacceptPackaging, addCompileSourceRoots, addDirectoryToUrlsList, addResourceDir, addTestCompileSourceRoots, addTestResourceDir, addUrlToUrlsList, afterExecute, checkEncoding, checkResource, checkRunOnceDone, checkSkip, copyFile, createDirectoryIfNecessary, createNewFile, deleteFile, execute, getFileFromBasedir, getFilesToTreate, getFilesToTreateForRoots, getRootProject, getTemplate, hasClassPath, initClassLoader, isExecutionRoot, isFileNewerThanPomFile, rejectPackaging, removeCompileSourceRoots, removeTestCompileSourceRoots, renameFile, writeFilegetLog, getPluginContext, setLog, setPluginContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLog, isSilent, isVerbosepublic static final String DEFAULT_INCLUDES
@Parameter(property="i18n.defaultBasedir",
defaultValue="${basedir}/src/main/webapp",
required=true)
protected File defaultBasedir
@Parameter(property="i18n.defaultIncludes",
defaultValue="**/*.jsp",
required=true)
protected String defaultIncludes
@Parameter(property="i18n.coreRuleFile") protected String coreRuleFile
AbstractParserXmlMojo.userRulesFiles parameter.@Parameter(property="i18n.outputGetter",
defaultValue="jsp.getter",
required=true)
protected String outputGetter
@Parameter(property="i18n.workdir",
defaultValue="${basedir}/target/i18n-workdir",
required=true)
protected File workdir
public String[] getDefaultIncludes()
getDefaultIncludes in class AbstractI18nParserMojopublic String[] getDefaultExcludes()
getDefaultExcludes in class AbstractI18nParserMojopublic File getDefaultBasedir()
getDefaultBasedir in class AbstractI18nParserMojoprotected boolean onEnterEntry(I18nSourceEntry entry)
onEnterEntry in class AbstractI18nParserMojopublic org.nuiton.io.FileUpdater newFileUpdater(SourceEntry entry)
newFileUpdater in class AbstractI18nParserMojoentry - the incoming source entry to attach to the file updaterprotected String getOutGetter()
getOutGetter in class AbstractI18nParserMojoprotected String getCoreRuleFile()
getCoreRuleFile in class AbstractParserXmlMojoprotected AbstractParserXmlMojo.XmlFileParser newXmlFileParser(XPath xpath, DocumentBuilder builder)
newXmlFileParser in class AbstractParserXmlMojoCopyright © 2007–2013 CodeLutin. All rights reserved.