Package generic.json
Class JSONToken
- java.lang.Object
 - 
- generic.json.JSONToken
 
 
- 
public class JSONToken extends java.lang.Object 
- 
- 
Field Detail
- 
type
public JSONType type
 
- 
start
public int start
 
- 
end
public int end
 
- 
size
public int size
 
 - 
 
- 
Constructor Detail
- 
JSONToken
public JSONToken(JSONType type, int start, int end)
JSON token description.- Parameters:
 type- the token type (object, array, string etc.)start- the start position in JSON data stringend- the end position in JSON data string
 
 - 
 
- 
Method Detail
- 
setType
public void setType(JSONType type)
 
- 
getType
public JSONType getType()
 
- 
setStart
public void setStart(int start)
 
- 
getStart
public int getStart()
 
- 
setEnd
public void setEnd(int end)
 
- 
getEnd
public int getEnd()
 
- 
setSize
public void setSize(int size)
 
- 
getSize
public int getSize()
 
- 
incSize
public void incSize()
 
 - 
 
 -