org.apache.axis2.jaxws.message.impl
Class XMLStreamReaderForXMLSpine
java.lang.Object
org.apache.axis2.jaxws.message.util.XMLStreamReaderFilter
org.apache.axis2.jaxws.message.impl.XMLStreamReaderForXMLSpine
- All Implemented Interfaces:
- XMLStreamConstants, XMLStreamReader
public class XMLStreamReaderForXMLSpine
- extends XMLStreamReaderFilter
XMLStreamReaderForXMLSpine
An XMLSpine is composed of many different parts: a sparse OM tree, header blocks, body blocks,
etc.
The XMLStreamReaderForXMLSpine provides an XMLStreamReader that over all of these combined
objects (without building a full OM tree). It does this by using a StackableXMLStreamReader for
the underlying implementation and pushing the XMLStreamReaders for the blocks onto the stack at
the appropriate points in the message.
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 |
Method Summary |
int |
next()
|
Methods inherited from class org.apache.axis2.jaxws.message.util.XMLStreamReaderFilter |
close, getAttributeCount, getAttributeLocalName, getAttributeName, getAttributeNamespace, getAttributePrefix, getAttributeType, getAttributeValue, getAttributeValue, getCharacterEncodingScheme, getElementText, getEncoding, getEventType, getLocalName, getLocation, getName, getNamespaceContext, getNamespaceCount, getNamespacePrefix, getNamespaceURI, getNamespaceURI, getNamespaceURI, getPIData, getPITarget, getPrefix, getProperty, getText, getTextCharacters, getTextCharacters, getTextLength, getTextStart, getVersion, hasName, hasNext, hasText, isAttributeSpecified, isCharacters, isEndElement, isStandalone, isStartElement, isWhiteSpace, nextTag, require, standaloneSet |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLStreamReaderForXMLSpine
public XMLStreamReaderForXMLSpine(org.apache.axiom.om.OMElement root,
Protocol protocol,
List<Block> headerBlocks,
List<Block> bodyBlocks,
List<Block> detailBlocks,
boolean consume)
- Parameters:
root
- of the XMLSpineheaderBlocks
- bodyBocks
- detailBlocks
- consume
-
next
public int next()
throws XMLStreamException
- Specified by:
next
in interface XMLStreamReader
- Overrides:
next
in class XMLStreamReaderFilter
- Throws:
XMLStreamException
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.