Package | Description |
---|---|
org.infinispan.schematic.document | |
org.infinispan.schematic.internal.document | |
org.modeshape.jcr |
Modifier and Type | Method and Description |
---|---|
Document |
DocumentSequence.nextDocument()
Get the next document.
|
static Document |
Json.read(InputStream stream)
Read the JSON representation from supplied input stream and construct the
Document representation, using the
default character set . |
static Document |
Json.read(InputStream stream,
boolean introspectStringValues)
Read the JSON representation from supplied input stream and construct the
Document representation, using the
default character set . |
static Document |
Json.read(InputStream stream,
Charset charset)
Read the JSON representation from supplied input stream and construct the
Document representation, using the
supplied character set . |
static Document |
Json.read(Reader reader)
Read the JSON representation from supplied input stream and construct the
Document representation. |
static Document |
Json.read(String json)
Read the supplied JSON representation and construct the
Document representation. |
static Document |
Json.read(URL url)
Read the JSON representation from supplied URL and construct the
Document representation, using the
default character set . |
Modifier and Type | Method and Description |
---|---|
ParsingException |
JsonReader.Tokenizer.error(String message) |
ParsingException |
JsonReader.Tokenizer.error(String message,
Throwable t) |
Modifier and Type | Method and Description |
---|---|
Object |
JsonReader.Parser.evaluateFunction(JsonReader.Parser.FunctionCall function)
Method that is called to evaluate the supplied function.
|
protected Object |
JsonReader.Parser.evaluateUnknownFunction(JsonReader.Parser.FunctionCall function)
Method that is called when the function call described by the parameter could not be evaluated.
|
protected char |
JsonReader.Tokenizer.next() |
String |
JsonReader.Tokenizer.next(int characterCount) |
boolean |
JsonReader.Tokenizer.nextDocumentDelim()
Consume the next document delimiter (either a ',' or a ';'), and return whether the end-of-document character (e.g.,
'}') has been consumed.
|
void |
JsonReader.Tokenizer.nextFieldDelim() |
String |
JsonReader.Tokenizer.nextNumber()
Return a string containing the next number on the stream.
|
String |
JsonReader.Tokenizer.nextString()
Read the next quoted string from the stream, where stream begins with the a single-quote or double-quote character and
the string ends with the same quote character.
|
String |
JsonReader.Tokenizer.nextString(char endQuote) |
char |
JsonReader.Tokenizer.nextUsefulChar() |
String |
JsonReader.Tokenizer.nextWord()
Return a string containing the next alpha-numeric word on the stream.
|
BasicArray |
JsonReader.Parser.parseArray()
Parse the JSON array on the stream, beginning with the '[' character until the ']' character, which is consumed.
|
Document |
JsonReader.Parser.parseDocument()
Parse the stream for the next JSON document.
|
protected Document |
JsonReader.Parser.parseDocument(AtomicBoolean hasReservedFieldNames,
boolean failIfNotValidDocument)
Parse the stream for the next JSON document.
|
Document |
JsonReader.Parser.parseDocument(boolean failIfNotValidDocument)
Parse the stream for the next JSON document.
|
Object |
JsonReader.Parser.parseFunction()
Parse a function call on the stream.
|
protected Object |
JsonReader.Parser.parseUnknownValue(String value,
int lineNumber,
int columnNumber)
Override this method if custom value types are expected.
|
Object |
JsonReader.Parser.parseValue()
Parse the stream for the next field value, which can be one of the following values:
a nested document
an array of values
a string literal, surrounded by single-quote characters
a string literal, surrounded by double-quote characters
a string literal date of the form
"yyyy-MM-ddTHH:mm:ss"
where T is a literal character
a string literal date of the form "yyyy-MM-ddTHH:mm:ssZ"
where T and Z are literal characters
a string literal date of the form
"yyyy-MM-ddTHH:mm:ssGMT+00:00" where
T , and GMT are literal characters
a string literal date of the form "/Date(millisOrIso)/"
a string literal date of the form "\/Date(millisOrIso)\/"
a date literal of the form new Date(millisOrIso)
a date literal of the form Date(millisOrIso)
a function of the form new functionName(parameters) where parameters
consists of one or more values as parsed by this method
Note that in the date forms listed above, millisOrIso is either a long value representing the
number of milliseconds since epoch or a string literal in ISO-8601 format representing a date and time. |
Object |
JsonReader.Parser.parseValue(String value,
int lineNumber,
int columnNumber)
Parse the value given by the supplied string located at the supplied line and column numbers.
|
char |
JsonReader.Tokenizer.peek() |
Document |
JsonReader.read(InputStream stream)
Read the JSON representation from supplied input stream and construct the
Document representation, using the
default character set . |
Document |
JsonReader.read(InputStream stream,
boolean introspectStringValues)
Read the JSON representation from supplied input stream and construct the
Document representation, using the
default character set . |
Document |
JsonReader.read(InputStream stream,
Charset charset)
Read the JSON representation from supplied input stream and construct the
Document representation, using the
supplied character set . |
Document |
JsonReader.read(InputStream stream,
Charset charset,
boolean introspectStringValues)
Read the JSON representation from supplied input stream and construct the
Document representation, using the
supplied character set . |
Document |
JsonReader.read(Reader reader)
Read the JSON representation from supplied input stream and construct the
Document representation. |
Document |
JsonReader.read(Reader reader,
boolean introspectStringValues)
Read the JSON representation from supplied input stream and construct the
Document representation. |
Document |
JsonReader.read(String json)
Read the JSON representation from supplied string and construct the
Document representation. |
Document |
JsonReader.read(String json,
boolean introspectStringValues)
Read the JSON representation from supplied string and construct the
Document representation. |
Document |
JsonReader.read(URL url)
Read the JSON representation from supplied URL and construct the
Document representation, using the
default character set . |
Modifier and Type | Method and Description |
---|---|
static RepositoryConfiguration |
RepositoryConfiguration.read(File file)
Read the supplied JSON file and parse into a
RepositoryConfiguration . |
static RepositoryConfiguration |
RepositoryConfiguration.read(InputStream stream,
String name)
Read the supplied stream containing a JSON file, and parse into a
RepositoryConfiguration . |
static RepositoryConfiguration |
RepositoryConfiguration.read(String resourcePathOrJsonContentString)
Read the repository configuration given by the supplied path to a file on the file system, the path a classpath resource
file, or a string containg the actual JSON content.
|
static RepositoryConfiguration |
RepositoryConfiguration.read(URL url)
Resolve the supplied URL to a JSON document, read the contents, and parse into a
RepositoryConfiguration . |
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.