Class WidgetJsonParser

  • All Implemented Interfaces:
    com.fasterxml.jackson.core.Versioned, java.io.Closeable, java.lang.AutoCloseable

    public class WidgetJsonParser
    extends com.fasterxml.jackson.core.JsonParser
    • Constructor Detail

      • WidgetJsonParser

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

      • getCodec

        public com.fasterxml.jackson.core.ObjectCodec getCodec()
        Specified by:
        getCodec in class com.fasterxml.jackson.core.JsonParser
      • setCodec

        public void setCodec​(com.fasterxml.jackson.core.ObjectCodec objectCodec)
        Specified by:
        setCodec in class com.fasterxml.jackson.core.JsonParser
      • setSchema

        public void setSchema​(com.fasterxml.jackson.core.FormatSchema schema)
        Overrides:
        setSchema in class com.fasterxml.jackson.core.JsonParser
      • canUseSchema

        public boolean canUseSchema​(com.fasterxml.jackson.core.FormatSchema schema)
        Overrides:
        canUseSchema in class com.fasterxml.jackson.core.JsonParser
      • version

        public com.fasterxml.jackson.core.Version version()
        Specified by:
        version in interface com.fasterxml.jackson.core.Versioned
        Specified by:
        version in class com.fasterxml.jackson.core.JsonParser
      • getInputSource

        public java.lang.Object getInputSource()
        Overrides:
        getInputSource in class com.fasterxml.jackson.core.JsonParser
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Specified by:
        close in class com.fasterxml.jackson.core.JsonParser
        Throws:
        java.io.IOException
      • releaseBuffered

        public int releaseBuffered​(java.io.OutputStream out)
                            throws java.io.IOException
        Overrides:
        releaseBuffered in class com.fasterxml.jackson.core.JsonParser
        Throws:
        java.io.IOException
      • releaseBuffered

        public int releaseBuffered​(java.io.Writer w)
                            throws java.io.IOException
        Overrides:
        releaseBuffered in class com.fasterxml.jackson.core.JsonParser
        Throws:
        java.io.IOException
      • enable

        public com.fasterxml.jackson.core.JsonParser enable​(com.fasterxml.jackson.core.JsonParser.Feature f)
        Overrides:
        enable in class com.fasterxml.jackson.core.JsonParser
      • disable

        public com.fasterxml.jackson.core.JsonParser disable​(com.fasterxml.jackson.core.JsonParser.Feature f)
        Overrides:
        disable in class com.fasterxml.jackson.core.JsonParser
      • configure

        public com.fasterxml.jackson.core.JsonParser configure​(com.fasterxml.jackson.core.JsonParser.Feature f,
                                                               boolean state)
        Overrides:
        configure in class com.fasterxml.jackson.core.JsonParser
      • isEnabled

        public boolean isEnabled​(com.fasterxml.jackson.core.JsonParser.Feature f)
        Overrides:
        isEnabled in class com.fasterxml.jackson.core.JsonParser
      • nextToken

        public com.fasterxml.jackson.core.JsonToken nextToken()
                                                       throws java.io.IOException
        Specified by:
        nextToken in class com.fasterxml.jackson.core.JsonParser
        Throws:
        java.io.IOException
      • nextValue

        public com.fasterxml.jackson.core.JsonToken nextValue()
                                                       throws java.io.IOException
        Specified by:
        nextValue in class com.fasterxml.jackson.core.JsonParser
        Throws:
        java.io.IOException
      • nextFieldName

        public boolean nextFieldName​(com.fasterxml.jackson.core.SerializableString str)
                              throws java.io.IOException
        Overrides:
        nextFieldName in class com.fasterxml.jackson.core.JsonParser
        Throws:
        java.io.IOException
      • nextTextValue

        public java.lang.String nextTextValue()
                                       throws java.io.IOException
        Overrides:
        nextTextValue in class com.fasterxml.jackson.core.JsonParser
        Throws:
        java.io.IOException
      • nextIntValue

        public int nextIntValue​(int defaultValue)
                         throws java.io.IOException
        Overrides:
        nextIntValue in class com.fasterxml.jackson.core.JsonParser
        Throws:
        java.io.IOException
      • nextLongValue

        public long nextLongValue​(long defaultValue)
                           throws java.io.IOException
        Overrides:
        nextLongValue in class com.fasterxml.jackson.core.JsonParser
        Throws:
        java.io.IOException
      • nextBooleanValue

        public java.lang.Boolean nextBooleanValue()
                                           throws java.io.IOException
        Overrides:
        nextBooleanValue in class com.fasterxml.jackson.core.JsonParser
        Throws:
        java.io.IOException
      • skipChildren

        public com.fasterxml.jackson.core.JsonParser skipChildren()
                                                           throws java.io.IOException
        Specified by:
        skipChildren in class com.fasterxml.jackson.core.JsonParser
        Throws:
        java.io.IOException
      • isClosed

        public boolean isClosed()
        Specified by:
        isClosed in class com.fasterxml.jackson.core.JsonParser
      • getCurrentToken

        public com.fasterxml.jackson.core.JsonToken getCurrentToken()
        Specified by:
        getCurrentToken in class com.fasterxml.jackson.core.JsonParser
      • getCurrentTokenId

        public int getCurrentTokenId()
        Specified by:
        getCurrentTokenId in class com.fasterxml.jackson.core.JsonParser
      • hasCurrentToken

        public boolean hasCurrentToken()
        Specified by:
        hasCurrentToken in class com.fasterxml.jackson.core.JsonParser
      • hasTokenId

        public boolean hasTokenId​(int id)
        Specified by:
        hasTokenId in class com.fasterxml.jackson.core.JsonParser
      • hasToken

        public boolean hasToken​(com.fasterxml.jackson.core.JsonToken t)
        Specified by:
        hasToken in class com.fasterxml.jackson.core.JsonParser
      • clearCurrentToken

        public void clearCurrentToken()
        Specified by:
        clearCurrentToken in class com.fasterxml.jackson.core.JsonParser
      • getCurrentName

        public java.lang.String getCurrentName()
                                        throws java.io.IOException
        Specified by:
        getCurrentName in class com.fasterxml.jackson.core.JsonParser
        Throws:
        java.io.IOException
      • getParsingContext

        public com.fasterxml.jackson.core.JsonStreamContext getParsingContext()
        Specified by:
        getParsingContext in class com.fasterxml.jackson.core.JsonParser
      • getTokenLocation

        public com.fasterxml.jackson.core.JsonLocation getTokenLocation()
        Specified by:
        getTokenLocation in class com.fasterxml.jackson.core.JsonParser
      • getCurrentLocation

        public com.fasterxml.jackson.core.JsonLocation getCurrentLocation()
        Specified by:
        getCurrentLocation in class com.fasterxml.jackson.core.JsonParser
      • getLastClearedToken

        public com.fasterxml.jackson.core.JsonToken getLastClearedToken()
        Specified by:
        getLastClearedToken in class com.fasterxml.jackson.core.JsonParser
      • overrideCurrentName

        public void overrideCurrentName​(java.lang.String name)
        Specified by:
        overrideCurrentName in class com.fasterxml.jackson.core.JsonParser
      • isExpectedStartArrayToken

        public boolean isExpectedStartArrayToken()
        Overrides:
        isExpectedStartArrayToken in class com.fasterxml.jackson.core.JsonParser
      • getText

        public java.lang.String getText()
                                 throws java.io.IOException
        Specified by:
        getText in class com.fasterxml.jackson.core.JsonParser
        Throws:
        java.io.IOException
      • getTextCharacters

        public char[] getTextCharacters()
                                 throws java.io.IOException
        Specified by:
        getTextCharacters in class com.fasterxml.jackson.core.JsonParser
        Throws:
        java.io.IOException
      • getTextLength

        public int getTextLength()
                          throws java.io.IOException
        Specified by:
        getTextLength in class com.fasterxml.jackson.core.JsonParser
        Throws:
        java.io.IOException
      • getTextOffset

        public int getTextOffset()
                          throws java.io.IOException
        Specified by:
        getTextOffset in class com.fasterxml.jackson.core.JsonParser
        Throws:
        java.io.IOException
      • hasTextCharacters

        public boolean hasTextCharacters()
        Specified by:
        hasTextCharacters in class com.fasterxml.jackson.core.JsonParser
      • getNumberValue

        public java.lang.Number getNumberValue()
                                        throws java.io.IOException
        Specified by:
        getNumberValue in class com.fasterxml.jackson.core.JsonParser
        Throws:
        java.io.IOException
      • getNumberType

        public com.fasterxml.jackson.core.JsonParser.NumberType getNumberType()
                                                                       throws java.io.IOException
        Specified by:
        getNumberType in class com.fasterxml.jackson.core.JsonParser
        Throws:
        java.io.IOException
      • getByteValue

        public byte getByteValue()
                          throws java.io.IOException
        Overrides:
        getByteValue in class com.fasterxml.jackson.core.JsonParser
        Throws:
        java.io.IOException
      • getShortValue

        public short getShortValue()
                            throws java.io.IOException
        Overrides:
        getShortValue in class com.fasterxml.jackson.core.JsonParser
        Throws:
        java.io.IOException
      • getIntValue

        public int getIntValue()
                        throws java.io.IOException
        Specified by:
        getIntValue in class com.fasterxml.jackson.core.JsonParser
        Throws:
        java.io.IOException
      • getLongValue

        public long getLongValue()
                          throws java.io.IOException
        Specified by:
        getLongValue in class com.fasterxml.jackson.core.JsonParser
        Throws:
        java.io.IOException
      • getBigIntegerValue

        public java.math.BigInteger getBigIntegerValue()
                                                throws java.io.IOException
        Specified by:
        getBigIntegerValue in class com.fasterxml.jackson.core.JsonParser
        Throws:
        java.io.IOException
      • getFloatValue

        public float getFloatValue()
                            throws java.io.IOException
        Specified by:
        getFloatValue in class com.fasterxml.jackson.core.JsonParser
        Throws:
        java.io.IOException
      • getDoubleValue

        public double getDoubleValue()
                              throws java.io.IOException
        Specified by:
        getDoubleValue in class com.fasterxml.jackson.core.JsonParser
        Throws:
        java.io.IOException
      • getDecimalValue

        public java.math.BigDecimal getDecimalValue()
                                             throws java.io.IOException
        Specified by:
        getDecimalValue in class com.fasterxml.jackson.core.JsonParser
        Throws:
        java.io.IOException
      • getBooleanValue

        public boolean getBooleanValue()
                                throws java.io.IOException
        Overrides:
        getBooleanValue in class com.fasterxml.jackson.core.JsonParser
        Throws:
        java.io.IOException
      • getEmbeddedObject

        public java.lang.Object getEmbeddedObject()
                                           throws java.io.IOException
        Overrides:
        getEmbeddedObject in class com.fasterxml.jackson.core.JsonParser
        Throws:
        java.io.IOException
      • getBinaryValue

        public byte[] getBinaryValue​(com.fasterxml.jackson.core.Base64Variant base64Variant)
                              throws java.io.IOException
        Specified by:
        getBinaryValue in class com.fasterxml.jackson.core.JsonParser
        Throws:
        java.io.IOException
      • getBinaryValue

        public byte[] getBinaryValue()
                              throws java.io.IOException
        Overrides:
        getBinaryValue in class com.fasterxml.jackson.core.JsonParser
        Throws:
        java.io.IOException
      • getValueAsInt

        public int getValueAsInt()
                          throws java.io.IOException
        Overrides:
        getValueAsInt in class com.fasterxml.jackson.core.JsonParser
        Throws:
        java.io.IOException
      • getValueAsInt

        public int getValueAsInt​(int defaultValue)
                          throws java.io.IOException
        Overrides:
        getValueAsInt in class com.fasterxml.jackson.core.JsonParser
        Throws:
        java.io.IOException
      • getValueAsLong

        public long getValueAsLong()
                            throws java.io.IOException
        Overrides:
        getValueAsLong in class com.fasterxml.jackson.core.JsonParser
        Throws:
        java.io.IOException
      • getValueAsLong

        public long getValueAsLong​(long defaultValue)
                            throws java.io.IOException
        Overrides:
        getValueAsLong in class com.fasterxml.jackson.core.JsonParser
        Throws:
        java.io.IOException
      • getValueAsDouble

        public double getValueAsDouble()
                                throws java.io.IOException
        Overrides:
        getValueAsDouble in class com.fasterxml.jackson.core.JsonParser
        Throws:
        java.io.IOException
      • getValueAsDouble

        public double getValueAsDouble​(double defaultValue)
                                throws java.io.IOException
        Overrides:
        getValueAsDouble in class com.fasterxml.jackson.core.JsonParser
        Throws:
        java.io.IOException
      • getValueAsBoolean

        public boolean getValueAsBoolean()
                                  throws java.io.IOException
        Overrides:
        getValueAsBoolean in class com.fasterxml.jackson.core.JsonParser
        Throws:
        java.io.IOException
      • getValueAsBoolean

        public boolean getValueAsBoolean​(boolean defaultValue)
                                  throws java.io.IOException
        Overrides:
        getValueAsBoolean in class com.fasterxml.jackson.core.JsonParser
        Throws:
        java.io.IOException
      • getValueAsString

        public java.lang.String getValueAsString​(java.lang.String def)
                                          throws java.io.IOException
        Specified by:
        getValueAsString in class com.fasterxml.jackson.core.JsonParser
        Throws:
        java.io.IOException
      • readValueAs

        public <T> T readValueAs​(java.lang.Class<T> valueType)
                          throws java.io.IOException
        Overrides:
        readValueAs in class com.fasterxml.jackson.core.JsonParser
        Throws:
        java.io.IOException
      • readValueAs

        public <T> T readValueAs​(com.fasterxml.jackson.core.type.TypeReference<?> valueTypeRef)
                          throws java.io.IOException
        Overrides:
        readValueAs in class com.fasterxml.jackson.core.JsonParser
        Throws:
        java.io.IOException
      • readValuesAs

        public <T> java.util.Iterator<T> readValuesAs​(java.lang.Class<T> valueType)
                                               throws java.io.IOException
        Overrides:
        readValuesAs in class com.fasterxml.jackson.core.JsonParser
        Throws:
        java.io.IOException
      • readValuesAs

        public <T> java.util.Iterator<T> readValuesAs​(com.fasterxml.jackson.core.type.TypeReference<T> valueTypeRef)
                                               throws java.io.IOException
        Overrides:
        readValuesAs in class com.fasterxml.jackson.core.JsonParser
        Throws:
        java.io.IOException
      • readValueAsTree

        public com.fasterxml.jackson.databind.JsonNode readValueAsTree()
                                                                throws java.io.IOException
        Overrides:
        readValueAsTree in class com.fasterxml.jackson.core.JsonParser
        Throws:
        java.io.IOException