public class AttributeModifyingRule extends Object implements ReplayParseEventDelegatorVisitor, OpenTagHandler
| Constructor and Description |
|---|
AttributeModifyingRule() |
| Modifier and Type | Method and Description |
|---|---|
String |
getModifyAttributeName() |
String |
getTagName() |
StringTransformer |
getTransformer() |
String |
getWhereAttributeName() |
String |
getWhereAttributeValue() |
void |
handleOpenTagNode(ParseContext context,
org.htmlparser.nodes.TagNode node) |
void |
setModifyAttributeName(String modifyAttributeName) |
void |
setTagName(String tagName) |
void |
setTransformer(StringTransformer transformer) |
void |
setWhereAttributeName(String whereAttributeName) |
void |
setWhereAttributeValue(String whereAttributeValue) |
void |
visit(ReplayParseEventDelegator rules) |
public void visit(ReplayParseEventDelegator rules)
visit in interface ReplayParseEventDelegatorVisitorrules - The ReplayParseEventDelegator that should have this instance added to its tag handlers.public void handleOpenTagNode(ParseContext context, org.htmlparser.nodes.TagNode node) throws IOException
handleOpenTagNode in interface OpenTagHandlercontext - node - IOExceptionpublic String getTagName()
public void setTagName(String tagName)
tagName - the tagName to setpublic String getWhereAttributeName()
public void setWhereAttributeName(String whereAttributeName)
whereAttributeName - the whereAttributeName to setpublic String getWhereAttributeValue()
public void setWhereAttributeValue(String whereAttributeValue)
whereAttributeValue - the whereAttributeValue to setpublic String getModifyAttributeName()
public void setModifyAttributeName(String modifyAttributeName)
modifyAttributeName - The name of the modify attribute.public StringTransformer getTransformer()
public void setTransformer(StringTransformer transformer)
transformer - the transformer to setCopyright © 2005–2015 IIPC. All rights reserved.