public class JsonToken extends Object
Constructor and Description |
---|
JsonToken() |
Modifier and Type | Method and Description |
---|---|
long |
getEndColumn() |
long |
getEndLine() |
long |
getStartColumn() |
long |
getStartLine() |
String |
getText() |
JsonTokenType |
getType() |
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(String text) |
void |
setType(JsonTokenType type) |
String |
toString() |
public Object getValue()
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(String text)
public String getText()