Package | Description |
---|---|
com.codename1.rad.io |
Modifier and Type | Method and Description |
---|---|
ResultParser |
ResultParser.add(ResultParser... parsers)
Adds parsers to the parser group Parsers can be grouped together so that XML/JSON documents that contain more than
one type of entity can be parsed correctly.
|
ResultParser |
ResultParser.Boolean(String resultPropertySelector,
Property prop)
Adds a boolean property parser.
|
ResultParser |
ResultParser.Boolean(String resultPropertySelector,
Property prop,
ResultParser.PropertyParserCallback callback)
Adds a boolean property parser.
|
ResultParser |
ResultParser.Boolean(String resultPropertySelector,
ResultParser.PropertyParserCallback callback,
Tag... tags)
Adds a boolean property parser.
|
ResultParser |
ResultParser.Boolean(String resultPropertySelector,
Tag... tags)
Adds a boolean property parser.
|
ResultParser |
ResultParser.Boolean(String resultPropertySelector,
Tag tag,
ResultParser.PropertyParserCallback callback)
Adds a boolean property parser.
|
ResultParser |
ResultParser.Boolean(String resultPropertySelector,
Tag tag,
SimpleDateFormat dateFormat)
Adds a boolean property parser.
|
ResultParser |
ResultParser.Double(String resultPropertySelector,
Property prop)
Adds an double property parser.
|
ResultParser |
ResultParser.Double(String resultPropertySelector,
Property prop,
ResultParser.PropertyParserCallback callback)
Adds an double property parser.
|
ResultParser |
ResultParser.Double(String resultPropertySelector,
ResultParser.PropertyParserCallback callback,
Tag... tags)
Adds an double property parser.
|
ResultParser |
ResultParser.Double(String resultPropertySelector,
Tag... tags)
Adds an double property parser.
|
ResultParser |
ResultParser.Double(String resultPropertySelector,
Tag tag,
ResultParser.PropertyParserCallback callback)
Adds an double property parser.
|
ResultParser |
ResultParser.Double(String resultPropertySelector,
Tag tag,
SimpleDateFormat dateFormat)
Adds an double property parser.
|
ResultParser |
ResultParser.entityType(Class<? extends Entity> type) |
ResultParser |
ResultParser.entityType(EntityType type)
Creates and adds a new parser for the given entity type.
|
ResultParser |
ResultParser.getParserFor(EntityType type)
Gets the parser that is registered for the given entity type.
|
ResultParser |
ResultParser.getRootParser()
Gets the root parser of this parser group.
|
ResultParser |
ResultParser.Integer(String resultPropertySelector,
Property prop)
Adds an integer property parser.
|
ResultParser |
ResultParser.Integer(String resultPropertySelector,
Property prop,
ResultParser.PropertyParserCallback callback)
Adds an integer property parser.
|
ResultParser |
ResultParser.Integer(String resultPropertySelector,
ResultParser.PropertyParserCallback callback,
Tag... tags)
Adds an integer property parser.
|
ResultParser |
ResultParser.Integer(String resultPropertySelector,
Tag... tags)
Adds an integer property parser.
|
ResultParser |
ResultParser.Integer(String resultPropertySelector,
Tag tag,
ResultParser.PropertyParserCallback callback)
Adds an integer property parser.
|
ResultParser |
ResultParser.Integer(String resultPropertySelector,
Tag tag,
SimpleDateFormat dateFormat)
Adds an integer property parser.
|
ResultParser |
ResultParser.Long(String resultPropertySelector,
Property prop)
Adds a long property parser.
|
ResultParser |
ResultParser.Long(String resultPropertySelector,
Property prop,
ResultParser.PropertyParserCallback callback)
Adds a long property parser.
|
ResultParser |
ResultParser.Long(String resultPropertySelector,
ResultParser.PropertyParserCallback callback,
Tag... tags)
Adds a long property parser.
|
ResultParser |
ResultParser.Long(String resultPropertySelector,
Tag... tags)
Adds a long property parser.
|
ResultParser |
ResultParser.Long(String resultPropertySelector,
Tag tag,
ResultParser.PropertyParserCallback callback)
Adds a long property parser.
|
ResultParser |
ResultParser.Long(String resultPropertySelector,
Tag tag,
SimpleDateFormat dateFormat)
Adds a long property parser.
|
ResultParser |
ResultParser.property(String resultPropertySelector,
Property property)
Add support for parsing a particular property.
|
ResultParser |
ResultParser.property(String resultPropertySelector,
Property property,
ResultParser.PropertyParserCallback parserCallback)
Add support for parsing a particular property.
|
ResultParser |
ResultParser.property(String resultPropertySelector,
com.codename1.rad.io.ResultParser.Getter getter,
Property property)
Add support for parsing a particular property.
|
ResultParser |
ResultParser.property(String resultPropertySelector,
com.codename1.rad.io.ResultParser.Getter getter,
Property property,
ResultParser.PropertyParserCallback parserCallback)
Add support for parsing a particular property.
|
ResultParser |
ResultParser.property(String resultPropertySelector,
ResultParser.PropertyParserCallback parserCallback,
Tag... tags)
Add support for parsing a particular property.
|
ResultParser |
ResultParser.property(String resultPropertySelector,
Tag... tags)
Add support for parsing a particular property.
|
ResultParser |
ResultParser.property(String resultPropertySelector,
Tag tag,
ResultParser.PropertyParserCallback parserCallback)
Add support for parsing a particular property.
|
ResultParser |
ResultParser.property(String resultPropertySelector,
Tag tag,
SimpleDateFormat dateFormat)
Add support for parsing a particular property.
|
static ResultParser |
ResultParser.resultParser(Class<? extends Entity> type) |
static ResultParser |
ResultParser.resultParser(EntityType type) |
ResultParser |
ResultParser.string(String resultPropertySelector,
Property prop)
Adds a string property parser.
|
ResultParser |
ResultParser.string(String resultPropertySelector,
Property prop,
ResultParser.PropertyParserCallback callback)
Adds a string property parser.
|
ResultParser |
ResultParser.string(String resultPropertySelector,
ResultParser.PropertyParserCallback callback,
Tag... tags)
Adds a string property parser.
|
ResultParser |
ResultParser.string(String resultPropertySelector,
Tag... tags)
Adds a string property parser.
|
ResultParser |
ResultParser.string(String resultPropertySelector,
Tag tag,
ResultParser.PropertyParserCallback callback)
Adds a string property parser.
|
ResultParser |
ResultParser.string(String resultPropertySelector,
Tag tag,
SimpleDateFormat dateFormat)
Adds a string property parser.
|
Modifier and Type | Method and Description |
---|---|
ResultParser |
ResultParser.add(ResultParser... parsers)
Adds parsers to the parser group Parsers can be grouped together so that XML/JSON documents that contain more than
one type of entity can be parsed correctly.
|
<T extends Entity> |
ParsingService.parseJSON(InputStream content,
ResultParser parser,
T entity)
Parses JSON content using the provided parser.
|
<T extends Entity> |
ParsingService.parseJSON(Reader content,
ResultParser parser,
T entity)
Parses JSON content using the provided parser.
|
<T extends Entity> |
ParsingService.parseJSON(String content,
ResultParser parser,
T entity)
Parses JSON content using the provided parser.
|
<T extends Entity> |
ParsingService.parseXML(InputStream content,
ResultParser parser,
T entity)
Parses XML content using the provided parser.
|
<T extends Entity> |
ParsingService.parseXML(Reader content,
ResultParser parser,
T entity)
Parses XML content using the provided parser.
|
<T extends Entity> |
ParsingService.parseXML(String content,
ResultParser parser,
T entity)
Parses XML content using the provided parser.
|
Copyright © 2021. All Rights Reserved.