java.lang.Object
org.elasticsearch.xcontent.FilterXContentParser
org.elasticsearch.xcontent.FilterXContentParserWrapper
org.elasticsearch.xcontent.XContentSubParser
- All Implemented Interfaces:
- Closeable,- AutoCloseable,- XContentParser
- Direct Known Subclasses:
- FlatteningXContentParser
Wrapper for a XContentParser that makes a single object/array look like a complete document.
 The wrapper prevents the parsing logic to consume tokens outside of the wrapped object as well
 as skipping to the end of the object in case of a parsing error. The wrapper is intended to be
 used for parsing objects that should be ignored if they are malformed.
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.elasticsearch.xcontent.XContentParserXContentParser.NumberType, XContentParser.Token
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.elasticsearch.xcontent.FilterXContentParserWrapperdelegateMethods inherited from class org.elasticsearch.xcontent.FilterXContentParserallowDuplicateKeys, binaryValue, booleanValue, charBuffer, charBufferOrNull, contentType, currentName, currentToken, doubleValue, doubleValue, floatValue, floatValue, getDeprecationHandler, getRestApiVersion, getTokenLocation, getXContentRegistry, hasTextCharacters, intValue, intValue, isBooleanValue, list, listOrderedMap, longValue, longValue, map, map, mapOrdered, mapStrings, namedObject, numberType, numberValue, objectBytes, objectText, optimizedText, optimizedTextOrNull, shortValue, shortValue, text, textCharacters, textLength, textOffset, textOrNullMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.XContentParsernextFieldName
- 
Constructor Details- 
XContentSubParser
 
- 
- 
Method Details- 
nextToken- Specified by:
- nextTokenin interface- XContentParser
- Overrides:
- nextTokenin class- FilterXContentParser
- Throws:
- IOException
 
- 
skipChildren- Specified by:
- skipChildrenin interface- XContentParser
- Overrides:
- skipChildrenin class- FilterXContentParser
- Throws:
- IOException
 
- 
isClosedpublic boolean isClosed()- Specified by:
- isClosedin interface- XContentParser
- Overrides:
- isClosedin class- FilterXContentParser
 
- 
close- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Overrides:
- closein class- FilterXContentParser
- Throws:
- IOException
 
 
-