Skip navigation links
A B C E G H J M N O P R S T V 

A

appendNextString(StringBuilder, int) - Method in class net.markenwerk.utils.json.parser.CharacterArrayJsonSource
 
appendNextString(StringBuilder, int) - Method in interface net.markenwerk.utils.json.parser.JsonSource
Consumes and appends the next characters in the character sequence to the given StringBuilder.
appendNextString(StringBuilder, int) - Method in class net.markenwerk.utils.json.parser.ReaderJsonSource
 
appendNextString(StringBuilder, int) - Method in class net.markenwerk.utils.json.parser.StringJsonSource
 

B

beginArray() - Method in interface net.markenwerk.utils.json.parser.JsonPullParser
Ensures that the current JsonState is JsonState.ARRAY_BEGIN and consumes the beginning of a JSON array.
beginArray() - Method in class net.markenwerk.utils.json.parser.JsonSourcePullParser
 
beginDocument() - Method in interface net.markenwerk.utils.json.parser.JsonPullParser
Ensures that the current JsonState is JsonState.DOCUMENT_BEGIN and consumes the begin of the JSON document.
beginDocument() - Method in class net.markenwerk.utils.json.parser.JsonSourcePullParser
 
beginObject() - Method in interface net.markenwerk.utils.json.parser.JsonPullParser
Ensures that the current JsonState is JsonState.OBJECT_BEGIN and consumes the beginning of a JSON object.
beginObject() - Method in class net.markenwerk.utils.json.parser.JsonSourcePullParser
 
BYTE_ORDER_MARK - Static variable in interface net.markenwerk.utils.json.parser.JsonSource
A char that represents the Unicode byte order mark.

C

CharacterArrayJsonSource - Class in net.markenwerk.utils.json.parser
A CharacterArrayJsonSource is a JsonSource that is backed by a given char[].
CharacterArrayJsonSource(char[]) - Constructor for class net.markenwerk.utils.json.parser.CharacterArrayJsonSource
Creates a new CharacterArrayJsonSource for the given String.
close() - Method in class net.markenwerk.utils.json.parser.CharacterArrayJsonSource
 
close() - Method in class net.markenwerk.utils.json.parser.JsonSourcePullParser
 
close() - Method in class net.markenwerk.utils.json.parser.JsonSourcePushParser
 
close() - Method in class net.markenwerk.utils.json.parser.ReaderJsonSource
 
close() - Method in class net.markenwerk.utils.json.parser.StringJsonSource
 
currentState() - Method in interface net.markenwerk.utils.json.parser.JsonPullParser
Reads, if necessary, from the underlying Reader and describes the current JsonState of this JsonSourcePullParser, which describes the next type of value or structural element of the JSON document.
currentState() - Method in class net.markenwerk.utils.json.parser.JsonSourcePullParser
 

E

endArray() - Method in interface net.markenwerk.utils.json.parser.JsonPullParser
Ensures that the current JsonState is JsonState.ARRAY_END and consumes the end of the JSON array.
endArray() - Method in class net.markenwerk.utils.json.parser.JsonSourcePullParser
 
endDocument() - Method in interface net.markenwerk.utils.json.parser.JsonPullParser
Ensures that the current JsonState is JsonState.DOCUMENT_END and consumes the end of the JSON document.
endDocument() - Method in class net.markenwerk.utils.json.parser.JsonSourcePullParser
 
endObject() - Method in interface net.markenwerk.utils.json.parser.JsonPullParser
Ensures that the current JsonState is JsonState.OBJECT_END and consumes the end of the JSON object.
endObject() - Method in class net.markenwerk.utils.json.parser.JsonSourcePullParser
 

G

getAvailable() - Method in class net.markenwerk.utils.json.parser.CharacterArrayJsonSource
 
getAvailable() - Method in interface net.markenwerk.utils.json.parser.JsonSource
Returns the amount of currently available characters.
getAvailable() - Method in class net.markenwerk.utils.json.parser.ReaderJsonSource
 
getAvailable() - Method in class net.markenwerk.utils.json.parser.StringJsonSource
 
getColumn() - Method in class net.markenwerk.utils.json.parser.CharacterArrayJsonSource
 
getColumn() - Method in interface net.markenwerk.utils.json.parser.JsonPullParser
Returns the column that corresponds to the current position of the underlying JsonSource in the character sequence, as if the character source was a regular file.
getColumn() - Method in interface net.markenwerk.utils.json.parser.JsonPushParser
Returns the column that corresponds to the current position of the underlying JsonSource in the character sequence, as if the character source was a regular file.
getColumn() - Method in interface net.markenwerk.utils.json.parser.JsonSource
Returns the column that corresponds to the current position of this JsonSource in the character sequence, as if the character source was a regular file.
getColumn() - Method in class net.markenwerk.utils.json.parser.JsonSourcePullParser
 
getColumn() - Method in class net.markenwerk.utils.json.parser.JsonSourcePushParser
 
getColumn() - Method in exception net.markenwerk.utils.json.parser.JsonSyntaxException
Returns the column in the JSON document, where the syntax error occurred.
getColumn() - Method in class net.markenwerk.utils.json.parser.ReaderJsonSource
 
getColumn() - Method in class net.markenwerk.utils.json.parser.StringJsonSource
 
getDescription() - Method in enum net.markenwerk.utils.json.parser.JsonSyntaxError
Returns a description of this JsonSyntaxError.
getError() - Method in exception net.markenwerk.utils.json.parser.JsonSyntaxException
Returns the syntax error.
getExpectation() - Method in enum net.markenwerk.utils.json.parser.JsonSyntaxError
Returns a description of an unfulfilled expectation, that caused this JsonSyntaxError.
getFuture(int) - Method in class net.markenwerk.utils.json.parser.CharacterArrayJsonSource
 
getFuture(int) - Method in interface net.markenwerk.utils.json.parser.JsonSource
Returns some of the characters havn't been consumed yet, beginning with the next character to be consumed, if already available, or an empty String otherwise.
getFuture() - Method in exception net.markenwerk.utils.json.parser.JsonSyntaxException
Returns a few characters from the parsed character stream, that come after the syntax error, if already cached.
getFuture(int) - Method in class net.markenwerk.utils.json.parser.ReaderJsonSource
 
getFuture(int) - Method in class net.markenwerk.utils.json.parser.StringJsonSource
 
getLine() - Method in class net.markenwerk.utils.json.parser.CharacterArrayJsonSource
 
getLine() - Method in interface net.markenwerk.utils.json.parser.JsonPullParser
Returns the line that corresponds to the current position of the underlying JsonSource in the character sequence, as if the character source was a regular file.
getLine() - Method in interface net.markenwerk.utils.json.parser.JsonPushParser
Returns the line that corresponds to the current position of the underlying JsonSource in the character sequence, as if the character source was a regular file.
getLine() - Method in interface net.markenwerk.utils.json.parser.JsonSource
Returns the line that corresponds to the current position of this JsonSource in the character sequence, as if the character source was a regular file.
getLine() - Method in class net.markenwerk.utils.json.parser.JsonSourcePullParser
 
getLine() - Method in class net.markenwerk.utils.json.parser.JsonSourcePushParser
 
getLine() - Method in exception net.markenwerk.utils.json.parser.JsonSyntaxException
Returns the line in the JSON document, where the syntax error occurred.
getLine() - Method in class net.markenwerk.utils.json.parser.ReaderJsonSource
 
getLine() - Method in class net.markenwerk.utils.json.parser.StringJsonSource
 
getMessage() - Method in exception net.markenwerk.utils.json.parser.JsonSyntaxException
 
getPast(int) - Method in class net.markenwerk.utils.json.parser.CharacterArrayJsonSource
 
getPast(int) - Method in interface net.markenwerk.utils.json.parser.JsonSource
Returns some of the characters that already have been consumed, ending with the last consumed character, if still available, or an empty String otherwise.
getPast() - Method in exception net.markenwerk.utils.json.parser.JsonSyntaxException
Returns a few characters from the parsed character stream, that came before the syntax error, if still cached.
getPast(int) - Method in class net.markenwerk.utils.json.parser.ReaderJsonSource
 
getPast(int) - Method in class net.markenwerk.utils.json.parser.StringJsonSource
 
getResult() - Method in interface net.markenwerk.utils.json.parser.JsonHandler
Returns the calculated result.

H

handle(JsonHandler<Result>) - Method in interface net.markenwerk.utils.json.parser.JsonPushParser
Handle the character sequence from the JsonSource and report to the JsonHandler.
handle(JsonHandler<Result>) - Method in class net.markenwerk.utils.json.parser.JsonSourcePushParser
 
