|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.ProjectComponent org.apache.tools.ant.types.DataType org.apache.tools.ant.types.FilterChain
public class FilterChain
FilterChain may contain a chained set of filter readers.
Field Summary |
---|
Fields inherited from class org.apache.tools.ant.types.DataType |
---|
checked, ref |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
description, location, project |
Constructor Summary | |
---|---|
FilterChain()
|
Method Summary | |
---|---|
void |
add(ChainableReader filter)
Add a chainfilter filter. |
void |
addClassConstants(ClassConstants classConstants)
Add a ClassConstants filter. |
void |
addContainsRegex(TokenFilter.ContainsRegex filter)
Add a containsregex filter. |
void |
addDeleteCharacters(TokenFilter.DeleteCharacters filter)
Add a delete characters filter. |
void |
addEscapeUnicode(EscapeUnicode escapeUnicode)
Add an EscapeUnicode filter. |
void |
addExpandProperties(ExpandProperties expandProperties)
Add an ExpandProperties filter. |
void |
addFilterReader(AntFilterReader filterReader)
Add an AntFilterReader filter. |
void |
addHeadFilter(HeadFilter headFilter)
Add a HeadFilter filter. |
void |
addIgnoreBlank(TokenFilter.IgnoreBlank filter)
Add an ignoreBlank filter. |
void |
addLineContains(LineContains lineContains)
Add a LineContains filter. |
void |
addLineContainsRegExp(LineContainsRegExp lineContainsRegExp)
Add a LineContainsRegExp filter. |
void |
addPrefixLines(PrefixLines prefixLines)
Add a PrefixLines filter. |
void |
addReplaceRegex(TokenFilter.ReplaceRegex filter)
Add a replaceregex filter. |
void |
addReplaceString(TokenFilter.ReplaceString filter)
Add a replacestring filter. |
void |
addReplaceTokens(ReplaceTokens replaceTokens)
Add a ReplaceTokens filter. |
void |
addStripJavaComments(StripJavaComments stripJavaComments)
Add a StripJavaCommands filter. |
void |
addStripLineBreaks(StripLineBreaks stripLineBreaks)
Add a StripLineBreaks filter. |
void |
addStripLineComments(StripLineComments stripLineComments)
Add a StripLineComments filter. |
void |
addTabsToSpaces(TabsToSpaces tabsToSpaces)
Add a TabsToSpaces filter. |
void |
addTailFilter(TailFilter tailFilter)
Add a TailFilter filter. |
void |
addTokenFilter(TokenFilter tokenFilter)
Add a TokenFilter filter. |
void |
addTrim(TokenFilter.Trim filter)
Add a trim filter. |
java.util.Vector |
getFilterReaders()
Return the filters. |
void |
setRefid(Reference r)
Makes this instance in effect a reference to another FilterChain instance. |
Methods inherited from class org.apache.tools.ant.types.DataType |
---|
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, setChecked, tooManyAttributes, toString |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
---|
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FilterChain()
Method Detail |
---|
public void addFilterReader(AntFilterReader filterReader)
filterReader
- an AntFilterReader
valuepublic java.util.Vector getFilterReaders()
Vector
value containing the filterspublic void addClassConstants(ClassConstants classConstants)
classConstants
- a ClassConstants
valuepublic void addExpandProperties(ExpandProperties expandProperties)
expandProperties
- an ExpandProperties
valuepublic void addHeadFilter(HeadFilter headFilter)
headFilter
- a HeadFilter
valuepublic void addLineContains(LineContains lineContains)
lineContains
- a LineContains
valuepublic void addLineContainsRegExp(LineContainsRegExp lineContainsRegExp)
lineContainsRegExp
- a LineContainsRegExp
valuepublic void addPrefixLines(PrefixLines prefixLines)
prefixLines
- a PrefixLines
valuepublic void addReplaceTokens(ReplaceTokens replaceTokens)
replaceTokens
- a ReplaceTokens
valuepublic void addStripJavaComments(StripJavaComments stripJavaComments)
stripJavaComments
- a StripJavaComments
valuepublic void addStripLineBreaks(StripLineBreaks stripLineBreaks)
stripLineBreaks
- a StripLineBreaks
valuepublic void addStripLineComments(StripLineComments stripLineComments)
stripLineComments
- a StripLineComments
valuepublic void addTabsToSpaces(TabsToSpaces tabsToSpaces)
tabsToSpaces
- a TabsToSpaces
valuepublic void addTailFilter(TailFilter tailFilter)
tailFilter
- a TailFilter
valuepublic void addEscapeUnicode(EscapeUnicode escapeUnicode)
escapeUnicode
- an EscapeUnicode
valuepublic void addTokenFilter(TokenFilter tokenFilter)
tokenFilter
- a TokenFilter
valuepublic void addDeleteCharacters(TokenFilter.DeleteCharacters filter)
filter
- a TokenFilter.DeleteCharacters
valuepublic void addContainsRegex(TokenFilter.ContainsRegex filter)
filter
- a TokenFilter.ContainsRegex
valuepublic void addReplaceRegex(TokenFilter.ReplaceRegex filter)
filter
- a TokenFilter.ReplaceRegex
valuepublic void addTrim(TokenFilter.Trim filter)
filter
- a TokenFilter.Trim
valuepublic void addReplaceString(TokenFilter.ReplaceString filter)
filter
- a TokenFilter.ReplaceString
valuepublic void addIgnoreBlank(TokenFilter.IgnoreBlank filter)
filter
- a TokenFilter.IgnoreBlank
valuepublic void setRefid(Reference r) throws BuildException
You must not set another attribute or nest elements inside this element if you make it a reference.
setRefid
in class DataType
r
- the reference to which this instance is associated
BuildException
- if this instance already has been configured.public void add(ChainableReader filter)
filter
- a ChainableReader
value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |