Package com.bea.xml.stream
Class SubReader
java.lang.Object
com.bea.xml.stream.ReaderDelegate
com.bea.xml.stream.SubReader
- All Implemented Interfaces:
XMLStreamConstants,XMLStreamReader
Creates a SubReader over a node of a document
-
Field Summary
Fields inherited from interface javax.xml.stream.XMLStreamConstants
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanhasNext()static voidbooleanbooleanmoveToEndElement(String localName) booleanmoveToEndElement(String localName, String namespaceUri) booleanbooleanmoveToStartElement(String localName) booleanmoveToStartElement(String localName, String namespaceUri) intnext()intstatic voidprint(XMLStreamReader r, int depth) static voidsub(XMLStreamReader r, int depth) Methods inherited from class com.bea.xml.stream.ReaderDelegate
close, getAttributeCount, getAttributeLocalName, getAttributeName, getAttributeNamespace, getAttributePrefix, getAttributeType, getAttributeValue, getAttributeValue, getCharacterEncodingScheme, getDelegate, getElementText, getEncoding, getEventType, getLocalName, getLocation, getName, getNamespaceContext, getNamespaceCount, getNamespacePrefix, getNamespaceURI, getNamespaceURI, getNamespaceURI, getPIData, getPITarget, getPrefix, getProperty, getText, getTextCharacters, getTextCharacters, getTextLength, getTextStart, getVersion, hasName, hasText, isAttributeSpecified, isCharacters, isEndElement, isStandalone, isStartElement, isWhiteSpace, nextTag, require, setDelegate, standaloneSet
-
Constructor Details
-
SubReader
- Throws:
XMLStreamException
-
-
Method Details
-
next
- Specified by:
nextin interfaceXMLStreamReader- Overrides:
nextin classReaderDelegate- Throws:
XMLStreamException
-
nextElement
- Throws:
XMLStreamException
-
hasNext
- Specified by:
hasNextin interfaceXMLStreamReader- Overrides:
hasNextin classReaderDelegate- Throws:
XMLStreamException
-
moveToStartElement
- Throws:
XMLStreamException
-
moveToStartElement
- Throws:
XMLStreamException
-
moveToStartElement
- Throws:
XMLStreamException
-
moveToEndElement
- Throws:
XMLStreamException
-
moveToEndElement
- Throws:
XMLStreamException
-
moveToEndElement
- Throws:
XMLStreamException
-
print
- Throws:
XMLStreamException
-
sub
- Throws:
Exception
-
main
- Throws:
Exception
-