public class Tag extends Object
Constructor and Description |
---|
Tag(String name,
Map<String,Attribute> tagAttributes,
String action) |
Modifier and Type | Method and Description |
---|---|
String |
getAction() |
Attribute |
getAttributeByName(String name)
Returns an
Attribute associated with a lookup name. |
String |
getName() |
String |
getRegularExpression()
Returns a regular expression for validating individual tags.
|
boolean |
isAction(String action)
Indicates if the action for this tag matches the supplied action
|
Tag |
mutateAction(String action) |
public String getAction()
filter
, validate
or remove
.public boolean isAction(String action)
action
- The action to match againstpublic String getRegularExpression()
public String getName()
Copyright © 2014. All rights reserved.