Package org.apache.cxf.staxutils
Class AbstractDOMStreamReader<T,I>
- java.lang.Object
- 
- org.apache.cxf.staxutils.AbstractDOMStreamReader<T,I>
 
- 
- All Implemented Interfaces:
- XMLStreamConstants,- XMLStreamReader
 - Direct Known Subclasses:
- W3CDOMStreamReader
 
 public abstract class AbstractDOMStreamReader<T,I> extends Object implements XMLStreamReader Abstract logic for creating XMLStreamReader from DOM documents. Its works using adapters for Element, Node and Attribute.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classAbstractDOMStreamReader.ElementFrame<T,I>
 - 
Field SummaryFields Modifier and Type Field Description protected intcurrentEvent- 
Fields inherited from interface javax.xml.stream.XMLStreamConstantsATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
 
- 
 - 
Constructor SummaryConstructors Constructor Description AbstractDOMStreamReader(AbstractDOMStreamReader.ElementFrame<T,I> frame)
 - 
Method Summary- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface javax.xml.stream.XMLStreamReadergetAttributeCount, getAttributeLocalName, getAttributeName, getAttributeNamespace, getAttributePrefix, getAttributeType, getAttributeValue, getAttributeValue, getEncoding, getLocalName, getName, getNamespaceContext, getNamespaceCount, getNamespacePrefix, getNamespaceURI, getNamespaceURI, getPIData, getPITarget, getPrefix, getText, getTextCharacters, getTextLength, getTextStart, isAttributeSpecified
 
- 
 
- 
- 
- 
Constructor Detail- 
AbstractDOMStreamReaderpublic AbstractDOMStreamReader(AbstractDOMStreamReader.ElementFrame<T,I> frame) - Parameters:
- frame-
 
 
- 
 - 
Method Detail- 
getCurrentFrameprotected AbstractDOMStreamReader.ElementFrame<T,I> getCurrentFrame() 
 - 
getPropertypublic Object getProperty(String name) - Specified by:
- getPropertyin interface- XMLStreamReader
 
 - 
nextpublic int next() throws XMLStreamException- Specified by:
- nextin interface- XMLStreamReader
- Throws:
- XMLStreamException
 
 - 
newFrameprotected void newFrame(AbstractDOMStreamReader.ElementFrame<T,I> newFrame) 
 - 
endElementprotected void endElement() 
 - 
hasMoreChildrenprotected abstract boolean hasMoreChildren() 
 - 
nextChildprotected abstract int nextChild() 
 - 
getChildFrameprotected abstract AbstractDOMStreamReader.ElementFrame<T,I> getChildFrame() 
 - 
requirepublic void require(int arg0, String arg1, String arg2) throws XMLStreamException- Specified by:
- requirein interface- XMLStreamReader
- Throws:
- XMLStreamException
 
 - 
getElementTextpublic abstract String getElementText() throws XMLStreamException - Specified by:
- getElementTextin interface- XMLStreamReader
- Throws:
- XMLStreamException
 
 - 
consumeFramepublic void consumeFrame() 
 - 
nextTagpublic int nextTag() throws XMLStreamException- Specified by:
- nextTagin interface- XMLStreamReader
- Throws:
- XMLStreamException
 
 - 
hasNextpublic boolean hasNext() throws XMLStreamException- Specified by:
- hasNextin interface- XMLStreamReader
- Throws:
- XMLStreamException
 
 - 
closepublic void close() throws XMLStreamException- Specified by:
- closein interface- XMLStreamReader
- Throws:
- XMLStreamException
 
 - 
getNamespaceURIpublic abstract String getNamespaceURI(String prefix) - Specified by:
- getNamespaceURIin interface- XMLStreamReader
 
 - 
isStartElementpublic boolean isStartElement() - Specified by:
- isStartElementin interface- XMLStreamReader
 
 - 
isEndElementpublic boolean isEndElement() - Specified by:
- isEndElementin interface- XMLStreamReader
 
 - 
isCharacterspublic boolean isCharacters() - Specified by:
- isCharactersin interface- XMLStreamReader
 
 - 
isWhiteSpacepublic boolean isWhiteSpace() - Specified by:
- isWhiteSpacein interface- XMLStreamReader
 
 - 
getEventTypepublic int getEventType() - Specified by:
- getEventTypein interface- XMLStreamReader
 
 - 
getTextCharacterspublic int getTextCharacters(int sourceStart, char[] target, int targetStart, int length) throws XMLStreamException- Specified by:
- getTextCharactersin interface- XMLStreamReader
- Throws:
- XMLStreamException
 
 - 
hasTextpublic boolean hasText() - Specified by:
- hasTextin interface- XMLStreamReader
 
 - 
getSystemIdpublic String getSystemId() 
 - 
getPublicIdpublic String getPublicId() 
 - 
getLocationpublic Location getLocation() - Specified by:
- getLocationin interface- XMLStreamReader
 
 - 
hasNamepublic boolean hasName() - Specified by:
- hasNamein interface- XMLStreamReader
 
 - 
getVersionpublic String getVersion() - Specified by:
- getVersionin interface- XMLStreamReader
 
 - 
isStandalonepublic boolean isStandalone() - Specified by:
- isStandalonein interface- XMLStreamReader
 
 - 
standaloneSetpublic boolean standaloneSet() - Specified by:
- standaloneSetin interface- XMLStreamReader
 
 - 
getCharacterEncodingSchemepublic String getCharacterEncodingScheme() - Specified by:
- getCharacterEncodingSchemein interface- XMLStreamReader
 
 
- 
 
-