org.htmlcleaner
Class HtmlCleanerForAnt

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by 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, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
HtmlCleanerForAnt()
           
 
Method Summary
 void addText(String text)
           
 void execute()
          Implementation of Ant task execution.
 void setAdvancedxmlescape(boolean advancedxmlescape)
           
 void setAllowhtmlinsideattributes(boolean allowhtmlinsideattributes)
           
 void setAllowmultiwordattributes(boolean allowmultiwordattributes)
           
 void setBooleanatts(String booleanatts)
           
 void setDest(String dest)
           
 void setHyphenreplacement(String hyphenreplacement)
           
 void setIgnoreqe(boolean ignoreqe)
           
 void setIncharset(String incharset)
           
 void setNamespacesaware(boolean namespacesaware)
           
 void setNodebyxpath(String nodebyxpath)
           
 void setOmitcomments(boolean omitcomments)
           
 void setOmitdeprtags(boolean omitdeprtags)
           
 void setOmitdoctypedecl(boolean omitdoctypedecl)
           
 void setOmithtmlenvelope(boolean omithtmlenvelope)
           
 void setOmitunknowntags(boolean omitunknowntags)
           
 void setOmitxmldecl(boolean omitxmldecl)
           
 void setOutcharset(String outcharset)
           
 void setOutputtype(String outputtype)
           
 void setPrunetags(String prunetags)
           
 void setSpecialentities(boolean specialentities)
           
 void setSrc(String src)
           
 void setTaginfofile(String taginfofile)
           
 void setText(String text)
           
 void setTransform(String transform)
           
 void setTreatdeprtagsascontent(boolean treatdeprtagsascontent)
           
 void setTreatunknowntagsascontent(boolean treatunknowntagsascontent)
           
 void setUnicodechars(boolean unicodechars)
           
 void setUsecdata(boolean usecdata)
           
 void setUseemptyelementtags(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, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlCleanerForAnt

public HtmlCleanerForAnt()
Method Detail

setText

public void setText(String text)

setSrc

public void setSrc(String src)

setDest

public void setDest(String dest)

setIncharset

public void setIncharset(String incharset)

setOutcharset

public void setOutcharset(String outcharset)

setTaginfofile

public void setTaginfofile(String taginfofile)

setOutputtype

public void setOutputtype(String outputtype)

setAdvancedxmlescape

public void setAdvancedxmlescape(boolean advancedxmlescape)

setUsecdata

public void setUsecdata(boolean usecdata)

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

public void setHyphenreplacement(String hyphenreplacement)

setPrunetags

public void setPrunetags(String prunetags)

setBooleanatts

public void setBooleanatts(String booleanatts)

setNodebyxpath

public void setNodebyxpath(String nodebyxpath)

setTransform

public void setTransform(String transform)

addText

public void addText(String text)

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Implementation of Ant task execution.

Overrides:
execute in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException


Copyright © 2006-2014. All Rights Reserved.