XMLFilter that checks the use of extension namespace URIs
(to see if they have corresponding plugins), and otherwise report an error.
This code also masks the recognized extensions from the validator that will be plugged as the next component to this.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private boolean | needsToBePruned(String uri)
Returns true if the elements with the given namespace URI should be blocked by this filter. |
| public void | startElement(String uri, String localName, String qName, Attributes atts)
Overrides com. Implements org. Filter a start element event. |
| DTDExtensionBindingChecker | back to summary |
|---|---|
| public DTDExtensionBindingChecker(String schemaLanguage, Options options, ErrorHandler handler) | |
| needsToBePruned | back to summary |
|---|---|
| private boolean needsToBePruned(String uri) Returns true if the elements with the given namespace URI should be blocked by this filter. | |
| startElement | back to summary |
|---|---|
| public void startElement(String uri, String localName, String qName, Attributes atts) throws SAXException Overrides com. Implements org. Doc from org. Filter a start element event.
| |