Class Stax2JacksonReaderAdapter
- java.lang.Object
-
- javax.xml.stream.util.StreamReaderDelegate
-
- org.codehaus.stax2.ri.Stax2ReaderAdapter
-
- com.fasterxml.jackson.dataformat.xml.util.Stax2JacksonReaderAdapter
-
- All Implemented Interfaces:
javax.xml.stream.XMLStreamConstants,javax.xml.stream.XMLStreamReader,org.codehaus.stax2.AttributeInfo,org.codehaus.stax2.DTDInfo,org.codehaus.stax2.LocationInfo,org.codehaus.stax2.typed.TypedXMLStreamReader,org.codehaus.stax2.validation.Validatable,org.codehaus.stax2.XMLStreamReader2
public class Stax2JacksonReaderAdapter extends org.codehaus.stax2.ri.Stax2ReaderAdapterRefinement ofStax2ReaderAdapterto override certain methods, to patch over flaws of JDK-provided default Stax implementation, SJSXP- Since:
- 2.17
-
-
Field Summary
Fields Modifier and Type Field Description private javax.xml.stream.XMLStreamReader_delegate-
Fields inherited from class org.codehaus.stax2.ri.Stax2ReaderAdapter
_base64Decoder, _decoderFactory, _depth, _typedContent, MASK_TYPED_ACCESS_BINARY
-
-
Constructor Summary
Constructors Constructor Description Stax2JacksonReaderAdapter(javax.xml.stream.XMLStreamReader sr)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intnext()static org.codehaus.stax2.XMLStreamReader2wrapIfNecessary(javax.xml.stream.XMLStreamReader sr)-
Methods inherited from class org.codehaus.stax2.ri.Stax2ReaderAdapter
_base64Decoder, _constructTypeException, _constructTypeException, _decoderFactory, _getAttributeAsArray, closeCompletely, findAttributeIndex, getAttributeAs, getAttributeAsArray, getAttributeAsBinary, getAttributeAsBinary, getAttributeAsBoolean, getAttributeAsDecimal, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsFloat, getAttributeAsFloatArray, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsInteger, getAttributeAsLong, getAttributeAsLongArray, getAttributeAsQName, getAttributeIndex, getAttributeInfo, getCurrentLocation, getDepth, getDTDInfo, getDTDInternalSubset, getDTDPublicId, getDTDRootName, getDTDSystemId, getElementAs, getElementAsBinary, getElementAsBinary, getElementAsBoolean, getElementAsDecimal, getElementAsDouble, getElementAsFloat, getElementAsInt, getElementAsInteger, getElementAsLong, getElementAsQName, getElementText, getEndingByteOffset, getEndingCharOffset, getEndLocation, getFeature, getIdAttributeIndex, getLocationInfo, getNonTransientNamespaceContext, getNotationAttributeIndex, getPrefixedName, getProcessedDTD, getProcessedDTDSchema, getStartingByteOffset, getStartingCharOffset, getStartLocation, getText, isEmptyElement, isPropertySupported, readElementAsArray, readElementAsBinary, readElementAsBinary, readElementAsDoubleArray, readElementAsFloatArray, readElementAsIntArray, readElementAsLongArray, setFeature, setProperty, setValidationProblemHandler, skipElement, stopValidatingAgainst, stopValidatingAgainst, throwNotStartElem, throwNotStartElemOrTextual, throwUnsupported, validateAgainst
-
Methods inherited from class javax.xml.stream.util.StreamReaderDelegate
close, getAttributeCount, getAttributeLocalName, getAttributeName, getAttributeNamespace, getAttributePrefix, getAttributeType, getAttributeValue, getAttributeValue, getCharacterEncodingScheme, getEncoding, getEventType, getLocalName, getLocation, getName, getNamespaceContext, getNamespaceCount, getNamespacePrefix, getNamespaceURI, getNamespaceURI, getNamespaceURI, getParent, getPIData, getPITarget, getPrefix, getProperty, getText, getTextCharacters, getTextCharacters, getTextLength, getTextStart, getVersion, hasName, hasNext, hasText, isAttributeSpecified, isCharacters, isEndElement, isStandalone, isStartElement, isWhiteSpace, nextTag, require, setParent, standaloneSet
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.xml.stream.XMLStreamReader
close, getAttributeCount, getAttributeLocalName, getAttributeName, getAttributeNamespace, getAttributePrefix, getAttributeType, getAttributeValue, getAttributeValue, getCharacterEncodingScheme, getEncoding, getEventType, getLocalName, getLocation, getName, getNamespaceContext, getNamespaceCount, getNamespacePrefix, getNamespaceURI, getNamespaceURI, getNamespaceURI, getPIData, getPITarget, getPrefix, getProperty, getText, getTextCharacters, getTextCharacters, getTextLength, getTextStart, getVersion, hasName, hasNext, hasText, isAttributeSpecified, isCharacters, isEndElement, isStandalone, isStartElement, isWhiteSpace, nextTag, require, standaloneSet
-
-
-
-
Method Detail
-
wrapIfNecessary
public static org.codehaus.stax2.XMLStreamReader2 wrapIfNecessary(javax.xml.stream.XMLStreamReader sr)
-
next
public int next() throws javax.xml.stream.XMLStreamException- Specified by:
nextin interfacejavax.xml.stream.XMLStreamReader- Overrides:
nextin classorg.codehaus.stax2.ri.Stax2ReaderAdapter- Throws:
javax.xml.stream.XMLStreamException
-
-