com.ctc.wstx.dom
public class WstxDOMWrappingReader extends DOMWrappingReader
Modifier and Type | Field and Description |
---|---|
protected ReaderConfig |
mConfig |
_attrList, _base64Decoder, _cfgInternNames, _cfgInternNsURIs, _cfgNsAware, _coalescedText, _coalescing, _currEvent, _currNode, _decoderFactory, _depth, _nsDeclList, _rootNode, _systemId, _textBuffer, ERR_STATE_NO_LOCALNAME, ERR_STATE_NOT_ELEM, ERR_STATE_NOT_PI, ERR_STATE_NOT_START_ELEM, ERR_STATE_NOT_TEXTUAL, ERR_STATE_NOT_TEXTUAL_OR_ELEM, ERR_STATE_NOT_TEXTUAL_XXX, INT_SPACE, MASK_TYPED_ACCESS_BINARY
FEATURE_DTD_OVERRIDE
Modifier | Constructor and Description |
---|---|
protected |
WstxDOMWrappingReader(javax.xml.transform.dom.DOMSource src,
ReaderConfig cfg) |
Modifier and Type | Method and Description |
---|---|
static WstxDOMWrappingReader |
createFrom(javax.xml.transform.dom.DOMSource src,
ReaderConfig cfg) |
java.lang.Object |
getProperty(java.lang.String name) |
boolean |
isPropertySupported(java.lang.String name)
Method similar to
XMLInputFactory.isPropertySupported(java.lang.String) , used
to determine whether a property is supported by the Reader
instance. |
boolean |
setProperty(java.lang.String name,
java.lang.Object value)
Method that can be used to set per-reader properties; a subset of
properties one can set via matching
XMLInputFactory2
instance. |
protected void |
throwStreamException(java.lang.String msg,
javax.xml.stream.Location loc) |
_base64Decoder, _constructTypeException, _constructTypeException, _decoderFactory, _getAttributeAsArray, _internName, _internNsURI, close, closeCompletely, coalesceText, findAttributeIndex, findErrorDesc, getAttributeAs, getAttributeAsArray, getAttributeAsBinary, getAttributeAsBinary, getAttributeAsBoolean, getAttributeAsDecimal, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsFloat, getAttributeAsFloatArray, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsInteger, getAttributeAsLong, getAttributeAsLongArray, getAttributeAsQName, getAttributeCount, getAttributeIndex, getAttributeInfo, getAttributeLocalName, getAttributeName, getAttributeNamespace, getAttributePrefix, getAttributeType, getAttributeValue, getAttributeValue, getCharacterEncodingScheme, getCurrentLocation, getDepth, getDTDInfo, getDTDInternalSubset, getDTDPublicId, getDTDRootName, getDTDSystemId, getElementAs, getElementAsBinary, getElementAsBinary, getElementAsBoolean, getElementAsDecimal, getElementAsDouble, getElementAsFloat, getElementAsInt, getElementAsInteger, getElementAsLong, getElementAsQName, getElementText, getEncoding, getEndingByteOffset, getEndingCharOffset, getEndLocation, getErrorLocation, getEventType, getFeature, getIdAttributeIndex, getLocalName, getLocation, getLocationInfo, getName, getNamespaceContext, getNamespaceCount, getNamespacePrefix, getNamespaceURI, getNamespaceURI, getNamespaceURI, getNonTransientNamespaceContext, getNotationAttributeIndex, getPIData, getPITarget, getPrefix, getPrefix, getPrefixedName, getPrefixes, getProcessedDTD, getProcessedDTDSchema, getStartingByteOffset, getStartingCharOffset, getStartLocation, getText, getText, getTextCharacters, getTextCharacters, getTextLength, getTextStart, getVersion, hasName, hasNext, hasText, isAttributeSpecified, isCharacters, isEmptyElement, isEndElement, isStandalone, isStartElement, isWhiteSpace, next, nextTag, readElementAsArray, readElementAsBinary, readElementAsBinary, readElementAsDoubleArray, readElementAsFloatArray, readElementAsIntArray, readElementAsLongArray, reportParseProblem, reportWrongState, require, setFeature, setInternNames, setInternNsURIs, setValidationProblemHandler, skipElement, standaloneSet, stopValidatingAgainst, stopValidatingAgainst, throwStreamException, validateAgainst
protected final ReaderConfig mConfig
protected WstxDOMWrappingReader(javax.xml.transform.dom.DOMSource src, ReaderConfig cfg) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public static WstxDOMWrappingReader createFrom(javax.xml.transform.dom.DOMSource src, ReaderConfig cfg) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public boolean isPropertySupported(java.lang.String name)
XMLStreamReader2
XMLInputFactory.isPropertySupported(java.lang.String)
, used
to determine whether a property is supported by the Reader
instance. This means that this method may return false
for some properties that the input factory does support: specifically,
it should only return true if the value is mutable on per-instance
basis. False means that either the property is not recognized, or
is not mutable via reader instance.isPropertySupported
in interface XMLStreamReader2
isPropertySupported
in class DOMWrappingReader
public java.lang.Object getProperty(java.lang.String name)
getProperty
in interface javax.xml.stream.XMLStreamReader
getProperty
in class DOMWrappingReader
public boolean setProperty(java.lang.String name, java.lang.Object value)
XMLStreamReader2
XMLInputFactory2
instance. Exactly which methods are mutable is implementation
specific.setProperty
in interface XMLStreamReader2
setProperty
in class DOMWrappingReader
name
- Name of the property to setvalue
- Value to set property to.protected void throwStreamException(java.lang.String msg, javax.xml.stream.Location loc) throws javax.xml.stream.XMLStreamException
throwStreamException
in class DOMWrappingReader
javax.xml.stream.XMLStreamException