@Unstable
public class TrimAttributeTagTransformation
extends org.htmlcleaner.TagTransformation
org.htmlcleaner
package because we use the following package protected API: TagTransformation#getSourceTag().Constructor and Description |
---|
TrimAttributeTagTransformation(String sourceTag,
String destTag)
Create a
TagTransformation from source tag to target tag. |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
applyTagTransformations(Map<String,String> attributes) |
public TrimAttributeTagTransformation(String sourceTag, String destTag)
TagTransformation
from source tag to target tag. This kind of transformation always preserve
the attributes.sourceTag
- Name of the tag to be transformed.destTag
- Name of tag to which source tag is to be transformed.Copyright © 2004–2019 XWiki. All rights reserved.