java.lang.Objectorg.xml.sax.helpers.XMLFilterImpl
com.sun.tools.internal.xjc.reader.xmlschema.parser.IncorrectNamespaceURIChecker
All Implemented Interfaces:
ContentHandler, DTDHandler, ErrorHandler, XMLFilter, EntityResolver
However, one unfortunate downside of this philosophically correct behavior is that there is no provision or safety check when an user misspelled JAXB binding customization namespace.
This checker inspects the input document and look for the use of the prefix "jaxb". If the document doesn't associate any prefix to the JAXB customization URI and if it does associate the jaxb prefix, this checker will issue a warning.
This warning can happen to completely correct schema (because nothing prevents you from using the prefix "jaxb" for other purpose while using a JAXB compiler on the same schema) but in practice this would be quite unlikely.
This justifies the use of this filter.
Kohsuke - Kawaguchi (kohsuke.kawaguchi@sun.com)| Constructor: |
|---|
|
| Method from com.sun.tools.internal.xjc.reader.xmlschema.parser.IncorrectNamespaceURIChecker Summary: |
|---|
| endDocument, setDocumentLocator, startElement, startPrefixMapping |
| Methods from org.xml.sax.helpers.XMLFilterImpl: |
|---|
| characters, endDocument, endElement, endPrefixMapping, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, notationDecl, parse, parse, processingInstruction, resolveEntity, setContentHandler, setDTDHandler, setDocumentLocator, setEntityResolver, setErrorHandler, setFeature, setParent, setProperty, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning |
| Methods from java.lang.Object: |
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from com.sun.tools.internal.xjc.reader.xmlschema.parser.IncorrectNamespaceURIChecker Detail: |
|---|
|
|
|
|