public class NamespaceDeclarationFilter extends XMLStreamReaderWrapper
XMLStreamReader
wrapper that filters out all namespace declarations.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 |
---|
NamespaceDeclarationFilter(XMLStreamReader parent) |
Modifier and Type | Method and Description |
---|---|
int |
getNamespaceCount() |
close, getAttributeCount, getAttributeLocalName, getAttributeName, getAttributeNamespace, getAttributePrefix, getAttributeType, getAttributeValue, getAttributeValue, getCharacterEncodingScheme, getElementText, getEncoding, getEventType, getLocalName, getLocation, getName, getNamespaceContext, getNamespacePrefix, getNamespaceURI, getNamespaceURI, getNamespaceURI, getParent, getPIData, getPITarget, getPrefix, getProperty, getText, getTextCharacters, getTextCharacters, getTextLength, getTextStart, getVersion, hasName, hasNext, hasText, isAttributeSpecified, isCharacters, isEndElement, isStandalone, isStartElement, isWhiteSpace, next, nextTag, require, standaloneSet
public NamespaceDeclarationFilter(XMLStreamReader parent)
public int getNamespaceCount()
getNamespaceCount
in interface XMLStreamReader
getNamespaceCount
in class XMLStreamReaderWrapper
Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.