Class HtmlCleanerForAnt

  • All Implemented Interfaces:
    Cloneable

    public class HtmlCleanerForAnt
    extends org.apache.tools.ant.Task

    Support for ANT.

    • 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)
      • setUsecdatafor

        public void setUsecdatafor​(String usecdatafor)
      • 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
      • isAllowInvalidAttributeNames

        public boolean isAllowInvalidAttributeNames()
      • setAllowInvalidAttributeNames

        public void setAllowInvalidAttributeNames​(boolean allowInvalidAttributeNames)
      • getInvalidAttributeNamePrefix

        public String getInvalidAttributeNamePrefix()
      • setInvalidAttributeNamePrefix

        public void setInvalidAttributeNamePrefix​(String invalidAttributeNamePrefix)