com.sun.tools.xjc.reader.internalizer
Class ContentHandlerNamespacePrefixAdapter
java.lang.Object
org.xml.sax.helpers.XMLFilterImpl
com.sun.tools.xjc.reader.internalizer.ContentHandlerNamespacePrefixAdapter
- All Implemented Interfaces:
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler, XMLFilter, XMLReader
final class ContentHandlerNamespacePrefixAdapter
- extends XMLFilterImpl
XMLReader
filter for supporting
http://xml.org/sax/features/namespace-prefixes feature.
Methods inherited from class org.xml.sax.helpers.XMLFilterImpl |
characters, endDocument, endElement, endPrefixMapping, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getParent, getProperty, ignorableWhitespace, notationDecl, parse, parse, processingInstruction, resolveEntity, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setParent, setProperty, skippedEntity, startDocument, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContentHandlerNamespacePrefixAdapter
public ContentHandlerNamespacePrefixAdapter()
ContentHandlerNamespacePrefixAdapter
public ContentHandlerNamespacePrefixAdapter(XMLReader parent)
getFeature
public boolean getFeature(String name)
throws SAXNotRecognizedException,
SAXNotSupportedException
- Specified by:
getFeature
in interface XMLReader
- Overrides:
getFeature
in class XMLFilterImpl
- Throws:
SAXNotRecognizedException
SAXNotSupportedException
setFeature
public void setFeature(String name,
boolean value)
throws SAXNotRecognizedException,
SAXNotSupportedException
- Specified by:
setFeature
in interface XMLReader
- Overrides:
setFeature
in class XMLFilterImpl
- Throws:
SAXNotRecognizedException
SAXNotSupportedException
startPrefixMapping
public void startPrefixMapping(String prefix,
String uri)
throws SAXException
- Specified by:
startPrefixMapping
in interface ContentHandler
- Overrides:
startPrefixMapping
in class XMLFilterImpl
- Throws:
SAXException
startElement
public void startElement(String uri,
String localName,
String qName,
Attributes atts)
throws SAXException
- Specified by:
startElement
in interface ContentHandler
- Overrides:
startElement
in class XMLFilterImpl
- Throws:
SAXException