|
Groovy 2.2.0 | |||||||
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()
|
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()
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Method Detail |
---|
public long getEndColumn()
public long getEndLine()
public long getStartColumn()
public long getStartLine()
public String getText()
public JsonTokenType getType()
public 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(String text)
public void setType(JsonTokenType type)
public String toString()
Copyright © 2003-2013 The Codehaus. All rights reserved.