public class FragmentStreamReader extends DepthXMLStreamReader
reader
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
Constructor and Description |
---|
FragmentStreamReader(XMLStreamReader reader) |
FragmentStreamReader(XMLStreamReader reader,
boolean doDocEvents) |
Modifier and Type | Method and Description |
---|---|
int |
getEventType() |
boolean |
hasNext() |
boolean |
isAdvanceAtEnd() |
boolean |
isCharacters() |
boolean |
isEndElement() |
boolean |
isStartElement() |
boolean |
isWhiteSpace() |
int |
next() |
void |
setAdvanceAtEnd(boolean a)
Set whether or not the FragmentStreamReader should move past the END_ELEMENT
when it is done parsing.
|
close, equals, getAttributeCount, getAttributeLocalName, getAttributeName, getAttributeNamespace, getAttributePrefix, getAttributeType, getAttributeValue, getAttributeValue, getCharacterEncodingScheme, getDepth, getElementText, getEncoding, getLocalName, getLocation, getName, getNamespaceContext, getNamespaceCount, getNamespacePrefix, getNamespaceURI, getNamespaceURI, getNamespaceURI, getPIData, getPITarget, getPrefix, getProperty, getReader, getText, getTextCharacters, getTextCharacters, getTextLength, getTextStart, getVersion, hashCode, hasName, hasText, isAttributeSpecified, isStandalone, nextTag, require, standaloneSet, toString
public FragmentStreamReader(XMLStreamReader reader)
public FragmentStreamReader(XMLStreamReader reader, boolean doDocEvents)
public int getEventType()
getEventType
in interface XMLStreamReader
getEventType
in class DepthXMLStreamReader
public boolean isCharacters()
isCharacters
in interface XMLStreamReader
isCharacters
in class DepthXMLStreamReader
public boolean isEndElement()
isEndElement
in interface XMLStreamReader
isEndElement
in class DepthXMLStreamReader
public boolean isStartElement()
isStartElement
in interface XMLStreamReader
isStartElement
in class DepthXMLStreamReader
public boolean isWhiteSpace()
isWhiteSpace
in interface XMLStreamReader
isWhiteSpace
in class DepthXMLStreamReader
public boolean hasNext() throws XMLStreamException
hasNext
in interface XMLStreamReader
hasNext
in class DepthXMLStreamReader
XMLStreamException
public final int next() throws XMLStreamException
next
in interface XMLStreamReader
next
in class DepthXMLStreamReader
XMLStreamException
public boolean isAdvanceAtEnd()
public void setAdvanceAtEnd(boolean a)
a
- Copyright © 2018 JBoss by Red Hat. All rights reserved.