| Modifier and Type | Field and Description |
|---|---|
protected String |
name |
protected String |
originalSource |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
addAttribute(String attName,
String attValue,
boolean checkXSS)
Add an attribute to this tag.
|
Object |
clone() |
boolean |
equals(Object obj) |
String |
getName() |
String |
getOriginalSource() |
abstract String |
getParents()
Get the allowed parent tags for this tag
|
int |
hashCode() |
abstract boolean |
isAllowedAttribute(String attName)
Check, if the attName is allowed.
|
boolean |
isReduceTokenStack() |
void |
setName(String name) |
void |
setOriginalSource(String originalSource) |
String |
toString() |
public TagToken()
public TagToken(String name)
public String getName()
public void setName(String name)
public String getOriginalSource()
public void setOriginalSource(String originalSource)
public abstract boolean addAttribute(String attName, String attValue, boolean checkXSS)
attName - the attribute nameattValue - the attribute's value stringcheckXSS - check the attributes for allowed names to avoid cross side
scriptingpublic abstract boolean isAllowedAttribute(String attName)
attName - public abstract String getParents()
null if no parent tags are allowedpublic boolean isReduceTokenStack()
Copyright © 2017 Java Wikipedia API (Bliki engine). All rights reserved.