public class GeneratorTemplatesFilter extends DefaultFilter
DefaultFilter.State| Modifier and Type | Field and Description |
|---|---|
protected GeneratorTemplatesFilterIn |
inFilter |
protected boolean |
passEmptyLine |
protected boolean |
writeParentheses |
protected String |
writeString |
cachedContent, NOT_FOUND, reader, stateEMPTY_STRING| Constructor and Description |
|---|
GeneratorTemplatesFilter() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getFooter()
la chaine du footer
|
protected String |
getHeader()
la chaine du header
|
GeneratorTemplatesFilterIn |
getInFilter() |
String |
getWriteString() |
boolean |
isPassEmptyLine() |
boolean |
isWriteParentheses() |
static void |
main(String[] args) |
protected String |
performInFilter(String ch)
methode appele lorsqu'on a la chaine entiere entre le header
et le footer.
|
protected String |
performOutFilter(String ch)
methode appele lorsqu'on a la chaine entiere a l'exterieur du
header/footer
|
void |
setInFilter(GeneratorTemplatesFilterIn inFilter) |
void |
setPassEmptyLine(boolean passEmptyLine) |
void |
setWriteParentheses(boolean writeParentheses) |
void |
setWriteString(String writeString) |
changeState, flush, getLineNumber, getMatchIndexFor, getMatchLengthFor, hasCachedData, parse, performHeaderFooterFilter, setReaderprotected boolean passEmptyLine
protected boolean writeParentheses
protected String writeString
protected GeneratorTemplatesFilterIn inFilter
public String getWriteString()
public void setWriteString(String writeString)
public boolean isPassEmptyLine()
public void setPassEmptyLine(boolean passEmptyLine)
public boolean isWriteParentheses()
public void setWriteParentheses(boolean writeParentheses)
public GeneratorTemplatesFilterIn getInFilter()
public void setInFilter(GeneratorTemplatesFilterIn inFilter)
protected String performInFilter(String ch)
performInFilter in class DefaultFilterch - la chaine trouveprotected String performOutFilter(String ch)
performOutFilter in class DefaultFilterch - la chaine trouveprotected String getHeader()
getHeader in class DefaultFilterprotected String getFooter()
getFooter in class DefaultFilterpublic static void main(String[] args)
Copyright © 2002-2012 CodeLutin. All Rights Reserved.