@NotNull PrismParser |
PrismParser.compat() |
Switches the parser into "compatibility" (or relaxed) parsing mode.
|
@NotNull PrismParser |
PrismParser.context(@NotNull ParsingContext context) |
Provides a parsing context for the parser.
|
@NotNull PrismParser |
PrismParser.definition(ItemDefinition<?> itemDefinition) |
Tells parser which definition to use when parsing item (or an item value).
|
@NotNull PrismParser |
PrismParser.json() |
Sets the language of the parser to be JSON.
|
@NotNull PrismParser |
PrismParser.language(@Nullable String language) |
For string inputs: sets the data language that the parser will try to parse; null means auto-detect.
|
@NotNull PrismParser |
PrismParser.name(QName itemName) |
Tells parser what name to use for parsed item.
|
@NotNull PrismParser |
PrismContext.parserFor(@NotNull File file) |
Creates a parser ready to process the given file.
|
@NotNull PrismParser |
PrismContext.parserFor(@NotNull InputStream stream) |
Creates a parser ready to process data from the given input stream.
|
@NotNull PrismParser |
PrismParser.strict() |
Switches the parser into "strict" parsing mode.
|
@NotNull PrismParser |
PrismParser.type(Class<?> typeClass) |
Tells parser what data type to expect.
|
@NotNull PrismParser |
PrismParser.type(QName typeName) |
Tells parser what data type to expect.
|
@NotNull PrismParser |
PrismParser.xml() |
Sets the language of the parser to be XML.
|
@NotNull PrismParser |
PrismParser.yaml() |
Sets the language of the parser to be YAML.
|