public class JsonToken
extends java.lang.Object
Constructor and Description |
---|
JsonToken() |
Modifier and Type | Method and Description |
---|---|
long |
getEndColumn() |
long |
getEndLine() |
long |
getStartColumn() |
long |
getStartLine() |
java.lang.String |
getText() |
JsonTokenType |
getType() |
java.lang.Object |
getValue()
Return the value represented by this token (ie. a number, a string, a boolean or null).
|
void |
setEndColumn(long endColumn) |
void |
setEndLine(long endLine) |
void |
setStartColumn(long startColumn) |
void |
setStartLine(long startLine) |
void |
setText(java.lang.String text) |
void |
setType(JsonTokenType type) |
java.lang.String |
toString() |
public java.lang.Object getValue()
public java.lang.String toString()
toString
in class java.lang.Object
public long getStartLine()
public void setStartLine(long startLine)
public long getEndLine()
public void setEndLine(long endLine)
public long getStartColumn()
public void setStartColumn(long startColumn)
public long getEndColumn()
public void setEndColumn(long endColumn)
public JsonTokenType getType()
public void setType(JsonTokenType type)
public void setText(java.lang.String text)
public java.lang.String getText()