public class EndTagToken extends TagToken
HTML tag end token.
Created by: Vladimir Nikicname, originalSource| Constructor and Description |
|---|
EndTagToken() |
EndTagToken(String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addAttribute(String attName,
String attValue,
boolean checkXSS)
Add an attribute to this tag.
|
Object |
clone() |
String |
getParents()
Get the allowed parent tags for this tag
|
boolean |
isAllowedAttribute(String attName)
Check, if the attName is allowed.
|
void |
serialize(XmlSerializer xmlSerializer) |
equals, getName, getOriginalSource, hashCode, isReduceTokenStack, setName, setOriginalSource, toStringpublic EndTagToken()
public EndTagToken(String name)
public boolean addAttribute(String attName, String attValue, boolean checkXSS)
TagTokenaddAttribute in class TagTokenattName - the attribute nameattValue - the attribute's value stringcheckXSS - check the attributes for allowed names to avoid cross side
scriptingpublic boolean isAllowedAttribute(String attName)
TagTokenisAllowedAttribute in class TagTokenpublic void serialize(XmlSerializer xmlSerializer)
public String getParents()
TagTokengetParents in class TagTokennull if no parent tags are allowedCopyright © 2017 Java Wikipedia API (Bliki engine). All rights reserved.