public class XmlnsContentHandler extends ProxyContentHandler
startPrefixMapping(String, String)
calls.Constructor and Description |
---|
XmlnsContentHandler(org.xml.sax.ContentHandler handler) |
Modifier and Type | Method and Description |
---|---|
void |
startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts)
Adds the recorded namespace mappings (if any) as "xmlns" attributes
before passing the call on to the proxied content handler.
|
void |
startPrefixMapping(java.lang.String prefix,
java.lang.String uri)
Records the namespace mapping and passes the call to the proxied
content handler.
|
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, toString
public XmlnsContentHandler(org.xml.sax.ContentHandler handler)
public void startPrefixMapping(java.lang.String prefix, java.lang.String uri) throws org.xml.sax.SAXException
startPrefixMapping
in interface org.xml.sax.ContentHandler
startPrefixMapping
in class ProxyContentHandler
prefix
- passed throughuri
- passed throughorg.xml.sax.SAXException
- if an error occurspublic void startElement(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes atts) throws org.xml.sax.SAXException
startElement
in interface org.xml.sax.ContentHandler
startElement
in class ProxyContentHandler
namespaceURI
- passed throughlocalName
- passed throughqName
- passed throughatts
- passed throughorg.xml.sax.SAXException
- if an error occurs"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"