public class NamespaceRestorerXMLStreamReader extends ScopeSaverXMLStreamReader
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
Constructor and Description |
---|
NamespaceRestorerXMLStreamReader(XMLStreamReader reader) |
Modifier and Type | Method and Description |
---|---|
NamespaceRestorerXMLStreamReader |
blackList(String namespace) |
int |
getNamespaceCount() |
String |
getNamespacePrefix(int index) |
String |
getNamespaceURI(int index) |
String |
getNamespaceURI(String prefix) |
int |
next() |
void |
restoreNamespaces() |
currentScope, scopes
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
public NamespaceRestorerXMLStreamReader(XMLStreamReader reader)
public final NamespaceRestorerXMLStreamReader blackList(String namespace)
public void restoreNamespaces()
public int next() throws XMLStreamException
next
in interface XMLStreamReader
next
in class ScopeSaverXMLStreamReader
XMLStreamException
public int getNamespaceCount()
getNamespaceCount
in interface XMLStreamReader
getNamespaceCount
in class DelegateXMLStreamReader
public String getNamespacePrefix(int index)
getNamespacePrefix
in interface XMLStreamReader
getNamespacePrefix
in class DelegateXMLStreamReader
public String getNamespaceURI(String prefix)
getNamespaceURI
in interface XMLStreamReader
getNamespaceURI
in class DelegateXMLStreamReader
public String getNamespaceURI(int index)
getNamespaceURI
in interface XMLStreamReader
getNamespaceURI
in class DelegateXMLStreamReader
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.