Upgrading to GitLab 11.11.0.

Commit a0651ec8 authored by Alexandre Rossi's avatar Alexandre Rossi Committed by Alexandre Rossi

Imported Upstream version 2.2

parents
<project name="HtmlCleaner" default="build" basedir=".">
<description>HtmlCleaner</description>
<property name="version" value="2_2"/>
<property name="dir.src" value="src/main/java"/>
<property name="dir.lib" value="lib"/>
<property name="dir.doc" value="doc"/>
<property name="dir.dist" value="dist"/>
<property name="dir.zip" value="zip"/>
<property name="jarfile" value="htmlcleaner${version}.jar"/>
<!-- classpath -->
<path id="classpath.compile">
<pathelement location="${dir.lib}/ant.jar"/>
<pathelement location="${dir.lib}/jdom.jar"/>
</path>
<!-- sources targets -->
<target name="build" description="compilation of source files">
<mkdir dir="${dir.dist}"/>
<javac srcdir="${dir.src}" destdir="${dir.dist}" listfiles="on" source="1.5" target="1.5">
<classpath refid="classpath.compile"/>
</javac>
</target>
<!-- creates jar library -->
<target name="jar" depends="build" description="creates jar library">
<jar destfile="${jarfile}" basedir="${dir.dist}" manifest="config/MANIFEST.MF"/>
</target>
<!-- delete distribution folders -->
<target name="clean" description="cleans distribution">
<delete file="${jarfile}"/>
<delete dir="${dir.dist}"/>
<delete dir="${dir.zip}"/>
<delete dir="${dir.doc}"/>
</target>
<!-- generate Java docs -->
<target name="javadoc">
<javadoc access="protected"
author="true"
source="1.5"
destdir="doc"
nodeprecated="false"
nodeprecatedlist="false"
noindex="false"
nonavbar="false"
notree="false"
packagenames="org.htmlcleaner"
sourcepath="${dir.src}"
splitindex="true"
use="true"
version="true"/>
</target>
<target depends="jar,javadoc" name="zip">
<mkdir dir="${dir.zip}"/>
<zip destfile="${dir.zip}/htmlcleaner${version}-bin.zip">
<zipfileset file="${jarfile}"/>
<zipfileset dir="doc" prefix="doc"/>
<zipfileset file="default.xml"/>
</zip>
<zip destfile="${dir.zip}/htmlcleaner${version}-all.zip">
<zipfileset file="${jarfile}"/>
<zipfileset file="licence.txt"/>
<zipfileset dir="src" prefix="src" />
<zipfileset dir="test" prefix="test" />
<zipfileset dir="config" prefix="config"/>
<zipfileset dir="doc" prefix="doc"/>
<zipfileset dir="lib" prefix="lib"/>
<zipfileset file="default.xml"/>
<zipfileset file="build.xml"/>
<zipfileset file="pom.xml"/>
</zip>
</target>
</project>
\ No newline at end of file
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.5
Created-By: 1.5.0_08-b03 (Sun Microsystems Inc.)
Main-Class: org.htmlcleaner.CommandLine
This diff is collapsed.
Copyright (c) 2006-2010, Vladimir Nikic
All rights reserved.
Redistribution and use of this software in source and binary forms,
with or without modification, are permitted provided that the following
conditions are met:
* Redistributions of source code must retain the above
copyright notice, this list of conditions and the
following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the
following disclaimer in the documentation and/or other
materials provided with the distribution.
* The name of HtmlCleaner may not be used to endorse or promote
products derived from this software without specific prior
written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
You can contact Vladimir Nikic by sending e-mail to
nikic_vladimir@yahoo.com. Please include the word "HtmlCleaner" in the
subject line.
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>net.sourceforge.htmlcleaner</groupId>
<artifactId>htmlcleaner</artifactId>
<packaging>jar</packaging>
<version>2.2</version>
<name>HtmlCleaner</name>
<description>
HtmlCleaner is an HTML parser written in Java. It transforms dirty HTML to well-formed XML following
the same rules that most web-browsers use.
</description>
<url>http://htmlcleaner.sourceforge.net/</url>
<inceptionYear>2006</inceptionYear>
<licenses>
<license>
<name>BSD License</name>
<url>http://www.opensource.org/licenses/bsd-license.php</url>
<comments>
OWNER = Vladimir Nikic
YEAR = 2006-2010
</comments>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<name>Vladimir Nikic</name>
<id>vnikic</id>
<roles>
<role>Project Admin</role>
<role>Developer</role>
</roles>
<timezone>1</timezone>
<email>vnikic@users.sourceforge.net</email>
</developer>
</developers>
<scm>
<url>http://htmlcleaner.svn.sourceforge.net/</url>
</scm>
<dependencies>
<dependency>
<groupId>org.jdom</groupId>
<artifactId>jdom</artifactId>
<version>1.1</version>
</dependency>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.7.0</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<sourceDirectory>src/main/java</sourceDirectory>
<testSourceDirectory>src/test/java</testSourceDirectory>
<testResources>
<testResource>
<directory>src/test/resources</directory>
</testResource>
</testResources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
<optimize>true</optimize>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<phase>verify</phase>
<goals>
<goal>jar</goal>
<goal>test-jar</goal>
</goals>
<configuration>
<attach>true</attach>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestFile>config/MANIFEST.MF</manifestFile>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.7</version>
</plugin>
</plugins>
</build>
</project>
/* Copyright (c) 2006-2007, Vladimir Nikic
All rights reserved.
Redistribution and use of this software in source and binary forms,
with or without modification, are permitted provided that the following
conditions are met:
* Redistributions of source code must retain the above
copyright notice, this list of conditions and the
following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the
following disclaimer in the documentation and/or other
materials provided with the distribution.
* The name of HtmlCleaner may not be used to endorse or promote
products derived from this software without specific prior
written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
You can contact Vladimir Nikic by sending e-mail to
nikic_vladimir@yahoo.com. Please include the word "HtmlCleaner" in the
subject line.
*/
package org.htmlcleaner;
import java.io.IOException;
import java.io.Writer;
/**
* <p>
* Base token interface. Tokens are individual entities recognized by HTML parser.
* </p>
*/
public interface BaseToken {
public void serialize(Serializer serializer, Writer writer) throws IOException;
}
/* Copyright (c) 2006-2007, Vladimir Nikic
All rights reserved.
Redistribution and use of this software in source and binary forms,
with or without modification, are permitted provided that the following
conditions are met:
* Redistributions of source code must retain the above
copyright notice, this list of conditions and the
following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the
following disclaimer in the documentation and/or other
materials provided with the distribution.
* The name of HtmlCleaner may not be used to endorse or promote
products derived from this software without specific prior
written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
You can contact Vladimir Nikic by sending e-mail to
nikic_vladimir@yahoo.com. Please include the word "HtmlCleaner" in the
subject line.
*/
package org.htmlcleaner;
import java.io.Writer;
import java.io.IOException;
import java.util.List;
import java.util.ListIterator;
/**
* <p>
* Broswer compact XML serializer - creates resulting XML by stripping whitespaces wherever possible,
* but preserving single whitespace where at least one exists. This behaviour is well suited
* for web-browsers, which usualy treat multiple whitespaces as single one, but make diffrence
* between single whitespace and empty text.
* </p>
*/
public class BrowserCompactXmlSerializer extends XmlSerializer {
public BrowserCompactXmlSerializer(CleanerProperties props) {
super(props);
}
protected void serialize(TagNode tagNode, Writer writer) throws IOException {
serializeOpenTag(tagNode, writer, false);
List tagChildren = tagNode.getChildren();
if ( !isMinimizedTagSyntax(tagNode) ) {
ListIterator childrenIt = tagChildren.listIterator();
while ( childrenIt.hasNext() ) {
Object item = childrenIt.next();
if (item instanceof ContentNode) {
String content = item.toString();
boolean startsWithSpace = content.length() > 0 && Character.isWhitespace( content.charAt(0) );
boolean endsWithSpace = content.length() > 1 && Character.isWhitespace( content.charAt(content.length() - 1) );
content = dontEscape(tagNode) ? content.trim().replaceAll("]]>", "]]&gt;") : escapeXml(content.trim());
if (startsWithSpace) {
writer.write(' ');
}
if (content.length() != 0) {
writer.write(content);
if (endsWithSpace) {
writer.write(' ');
}
}
if (childrenIt.hasNext()) {
if ( !Utils.isWhitespaceString(childrenIt.next()) ) {
writer.write("\n");
}
childrenIt.previous();
}
} else if (item instanceof CommentNode) {
String content = ((CommentNode) item).getCommentedContent().trim();
writer.write(content);
} else if (item instanceof BaseToken) {
((BaseToken)item).serialize(this, writer);
}
}
serializeEndTag(tagNode, writer, false);
}
}
}
\ No newline at end of file
/* Copyright (c) 2006-2007, Vladimir Nikic
All rights reserved.
Redistribution and use of this software in source and binary forms,
with or without modification, are permitted provided that the following
conditions are met:
* Redistributions of source code must retain the above
copyright notice, this list of conditions and the
following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the
following disclaimer in the documentation and/or other
materials provided with the distribution.
* The name of HtmlCleaner may not be used to endorse or promote
products derived from this software without specific prior
written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
You can contact Vladimir Nikic by sending e-mail to
nikic_vladimir@yahoo.com. Please include the word "HtmlCleaner" in the
subject line.
*/
package org.htmlcleaner;
/**
* Properties defining cleaner's behaviour
*/
public class CleanerProperties {
public static final String BOOL_ATT_SELF = "self";
public static final String BOOL_ATT_EMPTY = "empty";
public static final String BOOL_ATT_TRUE = "true";
ITagInfoProvider tagInfoProvider = null;
boolean advancedXmlEscape = true;
boolean transResCharsToNCR = false;
boolean useCdataForScriptAndStyle = true;
boolean translateSpecialEntities = true;
boolean transSpecialEntitiesToNCR = false;
boolean recognizeUnicodeChars = true;
boolean omitUnknownTags = false;
boolean treatUnknownTagsAsContent = false;
boolean omitDeprecatedTags = false;
boolean treatDeprecatedTagsAsContent = false;
boolean omitComments = false;
boolean omitXmlDeclaration = false;
boolean omitDoctypeDeclaration = true;
boolean omitHtmlEnvelope = false;
boolean useEmptyElementTags = true;
boolean allowMultiWordAttributes = true;
boolean allowHtmlInsideAttributes = false;
boolean ignoreQuestAndExclam = true;
boolean namespacesAware = true;
String hyphenReplacementInComment = "=";
String pruneTags = null;
String booleanAttributeValues = BOOL_ATT_SELF;
public ITagInfoProvider getTagInfoProvider() {
return tagInfoProvider;
}
public boolean isAdvancedXmlEscape() {
return advancedXmlEscape;
}
public void setAdvancedXmlEscape(boolean advancedXmlEscape) {
this.advancedXmlEscape = advancedXmlEscape;
}
public boolean isTransResCharsToNCR() {
return transResCharsToNCR;
}
public void setTransResCharsToNCR(boolean transResCharsToNCR) {
this.transResCharsToNCR = transResCharsToNCR;
}
public boolean isUseCdataForScriptAndStyle() {
return useCdataForScriptAndStyle;
}
public void setUseCdataForScriptAndStyle(boolean useCdataForScriptAndStyle) {
this.useCdataForScriptAndStyle = useCdataForScriptAndStyle;
}
public boolean isTranslateSpecialEntities() {
return translateSpecialEntities;
}
public void setTranslateSpecialEntities(boolean translateSpecialEntities) {
this.translateSpecialEntities = translateSpecialEntities;
}
public boolean isTransSpecialEntitiesToNCR() {
return transSpecialEntitiesToNCR;
}
public void setTransSpecialEntitiesToNCR(boolean transSpecialEntitiesToNCR) {
this.transSpecialEntitiesToNCR = transSpecialEntitiesToNCR;
}
public boolean isRecognizeUnicodeChars() {
return recognizeUnicodeChars;
}
public void setRecognizeUnicodeChars(boolean recognizeUnicodeChars) {
this.recognizeUnicodeChars = recognizeUnicodeChars;
}
public boolean isOmitUnknownTags() {
return omitUnknownTags;
}
public void setOmitUnknownTags(boolean omitUnknownTags) {
this.omitUnknownTags = omitUnknownTags;
}
public boolean isTreatUnknownTagsAsContent() {
return treatUnknownTagsAsContent;
}
public void setTreatUnknownTagsAsContent(boolean treatUnknownTagsAsContent) {
this.treatUnknownTagsAsContent = treatUnknownTagsAsContent;
}
public boolean isOmitDeprecatedTags() {
return omitDeprecatedTags;
}
public void setOmitDeprecatedTags(boolean omitDeprecatedTags) {
this.omitDeprecatedTags = omitDeprecatedTags;
}
public boolean isTreatDeprecatedTagsAsContent() {
return treatDeprecatedTagsAsContent;
}
public void setTreatDeprecatedTagsAsContent(boolean treatDeprecatedTagsAsContent) {
this.treatDeprecatedTagsAsContent = treatDeprecatedTagsAsContent;
}
public boolean isOmitComments() {
return omitComments;
}
public void setOmitComments(boolean omitComments) {
this.omitComments = omitComments;
}
public boolean isOmitXmlDeclaration() {
return omitXmlDeclaration;
}
public void setOmitXmlDeclaration(boolean omitXmlDeclaration) {
this.omitXmlDeclaration = omitXmlDeclaration;
}
public boolean isOmitDoctypeDeclaration() {
return omitDoctypeDeclaration;
}
public void setOmitDoctypeDeclaration(boolean omitDoctypeDeclaration) {
this.omitDoctypeDeclaration = omitDoctypeDeclaration;
}
public boolean isOmitHtmlEnvelope() {
return omitHtmlEnvelope;
}
public void setOmitHtmlEnvelope(boolean omitHtmlEnvelope) {
this.omitHtmlEnvelope = omitHtmlEnvelope;
}
public boolean isUseEmptyElementTags() {
return useEmptyElementTags;
}
public void setUseEmptyElementTags(boolean useEmptyElementTags) {
this.useEmptyElementTags = useEmptyElementTags;
}
public boolean isAllowMultiWordAttributes() {
return allowMultiWordAttributes;
}
public void setAllowMultiWordAttributes(boolean allowMultiWordAttributes) {
this.allowMultiWordAttributes = allowMultiWordAttributes;
}
public boolean isAllowHtmlInsideAttributes() {
return allowHtmlInsideAttributes;
}
public void setAllowHtmlInsideAttributes(boolean allowHtmlInsideAttributes) {
this.allowHtmlInsideAttributes = allowHtmlInsideAttributes;
}
public boolean isIgnoreQuestAndExclam() {
return ignoreQuestAndExclam;
}
public void setIgnoreQuestAndExclam(boolean ignoreQuestAndExclam) {
this.ignoreQuestAndExclam = ignoreQuestAndExclam;
}
public boolean isNamespacesAware() {
return namespacesAware;
}
public void setNamespacesAware(boolean namespacesAware) {
this.namespacesAware = namespacesAware;
}
public String getHyphenReplacementInComment() {
return hyphenReplacementInComment;
}
public void setHyphenReplacementInComment(String hyphenReplacementInComment) {
this.hyphenReplacementInComment = hyphenReplacementInComment;
}
public String getPruneTags() {
return pruneTags;
}
public void setPruneTags(String pruneTags) {
this.pruneTags = pruneTags;
}
public String getBooleanAttributeValues() {
return booleanAttributeValues;
}
public void setBooleanAttributeValues(String booleanAttributeValues) {
if ( BOOL_ATT_SELF.equalsIgnoreCase(booleanAttributeValues) ||
BOOL_ATT_EMPTY.equalsIgnoreCase(booleanAttributeValues) ||
BOOL_ATT_TRUE.equalsIgnoreCase(booleanAttributeValues) ) {
this.booleanAttributeValues = booleanAttributeValues.toLowerCase();
} else {
this.booleanAttributeValues = BOOL_ATT_SELF;
}
}
}
\ No newline at end of file
/* Copyright (c) 2006-2007, Vladimir Nikic
All rights reserved.
Redistribution and use of this software in source and binary forms,
with or without modification, are permitted provided that the following
conditions are met:
* Redistributions of source code must retain the above
copyright notice, this list of conditions and the
following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the
following disclaimer in the documentation and/or other
materials provided with the distribution.
* The name of HtmlCleaner may not be used to endorse or promote
products derived from this software without specific prior
written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
You can contact Vladimir Nikic by sending e-mail to
nikic_vladimir@yahoo.com. Please include the word "HtmlCleaner" in the
subject line.
*/
package org.htmlcleaner;
import java.util.HashMap;
import java.util.Map;
/**
* Contains transformation collection.
*/
public class CleanerTransformations {