org.nuiton.i18n.plugin.parser.impl
Class ParserSwixat

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.nuiton.i18n.plugin.AbstractI18nPlugin
          extended by org.nuiton.i18n.plugin.parser.AbstractI18nParser
              extended by org.nuiton.i18n.plugin.parser.impl.ParserXml
                  extended by org.nuiton.i18n.plugin.parser.impl.ParserSwixat
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, Parser

Deprecated. since 1.0.0 : swixat is dead...

@Deprecated
public class ParserSwixat
extends ParserXml

Recuperation des chaines à traduire depuis les fichiers xml Swixat.

Author:
julien

Field Summary
protected  java.lang.String defaultExcludes
          Deprecated. Source entries (src+excludes) .
protected  java.lang.String defaultIncludes
          Deprecated. Source entries (src+includes) .
protected  java.lang.String rulesSwixat
          Deprecated. Regles xml.
 
Fields inherited from class org.nuiton.i18n.plugin.parser.impl.ParserXml
BUFFER_SIZE, builder, defaultBasedir, factory, rules, xpath
 
Fields inherited from class org.nuiton.i18n.plugin.parser.AbstractI18nParser
entries, fileTreated, oldLanguage, oldParser, result, safeMode, showTouchedFiles, t0, touchFile, treadedFiles, treateDefaultEntry
 
Fields inherited from class org.nuiton.i18n.plugin.AbstractI18nPlugin
artifactId, bundles, DIRECTORY_INSTALL, encoding, events, genSrc, keepBackup, keysModifier, locales, out, silent, src, strictMode, verbose, verboseLog
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ParserSwixat()
          Deprecated.  
 
Method Summary
 java.lang.String extract(java.lang.String i18nString)
          Deprecated. Fonction d'extraction de la chaine
protected  java.lang.String getCoreFileRules()
          Deprecated.  
 java.lang.String[] getDefaultExcludes()
          Deprecated.  
 java.lang.String[] getDefaultIncludes()
          Deprecated.  
protected  java.lang.String getFileRules()
          Deprecated.  
protected  java.lang.String getKeyModifierEnd()
          Deprecated.  
protected  java.lang.String getKeyModifierStart()
          Deprecated.  
protected  java.lang.String getOutGetter()
          Deprecated.  
 FileUpdater newFileUpdater(SourceEntry entry)
          Deprecated.  
 
Methods inherited from class org.nuiton.i18n.plugin.parser.impl.ParserXml
getDefaultBasedir, getEntityResolver, getSystemId, init, parseFile, parseLine
 
Methods inherited from class org.nuiton.i18n.plugin.parser.AbstractI18nParser
addDefaultEntry, execute, isStrictMode, parse, parseEntry, saveGetterFile
 
Methods inherited from class org.nuiton.i18n.plugin.AbstractI18nPlugin
addGetter, addParserEvent, backupFile, checkBundle, copyFile, getArtifactId, getGetterFile, getGetterFileBackup, getI18nFile, getI18nFileBackup, getVerboseLog, needGeneration, removeParserEvent
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultIncludes

protected java.lang.String defaultIncludes
Deprecated. 
Source entries (src+includes) .


defaultExcludes

protected java.lang.String defaultExcludes
Deprecated. 
Source entries (src+excludes) .


rulesSwixat

protected java.lang.String rulesSwixat
Deprecated. 
Regles xml.

Constructor Detail

ParserSwixat

public ParserSwixat()
Deprecated. 
Method Detail

getDefaultIncludes

public java.lang.String[] getDefaultIncludes()
Deprecated. 
Specified by:
getDefaultIncludes in class AbstractI18nParser
Returns:
the default includes to add to directory scanner

getDefaultExcludes

public java.lang.String[] getDefaultExcludes()
Deprecated. 
Specified by:
getDefaultExcludes in class AbstractI18nParser
Returns:
the default excludes to add to directory scanner

newFileUpdater

public FileUpdater newFileUpdater(SourceEntry entry)
Deprecated. 
Specified by:
newFileUpdater in class AbstractI18nParser

getKeyModifierStart

protected java.lang.String getKeyModifierStart()
Deprecated. 
Specified by:
getKeyModifierStart in class AbstractI18nParser
Returns:
the starting regex expression to catch keys in key modifier

getKeyModifierEnd

protected java.lang.String getKeyModifierEnd()
Deprecated. 
Specified by:
getKeyModifierEnd in class AbstractI18nParser
Returns:
the ending regex expression to catch keys in key modifier

getOutGetter

protected java.lang.String getOutGetter()
Deprecated. 
Specified by:
getOutGetter in class AbstractI18nParser
Returns:
the outGetter to use for the instance (java.getter,...)

getFileRules

protected java.lang.String getFileRules()
Deprecated. 
Specified by:
getFileRules in class ParserXml
Returns:
le fichier des rules

getCoreFileRules

protected java.lang.String getCoreFileRules()
Deprecated. 
Specified by:
getCoreFileRules in class ParserXml
Returns:
le fichier des rules de base à toujours charger

extract

public java.lang.String extract(java.lang.String i18nString)
Deprecated. 
Description copied from class: ParserXml
Fonction d'extraction de la chaine

Specified by:
extract in class ParserXml
Parameters:
i18nString - le clef i18n
Returns:
la chaine


Copyright © 2007-2009 CodeLutin. All Rights Reserved.