Class FilterXContentParser

java.lang.Object
org.elasticsearch.xcontent.FilterXContentParser
All Implemented Interfaces:
Closeable, AutoCloseable, XContentParser
Direct Known Subclasses:
FilterXContentParserWrapper

public abstract class FilterXContentParser extends Object implements XContentParser
Delegates every method to the parser returned by the delegate() method. To be used extended directly when the delegated parser may dynamically changed. Extend FilterXContentParserWrapper instead when the delegate is fixed and can be provided at construction time.