Package org.apache.cxf.staxutils
Class W3CDOMStreamReader
java.lang.Object
org.apache.cxf.staxutils.AbstractDOMStreamReader<Node,Node>
org.apache.cxf.staxutils.W3CDOMStreamReader
- All Implemented Interfaces:
XMLStreamConstants,XMLStreamReader
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.cxf.staxutils.AbstractDOMStreamReader
AbstractDOMStreamReader.ElementFrame<T,I> -
Field Summary
Fields inherited from class org.apache.cxf.staxutils.AbstractDOMStreamReader
currentEventFields 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
ConstructorsConstructorDescriptionW3CDOMStreamReader(DocumentFragment docfrag) W3CDOMStreamReader(Element element) W3CDOMStreamReader(Element element, String systemId) -
Method Summary
Modifier and TypeMethodDescriptionintgetAttributeLocalName(int i) getAttributeName(int i) getAttributeNamespace(int i) getAttributePrefix(int i) getAttributeType(int i) getAttributeValue(int i) getAttributeValue(String ns, String local) protected AbstractDOMStreamReader.ElementFrame<Node,Node> final Elementfinal NodeGet the document associated with this stream.getName()intgetNamespacePrefix(int i) getNamespaceURI(int i) getNamespaceURI(String prefix) getText()char[]intintprotected booleanbooleanisAttributeSpecified(int i) protected final voidFind name spaces declaration in atrributes and move them to separate collection.protected inttoString()Methods inherited from class org.apache.cxf.staxutils.AbstractDOMStreamReader
close, consumeFrame, endElement, getCharacterEncodingScheme, getCurrentFrame, getEventType, getProperty, getPublicId, getTextCharacters, getVersion, hasName, hasNext, hasText, isCharacters, isEndElement, isStandalone, isStartElement, isWhiteSpace, next, nextTag, require, standaloneSet
-
Constructor Details
-
W3CDOMStreamReader
- Parameters:
element-
-
W3CDOMStreamReader
-
W3CDOMStreamReader
-
W3CDOMStreamReader
-
-
Method Details
-
getDocument
Get the document associated with this stream. -
getSystemId
- Overrides:
getSystemIdin classAbstractDOMStreamReader<Node,Node>
-
newFrame
Find name spaces declaration in atrributes and move them to separate collection.- Overrides:
newFramein classAbstractDOMStreamReader<Node,Node>
-
getCurrentNode
-
getCurrentElement
-
getChildFrame
- Specified by:
getChildFramein classAbstractDOMStreamReader<Node,Node>
-
hasMoreChildren
protected boolean hasMoreChildren()- Specified by:
hasMoreChildrenin classAbstractDOMStreamReader<Node,Node>
-
nextChild
protected int nextChild()- Specified by:
nextChildin classAbstractDOMStreamReader<Node,Node>
-
getElementText
- Specified by:
getElementTextin interfaceXMLStreamReader- Specified by:
getElementTextin classAbstractDOMStreamReader<Node,Node> - Throws:
XMLStreamException
-
getNamespaceURI
- Specified by:
getNamespaceURIin interfaceXMLStreamReader- Specified by:
getNamespaceURIin classAbstractDOMStreamReader<Node,Node>
-
getAttributeValue
-
getAttributeCount
public int getAttributeCount() -
getAttributeName
-
getAttributeNamespace
-
getAttributeLocalName
-
getAttributePrefix
-
getAttributeType
-
getAttributeValue
-
isAttributeSpecified
public boolean isAttributeSpecified(int i) -
getNamespaceCount
public int getNamespaceCount() -
getNamespacePrefix
-
getNamespaceURI
-
getNamespaceContext
-
getText
-
getTextCharacters
public char[] getTextCharacters() -
getTextStart
public int getTextStart() -
getTextLength
public int getTextLength() -
getEncoding
-
getName
-
getLocalName
-
getNamespaceURI
-
getPrefix
-
getPITarget
-
getPIData
-
getLocation
- Specified by:
getLocationin interfaceXMLStreamReader- Overrides:
getLocationin classAbstractDOMStreamReader<Node,Node>
-
toString
-