|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mule.module.xml.stax.DelegateXMLStreamReader
org.mule.module.ws.consumer.ScopeSaverXMLStreamReader
org.mule.module.ws.consumer.NamespaceRestorerXMLStreamReader
public class NamespaceRestorerXMLStreamReader
XMLStreamReader decorator that restores XML Namespace declarations. By default, it will restore the namespaces on the first declaration, but this can be overriden
| 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 | |
|---|---|
NamespaceRestorerXMLStreamReader(XMLStreamReader reader)
|
|
| Method Summary | |
|---|---|
NamespaceRestorerXMLStreamReader |
blackList(String namespace)
|
int |
getNamespaceCount()
|
String |
getNamespacePrefix(int index)
|
String |
getNamespaceURI(int index)
|
String |
getNamespaceURI(String prefix)
|
int |
next()
|
void |
restoreNamespaces()
|
| Methods inherited from class org.mule.module.ws.consumer.ScopeSaverXMLStreamReader |
|---|
currentScope, 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, 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 |
|---|
public NamespaceRestorerXMLStreamReader(XMLStreamReader reader)
| Method Detail |
|---|
public final NamespaceRestorerXMLStreamReader blackList(String namespace)
public void restoreNamespaces()
public int next()
throws XMLStreamException
next in interface XMLStreamReadernext in class ScopeSaverXMLStreamReaderXMLStreamExceptionpublic int getNamespaceCount()
getNamespaceCount in interface XMLStreamReadergetNamespaceCount in class org.mule.module.xml.stax.DelegateXMLStreamReaderpublic String getNamespacePrefix(int index)
getNamespacePrefix in interface XMLStreamReadergetNamespacePrefix in class org.mule.module.xml.stax.DelegateXMLStreamReaderpublic String getNamespaceURI(String prefix)
getNamespaceURI in interface XMLStreamReadergetNamespaceURI in class org.mule.module.xml.stax.DelegateXMLStreamReaderpublic String getNamespaceURI(int index)
getNamespaceURI in interface XMLStreamReadergetNamespaceURI in class org.mule.module.xml.stax.DelegateXMLStreamReader
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||