java.lang.Object
org.xbib.content.core.AbstractXContentParser
org.xbib.content.xml.XmlXContentParser
- All Implemented Interfaces:
Closeable,AutoCloseable,org.xbib.content.XContentParser
public class XmlXContentParser
extends org.xbib.content.core.AbstractXContentParser
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.xbib.content.XContentParser
org.xbib.content.XContentParser.NumberType, org.xbib.content.XContentParser.Token -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]voidclose()org.xbib.content.XContentcontent()org.xbib.content.XContentParser.Tokenprotected booleandoublefloatintlongshortbooleanprotected org.xbib.content.core.MapFactoryprotected org.xbib.content.core.MapFactorybooleanorg.xbib.content.XContentParser.Tokenorg.xbib.content.XContentParser.NumberTypevoidtext()char[]intintMethods inherited from class org.xbib.content.core.AbstractXContentParser
booleanValue, doubleValue, enableBase16Checks, floatValue, intValue, isBase16Checks, isBooleanValue, isLosslessDecimals, longValue, losslessDecimals, map, mapAndClose, mapOrdered, mapOrderedAndClose, shortValue, textOrNull
-
Field Details
-
parser
protected final com.fasterxml.jackson.core.JsonParser parser
-
-
Constructor Details
-
XmlXContentParser
public XmlXContentParser(com.fasterxml.jackson.core.JsonParser parser)
-
-
Method Details
-
content
public org.xbib.content.XContent content() -
nextToken
- Throws:
IOException
-
skipChildren
- Throws:
IOException
-
currentToken
public org.xbib.content.XContentParser.Token currentToken() -
numberType
- Throws:
IOException
-
estimatedNumberType
public boolean estimatedNumberType() -
currentName
- Throws:
IOException
-
getMapFactory
protected org.xbib.content.core.MapFactory getMapFactory()- Specified by:
getMapFactoryin classorg.xbib.content.core.AbstractXContentParser
-
getOrderedMapFactory
protected org.xbib.content.core.MapFactory getOrderedMapFactory()- Specified by:
getOrderedMapFactoryin classorg.xbib.content.core.AbstractXContentParser
-
doBooleanValue
- Specified by:
doBooleanValuein classorg.xbib.content.core.AbstractXContentParser- Throws:
IOException
-
text
- Throws:
IOException
-
hasTextCharacters
public boolean hasTextCharacters() -
textCharacters
- Throws:
IOException
-
textLength
- Throws:
IOException
-
textOffset
- Throws:
IOException
-
numberValue
- Throws:
IOException
-
bigIntegerValue
- Throws:
IOException
-
bigDecimalValue
- Throws:
IOException
-
doShortValue
- Specified by:
doShortValuein classorg.xbib.content.core.AbstractXContentParser- Throws:
IOException
-
doIntValue
- Specified by:
doIntValuein classorg.xbib.content.core.AbstractXContentParser- Throws:
IOException
-
doLongValue
- Specified by:
doLongValuein classorg.xbib.content.core.AbstractXContentParser- Throws:
IOException
-
doFloatValue
- Specified by:
doFloatValuein classorg.xbib.content.core.AbstractXContentParser- Throws:
IOException
-
doDoubleValue
- Specified by:
doDoubleValuein classorg.xbib.content.core.AbstractXContentParser- Throws:
IOException
-
binaryValue
- Throws:
IOException
-
close
- Throws:
IOException
-