Class Token.Tag
java.lang.Object
com.itextpdf.styledxmlparser.jsoup.parser.Token
com.itextpdf.styledxmlparser.jsoup.parser.Token.Tag
- Direct Known Subclasses:
Token.EndTag
,Token.StartTag
- Enclosing class:
Token
-
Nested Class Summary
Nested classes/interfaces inherited from class com.itextpdf.styledxmlparser.jsoup.parser.Token
Token.CData, Token.Character, Token.Comment, Token.Doctype, Token.EndTag, Token.EOF, Token.StartTag, Token.Tag, Token.TokenType
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) Attributes
private boolean
private boolean
protected String
private String
private StringBuilder
private String
(package private) boolean
protected String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) final void
appendAttributeName
(char append) (package private) final void
appendAttributeName
(String append) (package private) final void
appendAttributeValue
(char append) (package private) final void
appendAttributeValue
(char[] append) (package private) final void
appendAttributeValue
(int[] appendCodepoints) (package private) final void
appendAttributeValue
(String append) (package private) final void
appendTagName
(char append) (package private) final void
appendTagName
(String append) private void
(package private) final void
(package private) final boolean
hasAttribute
(String key) (package private) final boolean
(package private) final boolean
(package private) final String
name()
Preserves case(package private) final Token.Tag
(package private) final void
(package private) final String
Lower case(package private) Token
reset()
Reset the data represent by this token, for reuse.(package private) final void
abstract String
toString()
(package private) final String
Methods inherited from class com.itextpdf.styledxmlparser.jsoup.parser.Token
asCharacter, asComment, asDoctype, asEndTag, asStartTag, isCData, isCharacter, isComment, isDoctype, isEndTag, isEOF, isStartTag, reset, tokenType
-
Field Details
-
tagName
-
normalName
-
pendingAttributeName
-
pendingAttributeValue
-
pendingAttributeValueS
-
hasEmptyAttributeValue
private boolean hasEmptyAttributeValue -
hasPendingAttributeValue
private boolean hasPendingAttributeValue -
selfClosing
boolean selfClosing -
attributes
Attributes attributes
-
-
Constructor Details
-
Tag
Tag()
-
-
Method Details
-
reset
Token reset()Description copied from class:Token
Reset the data represent by this token, for reuse. Prevents the need to create transfer objects for every piece of data, which immediately get GCed. -
newAttribute
final void newAttribute() -
hasAttributes
final boolean hasAttributes() -
hasAttribute
-
finaliseTag
final void finaliseTag() -
name
Preserves case -
normalName
Lower case -
toStringName
-
name
-
isSelfClosing
final boolean isSelfClosing() -
appendTagName
-
appendTagName
final void appendTagName(char append) -
appendAttributeName
-
appendAttributeName
final void appendAttributeName(char append) -
appendAttributeValue
-
appendAttributeValue
final void appendAttributeValue(char append) -
appendAttributeValue
final void appendAttributeValue(char[] append) -
appendAttributeValue
final void appendAttributeValue(int[] appendCodepoints) -
setEmptyAttributeValue
final void setEmptyAttributeValue() -
ensureAttributeValue
private void ensureAttributeValue() -
toString
-