Class XmlXContentParser

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
  • 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

      public org.xbib.content.XContentParser.Token nextToken() throws IOException
      Throws:
      IOException
    • skipChildren

      public void skipChildren() throws IOException
      Throws:
      IOException
    • currentToken

      public org.xbib.content.XContentParser.Token currentToken()
    • numberType

      public org.xbib.content.XContentParser.NumberType numberType() throws IOException
      Throws:
      IOException
    • estimatedNumberType

      public boolean estimatedNumberType()
    • currentName

      public String currentName() throws IOException
      Throws:
      IOException
    • getMapFactory

      protected org.xbib.content.core.MapFactory getMapFactory()
      Specified by:
      getMapFactory in class org.xbib.content.core.AbstractXContentParser
    • getOrderedMapFactory

      protected org.xbib.content.core.MapFactory getOrderedMapFactory()
      Specified by:
      getOrderedMapFactory in class org.xbib.content.core.AbstractXContentParser
    • doBooleanValue

      protected boolean doBooleanValue() throws IOException
      Specified by:
      doBooleanValue in class org.xbib.content.core.AbstractXContentParser
      Throws:
      IOException
    • text

      public String text() throws IOException
      Throws:
      IOException
    • hasTextCharacters

      public boolean hasTextCharacters()
    • textCharacters

      public char[] textCharacters() throws IOException
      Throws:
      IOException
    • textLength

      public int textLength() throws IOException
      Throws:
      IOException
    • textOffset

      public int textOffset() throws IOException
      Throws:
      IOException
    • numberValue

      public Number numberValue() throws IOException
      Throws:
      IOException
    • bigIntegerValue

      public BigInteger bigIntegerValue() throws IOException
      Throws:
      IOException
    • bigDecimalValue

      public BigDecimal bigDecimalValue() throws IOException
      Throws:
      IOException
    • doShortValue

      public short doShortValue() throws IOException
      Specified by:
      doShortValue in class org.xbib.content.core.AbstractXContentParser
      Throws:
      IOException
    • doIntValue

      public int doIntValue() throws IOException
      Specified by:
      doIntValue in class org.xbib.content.core.AbstractXContentParser
      Throws:
      IOException
    • doLongValue

      public long doLongValue() throws IOException
      Specified by:
      doLongValue in class org.xbib.content.core.AbstractXContentParser
      Throws:
      IOException
    • doFloatValue

      public float doFloatValue() throws IOException
      Specified by:
      doFloatValue in class org.xbib.content.core.AbstractXContentParser
      Throws:
      IOException
    • doDoubleValue

      public double doDoubleValue() throws IOException
      Specified by:
      doDoubleValue in class org.xbib.content.core.AbstractXContentParser
      Throws:
      IOException
    • binaryValue

      public byte[] binaryValue() throws IOException
      Throws:
      IOException
    • close

      public void close() throws IOException
      Throws:
      IOException