com.sun.tools.xjc.reader
public abstract class AbstractExtensionBindingChecker extends SubtreeCutter
| Field Summary | |
|---|---|
| protected boolean | allowExtensions
If false, any use of extensions is reported as an error. |
| protected Set<String> | enabledExtensions
Set of namespace URIs that designates enabled extensions. |
| protected NamespaceSupport | nsSupport Remembers in-scope namespace bindings. |
| protected String | schemaLanguage
Namespace URI of the target schema language. |
| Constructor Summary | |
|---|---|
| AbstractExtensionBindingChecker(String schemaLanguage, Options options, ErrorHandler handler) | |
| Method Summary | |
|---|---|
| protected void | checkAndEnable(String uri)
Verify that the given URI is indeed a valid extension namespace URI,
and if so enable it.
|
| void | endPrefixMapping(String prefix) |
| protected SAXParseException | error(String msg)
Reports an error and returns the created SAXParseException |
| protected boolean | isRecognizableExtension(String namespaceUri)
Checks if the given namespace URI can be potentially recognized
by this XJC. |
| protected boolean | isSupportedExtension(String namespaceUri)
Checks if the given namespace URI is supported as the extension
bindings. |
| void | setDocumentLocator(Locator locator) |
| void | startDocument() |
| void | startPrefixMapping(String prefix, String uri) |
| protected void | verifyTagName(String namespaceURI, String localName, String qName)
If the tag name belongs to a plugin namespace-wise, check its local name
to make sure it's correct. |
| protected void | warning(String msg)
Reports a warning. |
Parameters: handler This error handler will receive detected errors.
This method does all the error handling.