Package org.htmlcleaner
Class HtmlCleanerForAnt
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.htmlcleaner.HtmlCleanerForAnt
- All Implemented Interfaces:
Cloneable
public class HtmlCleanerForAnt
extends org.apache.tools.ant.Task
Support for ANT.
-
Field Summary
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapperFields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidexecute()Implementation of Ant task execution.booleanvoidsetAdvancedxmlescape(boolean advancedxmlescape) voidsetAllowhtmlinsideattributes(boolean allowhtmlinsideattributes) voidsetAllowInvalidAttributeNames(boolean allowInvalidAttributeNames) voidsetAllowmultiwordattributes(boolean allowmultiwordattributes) voidsetBooleanatts(String booleanatts) voidvoidsetHyphenreplacement(String hyphenreplacement) voidsetIgnoreqe(boolean ignoreqe) voidsetIncharset(String incharset) voidsetInvalidAttributeNamePrefix(String invalidAttributeNamePrefix) voidsetNamespacesaware(boolean namespacesaware) voidsetNodebyxpath(String nodebyxpath) voidsetOmitcomments(boolean omitcomments) voidsetOmitdeprtags(boolean omitdeprtags) voidsetOmitdoctypedecl(boolean omitdoctypedecl) voidsetOmithtmlenvelope(boolean omithtmlenvelope) voidsetOmitunknowntags(boolean omitunknowntags) voidsetOmitxmldecl(boolean omitxmldecl) voidsetOutcharset(String outcharset) voidsetOutputtype(String outputtype) voidsetPrunetags(String prunetags) voidsetSpecialentities(boolean specialentities) voidvoidsetTaginfofile(String taginfofile) voidvoidsetTransform(String transform) voidsetTreatdeprtagsascontent(boolean treatdeprtagsascontent) voidsetTreatunknowntagsascontent(boolean treatunknowntagsascontent) voidsetUnicodechars(boolean unicodechars) voidsetUsecdata(boolean usecdata) voidsetUsecdatafor(String usecdatafor) voidsetUseemptyelementtags(boolean useemptyelementtags) Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeMethods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
-
Constructor Details
-
HtmlCleanerForAnt
public HtmlCleanerForAnt()
-
-
Method Details
-
setText
-
setSrc
-
setDest
-
setIncharset
-
setOutcharset
-
setTaginfofile
-
setOutputtype
-
setAdvancedxmlescape
public void setAdvancedxmlescape(boolean advancedxmlescape) -
setUsecdata
public void setUsecdata(boolean usecdata) -
setUsecdatafor
-
setSpecialentities
public void setSpecialentities(boolean specialentities) -
setUnicodechars
public void setUnicodechars(boolean unicodechars) -
setOmitunknowntags
public void setOmitunknowntags(boolean omitunknowntags) -
setTreatunknowntagsascontent
public void setTreatunknowntagsascontent(boolean treatunknowntagsascontent) -
setOmitdeprtags
public void setOmitdeprtags(boolean omitdeprtags) -
setTreatdeprtagsascontent
public void setTreatdeprtagsascontent(boolean treatdeprtagsascontent) -
setOmitcomments
public void setOmitcomments(boolean omitcomments) -
setOmitxmldecl
public void setOmitxmldecl(boolean omitxmldecl) -
setOmitdoctypedecl
public void setOmitdoctypedecl(boolean omitdoctypedecl) -
setOmithtmlenvelope
public void setOmithtmlenvelope(boolean omithtmlenvelope) -
setUseemptyelementtags
public void setUseemptyelementtags(boolean useemptyelementtags) -
setAllowmultiwordattributes
public void setAllowmultiwordattributes(boolean allowmultiwordattributes) -
setAllowhtmlinsideattributes
public void setAllowhtmlinsideattributes(boolean allowhtmlinsideattributes) -
setIgnoreqe
public void setIgnoreqe(boolean ignoreqe) -
setNamespacesaware
public void setNamespacesaware(boolean namespacesaware) -
setHyphenreplacement
-
setPrunetags
-
setBooleanatts
-
setNodebyxpath
-
setTransform
-
addText
-
execute
public void execute() throws org.apache.tools.ant.BuildExceptionImplementation of Ant task execution.- Overrides:
executein classorg.apache.tools.ant.Task- Throws:
org.apache.tools.ant.BuildException
-
isAllowInvalidAttributeNames
public boolean isAllowInvalidAttributeNames() -
setAllowInvalidAttributeNames
public void setAllowInvalidAttributeNames(boolean allowInvalidAttributeNames) -
getInvalidAttributeNamePrefix
-
setInvalidAttributeNamePrefix
-