org.mule.module.ws.consumer
Class ScopeSaverXMLStreamReader
java.lang.Object
org.mule.module.xml.stax.DelegateXMLStreamReader
org.mule.module.ws.consumer.ScopeSaverXMLStreamReader
- All Implemented Interfaces:
- XMLStreamConstants, XMLStreamReader
- Direct Known Subclasses:
- NamespaceRestorerXMLStreamReader
public class ScopeSaverXMLStreamReader
- extends DelegateXMLStreamReader
XMLStreamReader decorator that saves the scope and allows accesing to information about all the parent XMLEvent elements
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 |
Methods inherited from class org.mule.module.xml.stax.DelegateXMLStreamReader |
close, getAttributeCount, getAttributeLocalName, getAttributeName, getAttributeNamespace, getAttributePrefix, getAttributeType, getAttributeValue, getAttributeValue, getCharacterEncodingScheme, getDelegateReader, 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 |
ScopeSaverXMLStreamReader
public ScopeSaverXMLStreamReader(XMLStreamReader reader)
next
public int next()
throws XMLStreamException
- Specified by:
next
in interface XMLStreamReader
- Overrides:
next
in class DelegateXMLStreamReader
- Throws:
XMLStreamException
currentScope
public StartElement currentScope()
scopes
public List<StartElement> scopes()
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.