|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.htmlcleaner.TagTransformation
Describes how specified tag is transformed to another one, or is ignored during parsing
| Constructor Summary | |
TagTransformation(java.lang.String sourceTag)
Creates new tag transformation in which specified tag will be skipped (ignored) during parsing process. |
|
TagTransformation(java.lang.String sourceTag,
java.lang.String destTag)
Creates new tag transformation from source tag to target tag preserving all source tag attributes. |
|
TagTransformation(java.lang.String sourceTag,
java.lang.String destTag,
boolean preserveSourceAttributes)
Creates new tag transformation from source tag to target tag specifying whether source tag attributes are preserved. |
|
| Method Summary | |
void |
addAttributeTransformation(java.lang.String targetAttName)
Adds new attribute transformation in which destination attrbute will not exists (simply removes it from list of attributes). |
void |
addAttributeTransformation(java.lang.String targetAttName,
java.lang.String transformationDesc)
Adds new attribute transformation to this tag transformation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TagTransformation(java.lang.String sourceTag,
java.lang.String destTag,
boolean preserveSourceAttributes)
sourceTag - Name of the tag to be transformed.destTag - Name of tag to which source tag is to be transformed.preserveSourceAttributes - Tells whether source tag attributes are preserved in transformation.
public TagTransformation(java.lang.String sourceTag,
java.lang.String destTag)
sourceTag - Name of the tag to be transformed.destTag - Name of tag to which source tag is to be transformed.public TagTransformation(java.lang.String sourceTag)
sourceTag - | Method Detail |
public void addAttributeTransformation(java.lang.String targetAttName,
java.lang.String transformationDesc)
targetAttName - Name of the destination attributetransformationDesc - Template describing attribute value.public void addAttributeTransformation(java.lang.String targetAttName)
targetAttName -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||