Interface | Description |
---|---|
ContextParser<Context,T> |
Reads an object from a parser using some context.
|
ObjectParser.NamedObjectParser<T,Context> |
Functional interface for instantiating and parsing named objects.
|
ObjectParser.Parser<Value,Context> | |
StatusToXContentObject |
Objects that can both render themselves in as json/yaml/etc and can provide a
RestStatus for their response. |
ToXContent |
An interface allowing to transfer an object to "XContent" using an
XContentBuilder . |
ToXContent.Params | |
ToXContentObject |
An interface allowing to transfer an object to "XContent" using an
XContentBuilder . |
XContent |
A generic abstraction on top of handling content, inspired by JSON and pull parsing.
|
XContentGenerator | |
XContentParser |
Interface for pull - parsing
XContent see XContentType for supported types. |
Class | Description |
---|---|
AbstractObjectParser<Value,Context> |
Superclass for
ObjectParser and ConstructingObjectParser . |
ConstructingObjectParser<Value,Context> |
Like
ObjectParser but works with objects that have constructors whose arguments are mixed in with its other settings. |
NamedXContentRegistry | |
NamedXContentRegistry.Entry |
An entry in the NamedXContentRegistry containing the name of the object and the parser that can parse it.
|
ObjectParser<Value,Context> |
A declarative, stateless parser that turns XContent into setter calls.
|
ParseFieldRegistry<T> |
Registry for looking things up using ParseField semantics.
|
ToXContent.DelegatingMapParams | |
ToXContent.MapParams | |
XContentBuilder |
A utility to build XContent (ie json).
|
XContentFactory |
A one stop to use
XContent and XContentBuilder . |
XContentHelper | |
XContentLocation |
Simple data structure representing the line and column number of a position
in some XContent e.g.
|
XContentParserUtils |
A set of static methods to get
XContentParser.Token from XContentParser
while checking for their types and throw ParsingException if needed. |
Enum | Description |
---|---|
ObjectParser.ValueType | |
XContentParser.NumberType | |
XContentParser.Token | |
XContentType |
The content type of
XContent . |
Exception | Description |
---|---|
NamedXContentRegistry.UnknownNamedObjectException |
Thrown when
NamedXContentRegistry.parseNamedObject(Class, String, XContentParser, Object) is called with an unregistered
name. |