handle(JsonHandler<Result>, JsonParserMode...) - Method in class net.markenwerk.utils.json.parser.JsonSourcePushParser
Handle the character sequence from the JsonSource and report to the JsonHandler.
hasNext() - Method in interface net.markenwerk.utils.json.parser.JsonPullParser
Returns whether the current JSON array or JSON object has more elements.
hasNext() - Method in class net.markenwerk.utils.json.parser.JsonSourcePullParser
 

J

JsonHandler<Result> - Interface in net.markenwerk.utils.json.parser
A JsonHandler handles the events that are generated by a JsonPushParser and calculates a result.
JsonParserMode - Enum in net.markenwerk.utils.json.parser
A JsonParserMode is a configuration flag that modifies the execution of a JsonSourcePullParser or a JsonSourcePushParser.
JsonPullParser - Interface in net.markenwerk.utils.json.parser
A JsonPullParser is an event based JSON parser.
JsonPushParser - Interface in net.markenwerk.utils.json.parser
A JsonPullParser is an event based JSON parser.
JsonSource - Interface in net.markenwerk.utils.json.parser
A JsonSource represents access to a sequence of characters to be used used by a JsonPullParser.
JsonSourcePullParser - Class in net.markenwerk.utils.json.parser
JsonSourcePullParser(String) - Constructor for class net.markenwerk.utils.json.parser.JsonSourcePullParser
Creates a new JsonSourcePullParser for the given String.
JsonSourcePullParser(char[]) - Constructor for class net.markenwerk.utils.json.parser.JsonSourcePullParser
Creates a new JsonSourcePullParser for the given char[].
JsonSourcePullParser(Reader) - Constructor for class net.markenwerk.utils.json.parser.JsonSourcePullParser
Creates a new JsonSourcePullParser for the given Reader.
JsonSourcePullParser(Reader, int) - Constructor for class net.markenwerk.utils.json.parser.JsonSourcePullParser
Creates a new JsonSourcePullParser for the given Reader.
JsonSourcePullParser(JsonSource) - Constructor for class net.markenwerk.utils.json.parser.JsonSourcePullParser
Creates a new JsonSourcePullParser for the given JsonSource.
JsonSourcePullParser(JsonSource, JsonParserMode...) - Constructor for class net.markenwerk.utils.json.parser.JsonSourcePullParser
Creates a new JsonSourcePullParser for the given JsonSource.
JsonSourcePushParser - Class in net.markenwerk.utils.json.parser
A JsonSourcePushParser is a stream based JSON parser.
JsonSourcePushParser(String) - Constructor for class net.markenwerk.utils.json.parser.JsonSourcePushParser
Creates a new JsonSourcePushParser for the given String.
JsonSourcePushParser(char[]) - Constructor for class net.markenwerk.utils.json.parser.JsonSourcePushParser
Creates a new JsonSourcePushParser for the given char[].
JsonSourcePushParser(Reader) - Constructor for class net.markenwerk.utils.json.parser.JsonSourcePushParser
Creates a new JsonSourcePushParser for the given Reader.
JsonSourcePushParser(Reader, int) - Constructor for class net.markenwerk.utils.json.parser.JsonSourcePushParser
Creates a new JsonSourcePushParser for the given Reader.
JsonSourcePushParser(JsonSource) - Constructor for class net.markenwerk.utils.json.parser.JsonSourcePushParser
Creates a new JsonSourcePushParser for the given JsonSource.
JsonState - Enum in net.markenwerk.utils.json.parser
A JsonState describes the current state of a JsonPullParser and determines which methods may be called successfully next.
JsonSyntaxError - Enum in net.markenwerk.utils.json.parser
A JsonSyntaxError describes the kinds of syntax error a JsonPullParser or a JsonPushParser may encounter.
JsonSyntaxException - Exception in net.markenwerk.utils.json.parser
A JsonSyntaxException indicates that a JsonPullParser or a JsonPushParser encountered a JSON syntax error while parsing a JSON document.
JsonSyntaxException(JsonSyntaxError, int, int, String, String) - Constructor for exception net.markenwerk.utils.json.parser.JsonSyntaxException
Creates a new JsonSyntaxException for the given components.

M

makeAvailable() - Method in class net.markenwerk.utils.json.parser.CharacterArrayJsonSource
 
makeAvailable(int) - Method in class net.markenwerk.utils.json.parser.CharacterArrayJsonSource
 
makeAvailable() - Method in interface net.markenwerk.utils.json.parser.JsonSource
Ensures that characters are available to be consumed, unless the character sequence has reached its end.
makeAvailable(int) - Method in interface net.markenwerk.utils.json.parser.JsonSource
Ensures that a given minimum of characters is available to be consumed.
makeAvailable() - Method in class net.markenwerk.utils.json.parser.ReaderJsonSource
 
