org.nuiton.i18n.plugin.parser.impl
Class ParserJspMojo.JspFileProcessor

java.lang.Object
  extended by org.nuiton.processor.Processor
      extended by org.nuiton.i18n.plugin.parser.impl.ProcessorHelper.AbstractParserProcessor
          extended by org.nuiton.i18n.plugin.parser.impl.ParserJspMojo.JspFileProcessor
Enclosing class:
ParserJspMojo

public static class ParserJspMojo.JspFileProcessor
extends ProcessorHelper.AbstractParserProcessor

To transform jsp files to valid xml files.

Says :

Since:
2.0
Author:
tchemit

Nested Class Summary
static class ParserJspMojo.JspFileProcessor.JspAttributeWithTagFilter
          To remove in attributes any sub tags inside it (used for example in struts) from jsp files.
 
Field Summary
protected  org.nuiton.processor.ProcessorUtil.FragmentRemover remover1
           
protected  org.nuiton.processor.ProcessorUtil.FragmentRemover remover2
           
 
Fields inherited from class org.nuiton.i18n.plugin.parser.impl.ProcessorHelper.AbstractParserProcessor
verbose
 
Fields inherited from class org.nuiton.processor.Processor
inputFilter, outputFilter
 
Constructor Summary
ParserJspMojo.JspFileProcessor()
           
 
Method Summary
 void process(File filein, File fileout, String encoding)
           
 
Methods inherited from class org.nuiton.i18n.plugin.parser.impl.ProcessorHelper.AbstractParserProcessor
extractKeys, removefragments, saveKeysToFile, setVerbose
 
Methods inherited from class org.nuiton.processor.Processor
getReader, process, setInputFilter, setInputFilter, setOutputFilter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

remover1

protected org.nuiton.processor.ProcessorUtil.FragmentRemover remover1

remover2

protected org.nuiton.processor.ProcessorUtil.FragmentRemover remover2
Constructor Detail

ParserJspMojo.JspFileProcessor

public ParserJspMojo.JspFileProcessor()
Method Detail

process

public void process(File filein,
                    File fileout,
                    String encoding)
             throws IOException
Specified by:
process in class ProcessorHelper.AbstractParserProcessor
Parameters:
filein - the source file to process
fileout - the output file to generate
encoding - encoding used to read and write files
Throws:
IOException - if any io problems while processing
Since:
1.0.4


Copyright © 2007-2011 CodeLutin. All Rights Reserved.