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.StringgetData()(package private) Tokenreset()Reset the data represent by this token, for reuse.java.lang.StringtoString()-
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:TokenReset 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:
toStringin classjava.lang.Object
-
-