makeAvailable(int) - Method in class net.markenwerk.utils.json.parser.ReaderJsonSource
 
makeAvailable() - Method in class net.markenwerk.utils.json.parser.StringJsonSource
 
makeAvailable(int) - Method in class net.markenwerk.utils.json.parser.StringJsonSource
 

N

net.markenwerk.utils.json.parser - package net.markenwerk.utils.json.parser
 
nextBoolean() - Method in interface net.markenwerk.utils.json.parser.JsonPullParser
Ensures that the current JsonState is JsonState.BOOLEAN and consumes and returns the corresponding value.
nextBoolean() - Method in class net.markenwerk.utils.json.parser.JsonSourcePullParser
 
nextByte() - Method in interface net.markenwerk.utils.json.parser.JsonPullParser
Ensures that the current JsonState is JsonState.LONG and consumes and returns the corresponding value as a byte.
nextByte() - Method in class net.markenwerk.utils.json.parser.JsonSourcePullParser
 
nextCharacter() - Method in class net.markenwerk.utils.json.parser.CharacterArrayJsonSource
 
nextCharacter() - Method in interface net.markenwerk.utils.json.parser.JsonPullParser
Ensures that the current JsonState is JsonState.LONG and consumes and returns the corresponding value as a char.
nextCharacter() - Method in interface net.markenwerk.utils.json.parser.JsonSource
Consumes and returns the next character in the character sequence.
nextCharacter() - Method in class net.markenwerk.utils.json.parser.JsonSourcePullParser
 
nextCharacter() - Method in class net.markenwerk.utils.json.parser.ReaderJsonSource
 
nextCharacter() - Method in class net.markenwerk.utils.json.parser.StringJsonSource
 
nextDouble() - Method in interface net.markenwerk.utils.json.parser.JsonPullParser
Ensures that the current JsonState is JsonState.DOUBLE and consumes and returns the corresponding value.
nextDouble() - Method in class net.markenwerk.utils.json.parser.JsonSourcePullParser
 
nextFloat() - Method in interface net.markenwerk.utils.json.parser.JsonPullParser
Ensures that the current JsonState is JsonState.DOUBLE and consumes and returns the corresponding value as a float.
nextFloat() - Method in class net.markenwerk.utils.json.parser.JsonSourcePullParser
 
nextInteger() - Method in interface net.markenwerk.utils.json.parser.JsonPullParser
Ensures that the current JsonState is JsonState.LONG and consumes and returns the corresponding value as a int.
nextInteger() - Method in class net.markenwerk.utils.json.parser.JsonSourcePullParser
 
nextLong() - Method in interface net.markenwerk.utils.json.parser.JsonPullParser
Ensures that the current JsonState is JsonState.LONG and consumes and returns the corresponding value.
nextLong() - Method in class net.markenwerk.utils.json.parser.JsonSourcePullParser
 
nextName() - Method in interface net.markenwerk.utils.json.parser.JsonPullParser
Ensures that the current JsonState is JsonState.NAME and consumes and returns the corresponding name of a JSON object entry.
nextName() - Method in class net.markenwerk.utils.json.parser.JsonSourcePullParser
 
nextNull() - Method in interface net.markenwerk.utils.json.parser.JsonPullParser
Ensures that the current JsonState is JsonState.NULL and consumes the null The next JsonState describes either the next sibling value of this JSON value or the end of surrounding JSON array or JSON object.
nextNull() - Method in class net.markenwerk.utils.json.parser.JsonSourcePullParser
 
nextShort() - Method in interface net.markenwerk.utils.json.parser.JsonPullParser
Ensures that the current JsonState is JsonState.LONG and consumes and returns the corresponding value as a short.
nextShort() - Method in class net.markenwerk.utils.json.parser.JsonSourcePullParser
 
nextString(int) - Method in class net.markenwerk.utils.json.parser.CharacterArrayJsonSource
 
nextString() - Method in interface net.markenwerk.utils.json.parser.JsonPullParser
Ensures that the current JsonState is JsonState.STRING and consumes and returns the corresponding value.
nextString(int) - Method in interface net.markenwerk.utils.json.parser.JsonSource
Consumes and returns the next characters in the character sequence.
nextString() - Method in class net.markenwerk.utils.json.parser.JsonSourcePullParser
 
nextString(int) - Method in class net.markenwerk.utils.json.parser.ReaderJsonSource
 
