public final class ExtensionBindingChecker extends AbstractExtensionBindingChecker
This filter also remembers enabled extension namespaces and filters out any extension namespaces that doesn't belong to those. The net effect is that disabled customizations will never pass through this filter.
Note that we can't just filter out all foreign namespaces, as we need to use user-defined tags in documentations to generate javadoc.
The class needs to know the list of extension binding namespaces that the RI recognizes. To add new URI, modify the isSupportedExtension method.
allowExtensions, enabledExtensions, nsSupport, schemaLanguage| Constructor | Description |
|---|---|
ExtensionBindingChecker(java.lang.String schemaLanguage,
Options options,
org.xml.sax.ErrorHandler handler) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
startDocument() |
|
void |
startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts) |
checkAndEnable, endPrefixMapping, error, isRecognizableExtension, isSupportedExtension, setDocumentLocator, startPrefixMapping, verifyTagName, warningclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitendElement, isCutting, setContentHandler, startCuttingcharacters, endDocument, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, notationDecl, parse, parse, processingInstruction, resolveEntity, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setParent, setProperty, skippedEntity, unparsedEntityDecl, warningpublic ExtensionBindingChecker(java.lang.String schemaLanguage,
Options options,
org.xml.sax.ErrorHandler handler)
public void startDocument()
throws org.xml.sax.SAXException
startDocument in class AbstractExtensionBindingCheckerorg.xml.sax.SAXExceptionpublic 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 class SubtreeCutterorg.xml.sax.SAXExceptionCopyright © 2017 Oracle Corporation. All rights reserved.