public class DefaultNamespaceFilter extends org.xml.sax.helpers.XMLFilterImpl
| Modifier and Type | Field and Description |
|---|---|
protected String |
uriDefault |
| Constructor and Description |
|---|
DefaultNamespaceFilter(String defaultNamespace,
XMLReader reader)
Filter for undefined an undefined namespace
|
| Modifier and Type | Method and Description |
|---|---|
void |
endElement(String namespaceURI,
String localName,
String qName)
All incoming empty URIs will be remapped to the default.
|
void |
startElement(String uri,
String localName,
String qName,
Attributes atts)
All incoming empty URIs will be remapped to the default.
|
void |
startPrefixMapping(String prefix,
String uri)
All incoming empty URIs will be remapped to the default.
|
characters, endDocument, endPrefixMapping, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, notationDecl, parse, parse, processingInstruction, resolveEntity, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setParent, setProperty, skippedEntity, startDocument, unparsedEntityDecl, warningprotected String uriDefault
public void startPrefixMapping(String prefix, String uri) throws SAXException
startPrefixMapping in interface ContentHandlerstartPrefixMapping in class org.xml.sax.helpers.XMLFilterImplprefix - incoming prefixuri - URI to check and potentially replaceSAXExceptionpublic void startElement(String uri, String localName, String qName, Attributes atts) throws SAXException
startElement in interface ContentHandlerstartElement in class org.xml.sax.helpers.XMLFilterImpluri - URI to check and potentially replacelocalName - qName - atts - SAXExceptionpublic void endElement(String namespaceURI, String localName, String qName) throws SAXException
endElement in interface ContentHandlerendElement in class org.xml.sax.helpers.XMLFilterImplnamespaceURI - URI to check and potentially replacelocalName - qName - SAXExceptionCopyright © 2012 Apache Software Foundation. All Rights Reserved.