Package org.jsoup.parser
Class Token.Comment
- java.lang.Object
-
- org.jsoup.parser.Token
-
- org.jsoup.parser.Token.Comment
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jsoup.parser.Token
Token.CData, Token.Character, Token.Comment, Token.Doctype, Token.EndTag, Token.EOF, Token.StartTag, Token.Tag, Token.TokenType
-
-
Constructor Summary
Constructors Constructor Description Comment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) java.lang.String
getData()
(package private) Token
reset()
Reset the data represent by this token, for reuse.java.lang.String
toString()
-
Methods inherited from class org.jsoup.parser.Token
asCharacter, asComment, asDoctype, asEndTag, asStartTag, isCData, isCharacter, isComment, isDoctype, isEndTag, isEOF, isStartTag, reset, tokenType
-
-
-
-
Method Detail
-
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.
-
getData
java.lang.String getData()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-