nextString(int) - Method in class net.markenwerk.utils.json.parser.StringJsonSource
 

O

onArrayBegin() - Method in interface net.markenwerk.utils.json.parser.JsonHandler
Called when the parsing of a JSON array started.
onArrayEnd() - Method in interface net.markenwerk.utils.json.parser.JsonHandler
Called when the parsing of a JSON array ended.
onBoolean(boolean) - Method in interface net.markenwerk.utils.json.parser.JsonHandler
Called when the parsing of a JSON object encountered a JSON boolean.
onDocumentBegin() - Method in interface net.markenwerk.utils.json.parser.JsonHandler
Called when the parsing of a JSON document started.
onDocumentEnd() - Method in interface net.markenwerk.utils.json.parser.JsonHandler
Called when the parsing of a JSON document ended.
onDouble(double) - Method in interface net.markenwerk.utils.json.parser.JsonHandler
Called when the parsing of a JSON object encountered a JSON number, that represents a decimal value.
onEndObject() - Method in interface net.markenwerk.utils.json.parser.JsonHandler
Called when the parsing of a JSON object ended.
onLong(long) - Method in interface net.markenwerk.utils.json.parser.JsonHandler
Called when the parsing of a JSON object encountered a JSON number, that represents an integer value.
onName(String) - Method in interface net.markenwerk.utils.json.parser.JsonHandler
Called when the parsing of a JSON object encountered the name for the next JSON value.
onNull() - Method in interface net.markenwerk.utils.json.parser.JsonHandler
Called when the parsing of a JSON object encountered a JSON null.
onObjectBegin() - Method in interface net.markenwerk.utils.json.parser.JsonHandler
Called when the parsing of a JSON object started.
onString(String) - Method in interface net.markenwerk.utils.json.parser.JsonHandler
Called when the parsing of a JSON object encountered a JSON string.

P

peekCharacter(int) - Method in class net.markenwerk.utils.json.parser.CharacterArrayJsonSource
 
peekCharacter(int) - Method in interface net.markenwerk.utils.json.parser.JsonSource
Returns a future character in the character sequence, without consuming it.
peekCharacter(int) - Method in class net.markenwerk.utils.json.parser.ReaderJsonSource
 
peekCharacter(int) - Method in class net.markenwerk.utils.json.parser.StringJsonSource
 

R

ReaderJsonSource - Class in net.markenwerk.utils.json.parser
A StringJsonSource is a JsonSource that is backed by a given Reader and buffers a small portion of the read characters in a char[].
ReaderJsonSource(Reader) - Constructor for class net.markenwerk.utils.json.parser.ReaderJsonSource
Creates a new StringJsonSource for the given Reader with the default buffer size.
ReaderJsonSource(Reader, int) - Constructor for class net.markenwerk.utils.json.parser.ReaderJsonSource
Creates a new StringJsonSource for the given Reader.
readString() - Method in interface net.markenwerk.utils.json.parser.JsonPullParser
Ensures that the current JsonState is JsonState.STRING and return a Reader that consumes the corresponding value.
readString() - Method in class net.markenwerk.utils.json.parser.JsonSourcePullParser
 

S

skipValue() - Method in interface net.markenwerk.utils.json.parser.JsonPullParser
Skips the current JSON value.
skipValue() - Method in class net.markenwerk.utils.json.parser.JsonSourcePullParser
 
StringJsonSource - Class in net.markenwerk.utils.json.parser
A StringJsonSource is a JsonSource that is backed by a given String.
StringJsonSource(String) - Constructor for class net.markenwerk.utils.json.parser.StringJsonSource
Creates a new StringJsonSource for the given String.

T

toString() - Method in class net.markenwerk.utils.json.parser.JsonSourcePullParser
 
toString() - Method in class net.markenwerk.utils.json.parser.JsonSourcePushParser
 
toString() - Method in exception net.markenwerk.utils.json.parser.JsonSyntaxException
 

V

valueOf(String) - Static method in enum net.markenwerk.utils.json.parser.JsonParserMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.markenwerk.utils.json.parser.JsonState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.markenwerk.utils.json.parser.JsonSyntaxError
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.markenwerk.utils.json.parser.JsonParserMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.markenwerk.utils.json.parser.JsonState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.markenwerk.utils.json.parser.JsonSyntaxError
Returns an array containing the constants of this enum type, in the order they are declared.
A B C E G H J M N O P R S T V 
Skip navigation links

Copyright © 2016 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.