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.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
-
-
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
closeCompletely, findAttributeIndex, getAttributeInfo, getCurrentLocation, getDepth, getDTDInfo, getDTDInternalSubset, getDTDPublicId, getDTDRootName, getDTDSystemId, getEndingByteOffset, getEndingCharOffset, getEndLocation, getFeature, getIdAttributeIndex, getLocationInfo, getNonTransientNamespaceContext, getNotationAttributeIndex, getPrefixedName, getProcessedDTD, getProcessedDTDSchema, getStartingByteOffset, getStartingCharOffset, getStartLocation, getText, isEmptyElement, isPropertySupported, setFeature, setProperty, setValidationProblemHandler, skipElement, stopValidatingAgainst, stopValidatingAgainst, validateAgainst
-
Methods inherited from class javax.xml.stream.util.StreamReaderDelegate
close, getAttributeCount, getAttributeLocalName, getAttributeName, getAttributeNamespace, getAttributePrefix, getAttributeType, getAttributeValue, getAttributeValue, getCharacterEncodingScheme, getElementText, 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
equals, 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, getElementText, 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
-
-