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:
XMLStreamConstants, 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.Stax2ReaderAdapter
Refinement of
Stax2ReaderAdapter to override certain methods,
to patch over flaws of JDK-provided default Stax implementation, SJSXP- Since:
- 2.17
-
Field Summary
FieldsFields inherited from class org.codehaus.stax2.ri.Stax2ReaderAdapter
_base64Decoder, _decoderFactory, _depth, _typedContent, MASK_TYPED_ACCESS_BINARYFields inherited from interface XMLStreamConstants
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENTFields inherited from interface org.codehaus.stax2.XMLStreamReader2
FEATURE_DTD_OVERRIDE -
Constructor Summary
Constructors -
Method Summary
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, validateAgainstMethods inherited from class 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, standaloneSetMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.codehaus.stax2.AttributeInfo
getAttributeCountMethods inherited from interface org.codehaus.stax2.LocationInfo
getLocationMethods inherited from interface 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
-
Field Details
-
_delegate
-
-
Constructor Details
-
Stax2JacksonReaderAdapter
-
-
Method Details
-
wrapIfNecessary
-
next
- Specified by:
nextin interfaceXMLStreamReader- Overrides:
nextin classorg.codehaus.stax2.ri.Stax2ReaderAdapter- Throws:
XMLStreamException
-