public class NamespaceSupportReader extends org.xml.sax.helpers.XMLFilterImpl
| Modifier and Type | Field and Description |
|---|---|
protected MyNamespaceSupport |
nsSupport |
| Constructor and Description |
|---|
NamespaceSupportReader(boolean nsPrefixes) |
NamespaceSupportReader(XMLReader parent) |
| Modifier and Type | Method and Description |
|---|---|
void |
endElement(String uri,
String localName,
String qName) |
MyNamespaceSupport |
getNamespaceSupport() |
void |
parse(InputSource is,
org.xml.sax.helpers.DefaultHandler handler) |
void |
parse(String systemId,
org.xml.sax.helpers.DefaultHandler handler) |
void |
setDefaultHandler(org.xml.sax.helpers.DefaultHandler handler) |
void |
startDocument() |
void |
startElement(String namespaceURI,
String localName,
String qualifiedName,
Attributes atts) |
void |
startPrefixMapping(String prefix,
String uri) |
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, unparsedEntityDecl, warningprotected MyNamespaceSupport nsSupport
public NamespaceSupportReader(boolean nsPrefixes)
throws ParserConfigurationException,
SAXException
public NamespaceSupportReader(XMLReader parent)
public MyNamespaceSupport getNamespaceSupport()
public void startDocument()
throws SAXException
startDocument in interface ContentHandlerstartDocument in class org.xml.sax.helpers.XMLFilterImplSAXExceptionpublic void startPrefixMapping(String prefix, String uri) throws SAXException
startPrefixMapping in interface ContentHandlerstartPrefixMapping in class org.xml.sax.helpers.XMLFilterImplSAXExceptionpublic void startElement(String namespaceURI, String localName, String qualifiedName, Attributes atts) throws SAXException
startElement in interface ContentHandlerstartElement in class org.xml.sax.helpers.XMLFilterImplSAXExceptionpublic void endElement(String uri, String localName, String qName) throws SAXException
endElement in interface ContentHandlerendElement in class org.xml.sax.helpers.XMLFilterImplSAXExceptionpublic void setDefaultHandler(org.xml.sax.helpers.DefaultHandler handler) throws SAXNotSupportedException, SAXNotRecognizedException
public void parse(InputSource is, org.xml.sax.helpers.DefaultHandler handler) throws IOException, SAXException
IOExceptionSAXExceptionpublic void parse(String systemId, org.xml.sax.helpers.DefaultHandler handler) throws IOException, SAXException
IOExceptionSAXExceptionCopyright © 2019. All rights reserved.