org.mule.module.ws.consumer
Class ScopeSaverXMLStreamReader

java.lang.Object
  extended by org.mule.module.xml.stax.DelegateXMLStreamReader
      extended by 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


Field Summary
 
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
 
Constructor Summary
ScopeSaverXMLStreamReader(XMLStreamReader reader)
           
 
Method Summary
 StartElement currentScope()
           
 int next()
           
 List<StartElement> scopes()
           
 
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
 

Constructor Detail

ScopeSaverXMLStreamReader

public ScopeSaverXMLStreamReader(XMLStreamReader reader)
Method Detail

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.