org.htmlcleaner
Class CleanerTransformations

java.lang.Object
  extended by org.htmlcleaner.CleanerTransformations

public class CleanerTransformations
extends Object

Contains transformation collection.


Constructor Summary
CleanerTransformations()
           
CleanerTransformations(Map transInfos)
           
 
Method Summary
 void addGlobalTransformation(AttributeTransformation attributeTransformation)
           
 void addTransformation(TagTransformation tagTransformation)
          Adds specified tag transformation to the collection.
 void clear()
           
 String getTagName(String tagName)
           
 TagTransformation getTransformation(String tagName)
           
 boolean hasTransformationForTag(String tagName)
           
 Map<String,String> transformAttributes(String originalTagName, Map<String,String> attributes)
           
 void updateTagTransformations(Map transInfos)
           
 void updateTagTransformations(String key, String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CleanerTransformations

public CleanerTransformations()

CleanerTransformations

public CleanerTransformations(Map transInfos)
Parameters:
transInfos -
Method Detail

addTransformation

public void addTransformation(TagTransformation tagTransformation)
Adds specified tag transformation to the collection.

Parameters:
tagTransformation -

addGlobalTransformation

public void addGlobalTransformation(AttributeTransformation attributeTransformation)

hasTransformationForTag

public boolean hasTransformationForTag(String tagName)

getTransformation

public TagTransformation getTransformation(String tagName)

updateTagTransformations

public void updateTagTransformations(String key,
                                     String value)

updateTagTransformations

public void updateTagTransformations(Map transInfos)

transformAttributes

public Map<String,String> transformAttributes(String originalTagName,
                                              Map<String,String> attributes)

getTagName

public String getTagName(String tagName)

clear

public void clear()


Copyright © 2006-2014. All Rights Reserved.