org.elasticsearch.common.xcontent.support
Class AbstractXContentParser
java.lang.Object
org.elasticsearch.common.xcontent.support.AbstractXContentParser
- All Implemented Interfaces:
- XContentParser
- Direct Known Subclasses:
- JsonXContentParser, XsonXContentParser
public abstract class AbstractXContentParser
- extends java.lang.Object
- implements XContentParser
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.elasticsearch.common.xcontent.XContentParser |
binaryValue, close, contentType, currentName, currentToken, estimatedNumberType, nextToken, numberType, numberValue, skipChildren, text, textCharacters, textLength, textOffset |
AbstractXContentParser
public AbstractXContentParser()
booleanValue
public boolean booleanValue()
throws java.io.IOException
- Specified by:
booleanValue
in interface XContentParser
- Throws:
java.io.IOException
doBooleanValue
protected abstract boolean doBooleanValue()
throws java.io.IOException
- Throws:
java.io.IOException
shortValue
public short shortValue()
throws java.io.IOException
- Specified by:
shortValue
in interface XContentParser
- Throws:
java.io.IOException
doShortValue
protected abstract short doShortValue()
throws java.io.IOException
- Throws:
java.io.IOException
intValue
public int intValue()
throws java.io.IOException
- Specified by:
intValue
in interface XContentParser
- Throws:
java.io.IOException
doIntValue
protected abstract int doIntValue()
throws java.io.IOException
- Throws:
java.io.IOException
longValue
public long longValue()
throws java.io.IOException
- Specified by:
longValue
in interface XContentParser
- Throws:
java.io.IOException
doLongValue
protected abstract long doLongValue()
throws java.io.IOException
- Throws:
java.io.IOException
floatValue
public float floatValue()
throws java.io.IOException
- Specified by:
floatValue
in interface XContentParser
- Throws:
java.io.IOException
doFloatValue
protected abstract float doFloatValue()
throws java.io.IOException
- Throws:
java.io.IOException
doubleValue
public double doubleValue()
throws java.io.IOException
- Specified by:
doubleValue
in interface XContentParser
- Throws:
java.io.IOException
doDoubleValue
protected abstract double doDoubleValue()
throws java.io.IOException
- Throws:
java.io.IOException
textOrNull
public java.lang.String textOrNull()
throws java.io.IOException
- Specified by:
textOrNull
in interface XContentParser
- Throws:
java.io.IOException
map
public java.util.Map<java.lang.String,java.lang.Object> map()
throws java.io.IOException
- Specified by:
map
in interface XContentParser
- Throws:
java.io.IOException