java.lang.Object
org.elasticsearch.xcontent.FilterXContentParser
org.elasticsearch.xcontent.FilterXContentParserWrapper
org.elasticsearch.xcontent.CopyingXContentParser
- All Implemented Interfaces:
- Closeable,- AutoCloseable,- XContentParser
A parser that copies data that was parsed into a 
XContentBuilder.
 This parser naturally has some memory and runtime overhead to perform said copying.
 Use with XContentSubParser to preserve the entire object.- 
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, close, contentType, currentName, currentToken, doubleValue, doubleValue, floatValue, floatValue, getDeprecationHandler, getRestApiVersion, getTokenLocation, getXContentRegistry, hasTextCharacters, intValue, intValue, isBooleanValue, isClosed, list, listOrderedMap, longValue, longValue, map, map, mapOrdered, mapStrings, namedObject, numberType, numberValue, objectBytes, objectText, optimizedText, optimizedTextOrNull, shortValue, shortValue, skipChildren, 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- 
CopyingXContentParser- Throws:
- IOException
 
 
- 
- 
Method Details- 
nextToken- Specified by:
- nextTokenin interface- XContentParser
- Overrides:
- nextTokenin class- FilterXContentParser
- Throws:
- IOException
 
- 
getBuilder
 
-