|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object groovy.json.JsonToken
public class JsonToken
A JSON token, with a type, line / column information, and the text of that token.
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Method Detail |
---|
public long getEndColumn()
public long getEndLine()
public long getStartColumn()
public long getStartLine()
public java.lang.String getText()
public JsonTokenType getType()
public java.lang.Object getValue()
public void setEndColumn(long endColumn)
public void setEndLine(long endLine)
public void setStartColumn(long startColumn)
public void setStartLine(long startLine)
public void setText(java.lang.String text)
public void setType(JsonTokenType type)
public java.lang.String toString()
Groovy Documentation