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
Abstract logic for creating XMLStreamReader from DOM documents. Its works
 using adapters for Element, Node and Attribute.
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsFields 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
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose()voidprotected voidprotected abstract AbstractDOMStreamReader.ElementFrame<T,I> protected AbstractDOMStreamReader.ElementFrame<T,I> abstract Stringintabstract StringgetNamespaceURI(String prefix) getProperty(String name) intgetTextCharacters(int sourceStart, char[] target, int targetStart, int length) protected abstract booleanbooleanhasName()booleanhasNext()booleanhasText()booleanbooleanbooleanbooleanbooleanprotected voidnewFrame(AbstractDOMStreamReader.ElementFrame<T, I> newFrame) intnext()protected abstract intintnextTag()voidbooleanMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
- 
Field Details- 
currentEventprotected int currentEvent
 
- 
- 
Constructor Details- 
AbstractDOMStreamReader- Parameters:
- frame-
 
 
- 
- 
Method Details- 
getCurrentFrame
- 
getProperty- Specified by:
- getPropertyin interface- XMLStreamReader
 
- 
next- Specified by:
- nextin interface- XMLStreamReader
- Throws:
- XMLStreamException
 
- 
newFrame
- 
endElementprotected void endElement()
- 
hasMoreChildrenprotected abstract boolean hasMoreChildren()
- 
nextChildprotected abstract int nextChild()
- 
getChildFrame
- 
require- Specified by:
- requirein interface- XMLStreamReader
- Throws:
- XMLStreamException
 
- 
getElementText- Specified by:
- getElementTextin interface- XMLStreamReader
- Throws:
- XMLStreamException
 
- 
consumeFramepublic void consumeFrame()
- 
nextTag- Specified by:
- nextTagin interface- XMLStreamReader
- Throws:
- XMLStreamException
 
- 
hasNext- Specified by:
- hasNextin interface- XMLStreamReader
- Throws:
- XMLStreamException
 
- 
close- Specified by:
- closein interface- XMLStreamReader
- Throws:
- XMLStreamException
 
- 
getNamespaceURI- 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
 
- 
getSystemId
- 
getPublicId
- 
getLocation- Specified by:
- getLocationin interface- XMLStreamReader
 
- 
hasNamepublic boolean hasName()- Specified by:
- hasNamein interface- XMLStreamReader
 
- 
getVersion- Specified by:
- getVersionin interface- XMLStreamReader
 
- 
isStandalonepublic boolean isStandalone()- Specified by:
- isStandalonein interface- XMLStreamReader
 
- 
standaloneSetpublic boolean standaloneSet()- Specified by:
- standaloneSetin interface- XMLStreamReader
 
- 
getCharacterEncodingScheme- Specified by:
- getCharacterEncodingSchemein interface- XMLStreamReader
 
 
-