Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
F
G
I
J
M
N
P
R
T
W
A
AbstractInvocationTarget
- Class in
ikrs.json.rpc
This is an abstract RPCMethodInvocationTarget implementation.
AbstractInvocationTarget()
- Constructor for class ikrs.json.rpc.
AbstractInvocationTarget
AbstractJSONValue
- Class in
ikrs.json
AbstractJSONValue(int)
- Constructor for class ikrs.json.
AbstractJSONValue
addInvocationTarget(String, RPCInvocationTarget, boolean)
- Method in class ikrs.json.rpc.
JSONRPCHandler
Add a new invocation target.
asJSONArray()
- Method in class ikrs.json.
AbstractJSONValue
This method tries to convert this JSONValue into a JSONArray.
asJSONArray()
- Method in class ikrs.json.
JSONArray
This method tries to convert this JSONValue into a JSONArray.
asJSONArray()
- Method in class ikrs.json.
JSONBoolean
This method tries to convert this JSONValue into a JSONArray.
asJSONArray()
- Method in class ikrs.json.
JSONNumber
This method tries to convert this JSONValue into a JSONArray.
asJSONArray()
- Method in class ikrs.json.
JSONObject
This method tries to convert this JSONValue into a JSONArray.
asJSONArray()
- Method in class ikrs.json.
JSONString
This method tries to convert this JSONValue into a JSONArray.
asJSONArray()
- Method in interface ikrs.json.
JSONValue
This method tries to convert this JSONValue into a JSONArray.
asJSONBoolean()
- Method in class ikrs.json.
AbstractJSONValue
This method tries to convert this JSONValue into a JSONBoolean.
asJSONBoolean()
- Method in class ikrs.json.
JSONBoolean
This method tries to convert this JSONValue into a JSONBoolean.
asJSONBoolean()
- Method in class ikrs.json.
JSONString
This method tries to convert this JSONValue into a JSONBoolean.
asJSONBoolean()
- Method in interface ikrs.json.
JSONValue
This method tries to convert this JSONValue into a JSONBoolean.
asJSONNumber()
- Method in class ikrs.json.
AbstractJSONValue
This method tries to convert this JSONValue into a JSONNumber.
asJSONNumber()
- Method in class ikrs.json.
JSONNumber
This method tries to convert this JSONValue into a JSONNumber.
asJSONNumber()
- Method in class ikrs.json.
JSONString
This method tries to convert this JSONValue into a JSONNumber.
asJSONNumber()
- Method in interface ikrs.json.
JSONValue
This method tries to convert this JSONValue into a JSONNumber.
asJSONObject()
- Method in class ikrs.json.
AbstractJSONValue
This method tries to convert this JSONValue into a JSONObject.
asJSONObject()
- Method in class ikrs.json.
JSONArray
This method tries to convert this JSONValue into a JSONObject.
asJSONObject()
- Method in class ikrs.json.
JSONObject
This method tries to convert this JSONValue into a JSONObject.
asJSONObject()
- Method in interface ikrs.json.
JSONValue
This method tries to convert this JSONValue into a JSONObject.
asJSONString()
- Method in class ikrs.json.
AbstractJSONValue
This method tries to convert this JSONValue into a JSONString.
asJSONString()
- Method in class ikrs.json.
JSONBoolean
This method tries to convert this JSONValue into a JSONString.
asJSONString()
- Method in class ikrs.json.
JSONNumber
This method tries to convert this JSONValue into a JSONString.
asJSONString()
- Method in class ikrs.json.
JSONString
This method tries to convert this JSONValue into a JSONString.
asJSONString()
- Method in interface ikrs.json.
JSONValue
This method tries to convert this JSONValue into a JSONString.
B
buildRPCRequest(Reader)
- Method in class ikrs.json.rpc.
JSONRPCHandler
This method builds a JSONRPCRequest from the JSON data provided by the given reader.
C
call(String)
- Method in class ikrs.json.rpc.
JSONRPCHandler
Calls the method as specified in the JSON-RPC request string.
call(Reader)
- Method in class ikrs.json.rpc.
JSONRPCHandler
Calls the method as specified in the JSON-RPC request from the reader.
call(JSONRPCRequest)
- Method in class ikrs.json.rpc.
JSONRPCHandler
Calls the method as specified in the JSON-RPC request.
checkMethodInvocation(Method)
- Method in class ikrs.json.rpc.
AbstractInvocationTarget
This is a default implementation that allows ONLY this method itself and all public methods to be invocated.
checkMethodInvocation(Method)
- Method in interface ikrs.json.rpc.
RPCInvocationTarget
This methods determines if the passed method is allowed to be called by the RPC handler.
checkMethodInvocation(Method)
- Method in class ikrs.json.rpc.
TestInvocationTarget
This is a default implementation that allows ONLY
CODE_INTERNAL_JSON_ERROR
- Static variable in class ikrs.json.rpc.
DefaultJSONRPCError
Internal error.
CODE_INTERNAL_JSON_ERROR
- Static variable in interface ikrs.json.rpc.
JSONRPCError
Internal error.
CODE_INVALID_PARAMS
- Static variable in class ikrs.json.rpc.
DefaultJSONRPCError
Invalid params.
CODE_INVALID_PARAMS
- Static variable in interface ikrs.json.rpc.
JSONRPCError
Invalid params.
CODE_INVALID_REQUEST
- Static variable in class ikrs.json.rpc.
DefaultJSONRPCError
Invalid Request.
CODE_INVALID_REQUEST
- Static variable in interface ikrs.json.rpc.
JSONRPCError
Invalid Request.
CODE_METHOD_NOT_FOUND
- Static variable in class ikrs.json.rpc.
DefaultJSONRPCError
Method not found.
CODE_METHOD_NOT_FOUND
- Static variable in interface ikrs.json.rpc.
JSONRPCError
Method not found.
CODE_PARSE_ERROR
- Static variable in class ikrs.json.rpc.
DefaultJSONRPCError
Parse error.
CODE_PARSE_ERROR
- Static variable in interface ikrs.json.rpc.
JSONRPCError
Parse error.
CODE_SERVER_ERROR_MIN
- Static variable in class ikrs.json.rpc.
DefaultJSONRPCError
Server error.
CODE_SERVER_ERROR_MIN
- Static variable in interface ikrs.json.rpc.
JSONRPCError
Server error.
ConfigurableJSONBuilder
- Class in
ikrs.json.parser
ConfigurableJSONBuilder(Reader, JSONValueFactory)
- Constructor for class ikrs.json.parser.
ConfigurableJSONBuilder
Creates a new JSONBuilder (not case sensitive).
ConfigurableJSONBuilder(Reader, boolean, JSONValueFactory)
- Constructor for class ikrs.json.parser.
ConfigurableJSONBuilder
1 Creates a new JSONBuilder.
createArray()
- Method in class ikrs.json.parser.
DefaultJSONValueFactory
This method creates a non-embedded JSON array (first single value from the input).
createArray(int)
- Method in class ikrs.json.parser.
DefaultJSONValueFactory
This method creates a JSON array embedded inside a different JSON array.
createArray(String)
- Method in class ikrs.json.parser.
DefaultJSONValueFactory
This method creates a JSON array embedded inside a different JSON object.
createArray()
- Method in interface ikrs.json.parser.
JSONValueFactory
This method creates a non-embedded JSON array (first single value from the input).
createArray(int)
- Method in interface ikrs.json.parser.
JSONValueFactory
This method creates a JSON array embedded inside a different JSON array.
createArray(String)
- Method in interface ikrs.json.parser.
JSONValueFactory
This method creates a JSON array embedded inside a different JSON object.
createBoolean(Boolean)
- Method in class ikrs.json.parser.
DefaultJSONValueFactory
This method creates a non-embedded JSON boolean (first single value from the input).
createBoolean(Boolean, int)
- Method in class ikrs.json.parser.
DefaultJSONValueFactory
This method creates a JSON boolean embedded inside a JSON array.
createBoolean(Boolean, String)
- Method in class ikrs.json.parser.
DefaultJSONValueFactory
This method creates a JSON boolean embedded inside a JSON object.
createBoolean(Boolean)
- Method in interface ikrs.json.parser.
JSONValueFactory
This method creates a non-embedded JSON boolean (first single value from the input).
createBoolean(Boolean, int)
- Method in interface ikrs.json.parser.
JSONValueFactory
This method creates a JSON boolean embedded inside a JSON array.
createBoolean(Boolean, String)
- Method in interface ikrs.json.parser.
JSONValueFactory
This method creates a JSON boolean embedded inside a JSON object.
createNull()
- Method in class ikrs.json.parser.
DefaultJSONValueFactory
This method creates a non-embedded JSON null (first single value from the input).
createNull(int)
- Method in class ikrs.json.parser.
DefaultJSONValueFactory
This method creates a JSON null embedded inside a JSON array.
createNull(String)
- Method in class ikrs.json.parser.
DefaultJSONValueFactory
This method creates a JSON null embedded inside a JSON object.
createNull()
- Method in interface ikrs.json.parser.
JSONValueFactory
This method creates a non-embedded JSON null (first single value from the input).
createNull(int)
- Method in interface ikrs.json.parser.
JSONValueFactory
This method creates a JSON null embedded inside a JSON array.
createNull(String)
- Method in interface ikrs.json.parser.
JSONValueFactory
This method creates a JSON null embedded inside a JSON object.
createNumber(Number)
- Method in class ikrs.json.parser.
DefaultJSONValueFactory
This method creates a non-embedded JSON number (first single value from the input).
createNumber(Number, int)
- Method in class ikrs.json.parser.
DefaultJSONValueFactory
This method creates a JSON number embedded inside a JSON array.
createNumber(Number, String)
- Method in class ikrs.json.parser.
DefaultJSONValueFactory
This method creates a JSON number embedded inside a JSON object.
createNumber(Number)
- Method in interface ikrs.json.parser.
JSONValueFactory
This method creates a non-embedded JSON number (first single value from the input).
createNumber(Number, int)
- Method in interface ikrs.json.parser.
JSONValueFactory
This method creates a JSON number embedded inside a JSON array.
createNumber(Number, String)
- Method in interface ikrs.json.parser.
JSONValueFactory
This method creates a JSON number embedded inside a JSON object.
createObject()
- Method in class ikrs.json.parser.
DefaultJSONValueFactory
This method creates a non-embedded JSON object (first single value from the input).
createObject(int)
- Method in class ikrs.json.parser.
DefaultJSONValueFactory
This method creates a JSON object embedded inside a different JSON object.
createObject(String)
- Method in class ikrs.json.parser.
DefaultJSONValueFactory
This method creates a JSON object embedded inside a different JSON object.
createObject()
- Method in interface ikrs.json.parser.
JSONValueFactory
This method creates a non-embedded JSON object (first single value from the input).
createObject(int)
- Method in interface ikrs.json.parser.
JSONValueFactory
This method creates a JSON object embedded inside a different JSON object.
createObject(String)
- Method in interface ikrs.json.parser.
JSONValueFactory
This method creates a JSON object embedded inside a different JSON object.
createObject()
- Method in class ikrs.json.rpc.
JSONRPCValueFactory
This method creates a non-embedded JSON object (first single value from the input).
createString(String)
- Method in class ikrs.json.parser.
DefaultJSONValueFactory
This method creates a non-embedded JSON string (first single value from the input).
createString(String, int)
- Method in class ikrs.json.parser.
DefaultJSONValueFactory
This method creates a JSON string embedded inside a JSON array.
createString(String, String)
- Method in class ikrs.json.parser.
DefaultJSONValueFactory
This method creates a JSON string embedded inside a JSON object.
createString(String)
- Method in interface ikrs.json.parser.
JSONValueFactory
This method creates a non-embedded JSON string (first single value from the input).
createString(String, int)
- Method in interface ikrs.json.parser.
JSONValueFactory
This method creates a JSON string embedded inside a JSON array.
createString(String, String)
- Method in interface ikrs.json.parser.
JSONValueFactory
This method creates a JSON string embedded inside a JSON object.
D
DefaultJSONRPCError
- Class in
ikrs.json.rpc
The default JSONRPCError implementation.
DefaultJSONRPCError()
- Constructor for class ikrs.json.rpc.
DefaultJSONRPCError
DefaultJSONRPCError(JSONValue, JSONValue, JSONValue)
- Constructor for class ikrs.json.rpc.
DefaultJSONRPCError
DefaultJSONRPCRequest
- Class in
ikrs.json.rpc
DefaultJSONRPCRequest()
- Constructor for class ikrs.json.rpc.
DefaultJSONRPCRequest
DefaultJSONRPCRequest(String, JSONArray, Number)
- Constructor for class ikrs.json.rpc.
DefaultJSONRPCRequest
DefaultJSONRPCResponse
- Class in
ikrs.json.rpc
DefaultJSONRPCResponse(JSONValue, JSONValue, JSONValue)
- Constructor for class ikrs.json.rpc.
DefaultJSONRPCResponse
DefaultJSONValueFactory
- Class in
ikrs.json.parser
A default JSONValueFactory implementation which is meant to be subclassed.
DefaultJSONValueFactory()
- Constructor for class ikrs.json.parser.
DefaultJSONValueFactory
Creates a new default JSONValueFactory.
doAnything(Integer, String, Boolean)
- Method in class ikrs.json.rpc.
TestInvocationTarget
doSomething()
- Method in class ikrs.json.rpc.
TestInvocationTarget
F
FALSE
- Static variable in interface ikrs.json.
JSONValue
This is a public shared instance that should be used for JSON false.
fireArrayBegin()
- Method in class ikrs.json.parser.
ConfigurableJSONBuilder
fireArrayBegin()
- Method in class ikrs.json.parser.
JSONBuilder
fireArrayBegin()
- Method in class ikrs.json.parser.
JSONBuilderExample
fireArrayBegin()
- Method in class ikrs.json.parser.
JSONParser
fireArrayElementEnd()
- Method in class ikrs.json.parser.
ConfigurableJSONBuilder
fireArrayElementEnd()
- Method in class ikrs.json.parser.
JSONBuilder
fireArrayElementEnd()
- Method in class ikrs.json.parser.
JSONBuilderExample
fireArrayElementEnd()
- Method in class ikrs.json.parser.
JSONParser
fireArrayEnd()
- Method in class ikrs.json.parser.
ConfigurableJSONBuilder
fireArrayEnd()
- Method in class ikrs.json.parser.
JSONBuilder
fireArrayEnd()
- Method in class ikrs.json.parser.
JSONBuilderExample
fireArrayEnd()
- Method in class ikrs.json.parser.
JSONParser
fireFalseRead(String)
- Method in class ikrs.json.parser.
ConfigurableJSONBuilder
fireFalseRead(String)
- Method in class ikrs.json.parser.
JSONBuilder
fireFalseRead(String)
- Method in class ikrs.json.parser.
JSONBuilderExample
fireFalseRead(String)
- Method in class ikrs.json.parser.
JSONParser
fireJSONBegin()
- Method in class ikrs.json.parser.
ConfigurableJSONBuilder
fireJSONBegin()
- Method in class ikrs.json.parser.
JSONBuilder
fireJSONBegin()
- Method in class ikrs.json.parser.
JSONBuilderExample
fireJSONBegin()
- Method in class ikrs.json.parser.
JSONParser
fireJSONEnd()
- Method in class ikrs.json.parser.
ConfigurableJSONBuilder
fireJSONEnd()
- Method in class ikrs.json.parser.
JSONBuilder
fireJSONEnd()
- Method in class ikrs.json.parser.
JSONBuilderExample
fireJSONEnd()
- Method in class ikrs.json.parser.
JSONParser
fireMemberBegin()
- Method in class ikrs.json.parser.
ConfigurableJSONBuilder
fireMemberBegin()
- Method in class ikrs.json.parser.
JSONBuilder
fireMemberBegin()
- Method in class ikrs.json.parser.
JSONBuilderExample
fireMemberBegin()
- Method in class ikrs.json.parser.
JSONParser
fireMemberEnd()
- Method in class ikrs.json.parser.
ConfigurableJSONBuilder
fireMemberEnd()
- Method in class ikrs.json.parser.
JSONBuilder
fireMemberEnd()
- Method in class ikrs.json.parser.
JSONBuilderExample
fireMemberEnd()
- Method in class ikrs.json.parser.
JSONParser
fireMemberNameRead(String)
- Method in class ikrs.json.parser.
ConfigurableJSONBuilder
fireMemberNameRead(String)
- Method in class ikrs.json.parser.
JSONBuilder
fireMemberNameRead(String)
- Method in class ikrs.json.parser.
JSONBuilderExample
fireMemberNameRead(String)
- Method in class ikrs.json.parser.
JSONParser
fireNullRead(String)
- Method in class ikrs.json.parser.
ConfigurableJSONBuilder
fireNullRead(String)
- Method in class ikrs.json.parser.
JSONBuilder
fireNullRead(String)
- Method in class ikrs.json.parser.
JSONBuilderExample
fireNullRead(String)
- Method in class ikrs.json.parser.
JSONParser
fireNumberRead(String)
- Method in class ikrs.json.parser.
ConfigurableJSONBuilder
fireNumberRead(String)
- Method in class ikrs.json.parser.
JSONBuilder
fireNumberRead(String)
- Method in class ikrs.json.parser.
JSONBuilderExample
fireNumberRead(String)
- Method in class ikrs.json.parser.
JSONParser
fireObjectBegin()
- Method in class ikrs.json.parser.
ConfigurableJSONBuilder
fireObjectBegin()
- Method in class ikrs.json.parser.
JSONBuilder
fireObjectBegin()
- Method in class ikrs.json.parser.
JSONBuilderExample
fireObjectBegin()
- Method in class ikrs.json.parser.
JSONParser
fireObjectEnd()
- Method in class ikrs.json.parser.
ConfigurableJSONBuilder
fireObjectEnd()
- Method in class ikrs.json.parser.
JSONBuilder
fireObjectEnd()
- Method in class ikrs.json.parser.
JSONBuilderExample
fireObjectEnd()
- Method in class ikrs.json.parser.
JSONParser
fireStringRead(String)
- Method in class ikrs.json.parser.
ConfigurableJSONBuilder
fireStringRead(String)
- Method in class ikrs.json.parser.
JSONBuilder
fireStringRead(String)
- Method in class ikrs.json.parser.
JSONBuilderExample
fireStringRead(String)
- Method in class ikrs.json.parser.
JSONParser
fireTrueRead(String)
- Method in class ikrs.json.parser.
ConfigurableJSONBuilder
fireTrueRead(String)
- Method in class ikrs.json.parser.
JSONBuilder
fireTrueRead(String)
- Method in class ikrs.json.parser.
JSONBuilderExample
fireTrueRead(String)
- Method in class ikrs.json.parser.
JSONParser
G
getArray()
- Method in class ikrs.json.
AbstractJSONValue
Get the array value as a List from this JSON value.
getArray()
- Method in class ikrs.json.
JSONArray
Get the array value as a List from this JSON value.
getArray()
- Method in interface ikrs.json.
JSONValue
Get the array value as a List from this JSON value.
getBoolean()
- Method in class ikrs.json.
AbstractJSONValue
Get the boolean from this JSON value.
getBoolean()
- Method in class ikrs.json.
JSONBoolean
Get the boolean from this JSON value.
getBoolean()
- Method in interface ikrs.json.
JSONValue
Get the boolean from this JSON value.
getCode()
- Method in class ikrs.json.rpc.
DefaultJSONRPCError
This method returns the value of the 'jsonrpc' field from this request.
getCode()
- Method in interface ikrs.json.rpc.
JSONRPCError
This method returns the value of the 'jsonrpc' field from this request.
getColumnNumber()
- Method in class ikrs.json.parser.
JSONParser
Get the parser's current column number.
getColumnNumber()
- Method in exception ikrs.json.parser.
JSONSyntaxException
Get the column number where the error was detected.
getData()
- Method in class ikrs.json.rpc.
DefaultJSONRPCError
Get the error object from the response (if result is null).
getData()
- Method in interface ikrs.json.rpc.
JSONRPCError
Get the error object from the response (if result is null).
getError()
- Method in class ikrs.json.rpc.
DefaultJSONRPCResponse
Get the error object from the response (if result is null).
getError()
- Method in interface ikrs.json.rpc.
JSONRPCResponse
Get the error object from the response (if result is null).
getID()
- Method in class ikrs.json.rpc.
DefaultJSONRPCRequest
Get the ID of this resquest.
getID()
- Method in class ikrs.json.rpc.
DefaultJSONRPCResponse
Get the ID of this response.
getID()
- Method in interface ikrs.json.rpc.
JSONRPCRequest
Get the ID of this resquest.
getID()
- Method in interface ikrs.json.rpc.
JSONRPCResponse
Get the ID of this response.
getLineNumber()
- Method in class ikrs.json.parser.
JSONParser
Get the parser's current line number.
getLineNumber()
- Method in exception ikrs.json.parser.
JSONSyntaxException
Get the line number where the error was detected.
getList()
- Method in class ikrs.json.
JSONArray
This method is a copy of getArray(), but with two differences: it is protected (only for subclasses) and does not thrown any exceptions.
getMap()
- Method in class ikrs.json.
JSONObject
This method is a copy of getObject(), but with two differences: it is protected (only for subclasses) and does not thrown any exceptions.
getMessage()
- Method in class ikrs.json.rpc.
DefaultJSONRPCError
Get the RPC result of the call.
getMessage()
- Method in interface ikrs.json.rpc.
JSONRPCError
Get the RPC result of the call.
getMethod()
- Method in class ikrs.json.rpc.
DefaultJSONRPCRequest
Get the request's method name.
getMethod()
- Method in interface ikrs.json.rpc.
JSONRPCRequest
Get the request's method name.
getNumber()
- Method in class ikrs.json.
AbstractJSONValue
Get the number from this JSON value.
getNumber()
- Method in class ikrs.json.
JSONNumber
Get the number from this JSON value.
getNumber()
- Method in interface ikrs.json.
JSONValue
Get the number from this JSON value.
getObject()
- Method in class ikrs.json.
AbstractJSONValue
Get the object value as a Map from this JSON value.
getObject()
- Method in class ikrs.json.
JSONObject
Get the object value as a Map from this JSON value.
getObject()
- Method in interface ikrs.json.
JSONValue
Get the object value as a Map from this JSON value.
getParams()
- Method in class ikrs.json.rpc.
DefaultJSONRPCRequest
Get the request's method params.
getParams()
- Method in interface ikrs.json.rpc.
JSONRPCRequest
Get the request's method params.
getReadPosition()
- Method in class ikrs.json.parser.
JSONParser
Get the parser's current read position inside the input stream.
getReadPosition()
- Method in exception ikrs.json.parser.
JSONSyntaxException
Get the read position where the error was detected.
getResult()
- Method in class ikrs.json.parser.
ConfigurableJSONBuilder
getResult()
- Method in class ikrs.json.rpc.
DefaultJSONRPCResponse
Get the RPC result of the call.
getResult()
- Method in interface ikrs.json.rpc.
JSONRPCResponse
Get the RPC result of the call.
getString()
- Method in class ikrs.json.
AbstractJSONValue
Get the string from this JSON value.
getString()
- Method in class ikrs.json.
JSONString
Get the string from this JSON value.
getString()
- Method in interface ikrs.json.
JSONValue
Get the string from this JSON value.
getTypeName()
- Method in class ikrs.json.
AbstractJSONValue
getVersion()
- Method in class ikrs.json.rpc.
DefaultJSONRPCRequest
This method returns the value of the 'jsonrpc' field from this request.
getVersion()
- Method in class ikrs.json.rpc.
DefaultJSONRPCResponse
This method returns the value of the 'jsonrpc' field from this request.
getVersion()
- Method in interface ikrs.json.rpc.
JSONRPCRequest
This method returns the value of the 'jsonrpc' field from this request.
getVersion()
- Method in interface ikrs.json.rpc.
JSONRPCResponse
This method returns the value of the 'jsonrpc' field from this request.
I
ikrs.json
- package ikrs.json
ikrs.json.parser
- package ikrs.json.parser
ikrs.json.rpc
- package ikrs.json.rpc
isArray()
- Method in class ikrs.json.
AbstractJSONValue
This method indicates if this JSON value is an array.
isArray()
- Method in interface ikrs.json.
JSONValue
This method indicates if this JSON value is an array.
isBoolean()
- Method in class ikrs.json.
AbstractJSONValue
This method indicates if this JSON value is a boolean.
isBoolean()
- Method in interface ikrs.json.
JSONValue
This method indicates if this JSON value is a boolean.
isNull()
- Method in class ikrs.json.
AbstractJSONValue
This method indicates if this is JSON NULL.
isNull()
- Method in interface ikrs.json.
JSONValue
This method indicates if this is JSON NULL.
isNumber()
- Method in class ikrs.json.
AbstractJSONValue
This method indicates if this JSON value is a number.
isNumber()
- Method in interface ikrs.json.
JSONValue
This method indicates if this JSON value is a number.
isObject()
- Method in class ikrs.json.
AbstractJSONValue
This method indicates if this JSON value is an object.
isObject()
- Method in interface ikrs.json.
JSONValue
This method indicates if this JSON value is an object.
isString()
- Method in class ikrs.json.
AbstractJSONValue
This method indicates if this JSON value is a string.
isString()
- Method in interface ikrs.json.
JSONValue
This method indicates if this JSON value is a string.
isValidTypeID(int)
- Method in class ikrs.json.
AbstractJSONValue
This method indicates if the passed type ID is supported by this class.
J
JSONArray
- Class in
ikrs.json
This is the JSON array subclass.
JSONArray()
- Constructor for class ikrs.json.
JSONArray
Creates a new empty JSON array backed by an internal ArrayList instance.
JSONArray(List<JSONValue>)
- Constructor for class ikrs.json.
JSONArray
Create a new JSON array.
JSONBoolean
- Class in
ikrs.json
This is the JSON boolean subclass.
JSONBoolean(Boolean)
- Constructor for class ikrs.json.
JSONBoolean
Create a new JSON boolean.
JSONBuilder
- Class in
ikrs.json.parser
JSONBuilder(Reader)
- Constructor for class ikrs.json.parser.
JSONBuilder
Creates a new JSONBuilder (not case sensitive).
JSONBuilder(Reader, boolean)
- Constructor for class ikrs.json.parser.
JSONBuilder
Creates a new JSONBuilder.
JSONBuilderExample
- Class in
ikrs.json.parser
JSONBuilderExample(Reader)
- Constructor for class ikrs.json.parser.
JSONBuilderExample
Creates a new JSONBuilderExample (not case sensitive).
JSONBuilderExample(Reader, boolean)
- Constructor for class ikrs.json.parser.
JSONBuilderExample
Creates a new JSONBuilderExample.
JSONException
- Exception in
ikrs.json
This is the default Exception that will be thrown if and JSON/type errors occur.
JSONException(String)
- Constructor for exception ikrs.json.
JSONException
Create a new JSONException.
JSONNull
- Class in
ikrs.json
JSONNull()
- Constructor for class ikrs.json.
JSONNull
Create a new JSON null.
JSONNumber
- Class in
ikrs.json
This is the JSON number subclass.
JSONNumber(Number)
- Constructor for class ikrs.json.
JSONNumber
Create a new JSON number.
JSONObject
- Class in
ikrs.json
JSONObject()
- Constructor for class ikrs.json.
JSONObject
Create a new JSON object.
JSONObject(Map<String, JSONValue>)
- Constructor for class ikrs.json.
JSONObject
Create a new JSON object.
JSONParser
- Class in
ikrs.json.parser
JSONParser(Reader)
- Constructor for class ikrs.json.parser.
JSONParser
Creates a new JSONParser (in case-insensitive mode).
JSONParser(Reader, boolean)
- Constructor for class ikrs.json.parser.
JSONParser
Creates a new JSONParser.
JSONRPCError
- Interface in
ikrs.json.rpc
JSONRPCException
- Exception in
ikrs.json.rpc
JSONRPCException(String)
- Constructor for exception ikrs.json.rpc.
JSONRPCException
JSONRPCHandler
- Class in
ikrs.json.rpc
This is the RPC handler which translates JSONRPC requests into method calls.
JSONRPCHandler()
- Constructor for class ikrs.json.rpc.
JSONRPCHandler
Create a new empty JSON-RPC handler.
JSONRPCRequest
- Interface in
ikrs.json.rpc
JSONRPCResponse
- Interface in
ikrs.json.rpc
JSONRPCValueFactory
- Class in
ikrs.json.rpc
This class has only one purpose: create a JSONRPCRequest instead of a normal JSONValue when the outer parent object was read.
JSONRPCValueFactory()
- Constructor for class ikrs.json.rpc.
JSONRPCValueFactory
JSONString
- Class in
ikrs.json
This is the JSON string subclass.
JSONString(String)
- Constructor for class ikrs.json.
JSONString
Create a new JSON string.
JSONSyntaxException
- Exception in
ikrs.json.parser
JSONSyntaxException(String)
- Constructor for exception ikrs.json.parser.
JSONSyntaxException
Create a new JSONException.
JSONSyntaxException(String, int, int, int)
- Constructor for exception ikrs.json.parser.
JSONSyntaxException
Create a new JSONException.
JSONValue
- Interface in
ikrs.json
JSONValueFactory
- Interface in
ikrs.json.parser
M
main(String[])
- Static method in class ikrs.json.
JSONObject
For testing purposes only.
main(String[])
- Static method in class ikrs.json.parser.
ConfigurableJSONBuilder
For testing purposes only.
main(String[])
- Static method in class ikrs.json.parser.
JSONBuilder
For testing purposes only.
main(String[])
- Static method in class ikrs.json.parser.
JSONBuilderExample
For testing purposes only.
main(String[])
- Static method in class ikrs.json.parser.
JSONParser
For testing purposes only.
main(String[])
- Static method in class ikrs.json.rpc.
JSONRPCHandler
For testign purposes only.
N
NULL
- Static variable in interface ikrs.json.
JSONValue
This is a public shared instance that should be used for JSON null.
P
parse()
- Method in class ikrs.json.parser.
JSONParser
Start the parser.
parseBoolean(String, boolean)
- Static method in class ikrs.json.
JSONBoolean
This static method is the equivalent to Java's Boolean.parseBoolean(String).
parseJSONBoolean(String, boolean)
- Static method in class ikrs.json.
JSONBoolean
This static method is the equivalent to Java's Boolean.parseBoolean(String).
parseJSONNumber(String)
- Static method in class ikrs.json.
JSONNumber
This static method is the equivalent to Java's Integer.parseInt(String) respective Double.parseDouble(String).
parseNumber(String)
- Static method in class ikrs.json.
JSONNumber
This static method is the equivalent to Java's Integer.parseInt(String) respective Double.parseDouble(String).
printStackTrace()
- Method in exception ikrs.json.parser.
JSONSyntaxException
R
removeInvocationTarget(String)
- Method in class ikrs.json.rpc.
JSONRPCHandler
Removes the invocation target with the given name.
RPCInvocationTarget
- Interface in
ikrs.json.rpc
The RPCInvocationTarget interface must be implemented by classes that should be accessible by the RPCHandler.
T
TestInvocationTarget
- Class in
ikrs.json.rpc
This is an abstract RPCMethodInvocationTarget implementation.
TestInvocationTarget()
- Constructor for class ikrs.json.rpc.
TestInvocationTarget
toJSONString()
- Method in class ikrs.json.
AbstractJSONValue
Converts this JSON value into a valid JSON string.
toJSONString()
- Method in interface ikrs.json.
JSONValue
Converts this JSON value into a valid JSON string.
toString()
- Method in class ikrs.json.
JSONArray
toString()
- Method in class ikrs.json.
JSONBoolean
toString()
- Method in class ikrs.json.
JSONNull
toString()
- Method in class ikrs.json.
JSONNumber
toString()
- Method in class ikrs.json.
JSONObject
toString()
- Method in class ikrs.json.
JSONString
Note: this method does not (!) return a valid JSON string value!
TRUE
- Static variable in interface ikrs.json.
JSONValue
This is a public shared instance that should be used for JSON true.
TYPE_ARRAY
- Static variable in interface ikrs.json.
JSONValue
The type constant for arrays.
TYPE_BOOLEAN
- Static variable in interface ikrs.json.
JSONValue
The type constant for boolean values.
TYPE_NULL
- Static variable in interface ikrs.json.
JSONValue
The constant indicating null.
TYPE_NUMBER
- Static variable in interface ikrs.json.
JSONValue
The type constant for numbers.
TYPE_OBJECT
- Static variable in interface ikrs.json.
JSONValue
The type constant for objects.
TYPE_STRING
- Static variable in interface ikrs.json.
JSONValue
The type constant for strings.
W
write(Writer)
- Method in class ikrs.json.
AbstractJSONValue
This method MUST write a valid JSON value to the passed writer.
write(Writer)
- Method in class ikrs.json.
JSONArray
This method MUST write a valid JSON value to the passed writer.
write(Writer)
- Method in class ikrs.json.
JSONBoolean
This method MUST write a valid JSON value to the passed writer.
write(Writer)
- Method in class ikrs.json.
JSONNull
This method MUST write a valid JSON value to the passed writer.
write(Writer)
- Method in class ikrs.json.
JSONNumber
This method MUST write a valid JSON value to the passed writer.
write(Writer)
- Method in class ikrs.json.
JSONObject
This method MUST write a valid JSON value to the passed writer.
write(Writer)
- Method in class ikrs.json.
JSONString
This method MUST write a valid JSON value to the passed writer.
write(Writer)
- Method in interface ikrs.json.
JSONValue
This method MUST write a valid JSON value to the passed writer.
writeJSON(Writer, String)
- Static method in class ikrs.json.
JSONString
A
B
C
D
F
G
I
J
M
N
P
R
T
W
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes