@Internal
public final class ByteArrayXmlStreamReader
extends javax.xml.stream.util.StreamReaderDelegate
implements java.lang.AutoCloseable
Constructor and Description |
---|
ByteArrayXmlStreamReader(byte[] bytes) |
Modifier and Type | Method and Description |
---|---|
ByteArrayXmlStreamReader |
reset()
The xmlStream is stateful.
|
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, next, nextTag, require, setParent, standaloneSet
public ByteArrayXmlStreamReader(byte[] bytes) throws javax.xml.stream.XMLStreamException
bytes
- raw representation of xmljavax.xml.stream.XMLStreamException
- if byte array represents corrupted xmlpublic ByteArrayXmlStreamReader reset()