Package | Description |
---|---|
com.evolveum.midpoint.common.rest | |
com.evolveum.midpoint.prism |
Modifier and Type | Method and Description |
---|---|
protected PrismParser |
MidpointYamlProvider.getParser(InputStream entityStream) |
protected PrismParser |
MidpointXmlProvider.getParser(InputStream entityStream) |
protected PrismParser |
MidpointJsonProvider.getParser(InputStream entityStream) |
protected abstract PrismParser |
MidpointAbstractProvider.getParser(InputStream entityStream) |
Modifier and Type | Interface and Description |
---|---|
interface |
PrismParserNoIO
The same as PrismParser but has no IOException on parseXYZ methods.
|
Modifier and Type | Method and Description |
---|---|
PrismParser |
PrismParser.compat()
Switches the parser into "compatibility" (or relaxed) parsing mode.
|
PrismParser |
PrismParser.context(ParsingContext context)
Provides a parsing context for the parser.
|
PrismParser |
PrismParser.definition(ItemDefinition<?> itemDefinition)
Tells parser which definition to use when parsing item (or an item value).
|
PrismParser |
PrismParser.json()
Sets the language of the parser to be JSON.
|
PrismParser |
PrismParser.language(String language)
For string inputs: sets the data language that the parser will try to parse; null means auto-detect.
|
PrismParser |
PrismParser.name(QName itemName)
Tells parser what name to use for parsed item.
|
PrismParser |
PrismContext.parserFor(File file)
Creates a parser ready to process the given file.
|
PrismParser |
PrismContext.parserFor(InputStream stream)
Creates a parser ready to process data from the given input stream.
|
PrismParser |
PrismParser.strict()
Switches the parser into "strict" parsing mode.
|
PrismParser |
PrismParser.type(Class<?> typeClass)
Tells parser what data type to expect.
|
PrismParser |
PrismParser.type(QName typeName)
Tells parser what data type to expect.
|
PrismParser |
PrismParser.xml()
Sets the language of the parser to be XML.
|
PrismParser |
PrismParser.yaml()
Sets the language of the parser to be YAML.
|
Copyright © 2019 Evolveum. All rights reserved.