Class XmlXContentParser

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.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 
      Modifier and Type Field Description
      protected com.fasterxml.jackson.core.JsonParser parser  
    • Constructor Summary

      Constructors 
      Constructor Description
      XmlXContentParser​(com.fasterxml.jackson.core.JsonParser parser)  
    • Field Detail

      • parser

        protected final com.fasterxml.jackson.core.JsonParser parser
    • Constructor Detail

      • XmlXContentParser

        public XmlXContentParser​(com.fasterxml.jackson.core.JsonParser parser)
    • Method Detail

      • content

        public org.xbib.content.XContent content()
      • nextToken

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

        public void skipChildren()
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • currentToken

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

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

        public boolean estimatedNumberType()
      • currentName

        public java.lang.String currentName()
                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • doBooleanValue

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

        public java.lang.String text()
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • hasTextCharacters

        public boolean hasTextCharacters()
      • textCharacters

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

        public int textLength()
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • textOffset

        public int textOffset()
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • numberValue

        public java.lang.Number numberValue()
                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • bigIntegerValue

        public java.math.BigInteger bigIntegerValue()
                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • bigDecimalValue

        public java.math.BigDecimal bigDecimalValue()
                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • doShortValue

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

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

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

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

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

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

        public void close()
                   throws java.io.IOException
        Throws:
        java.io.IOException