private void warning(String key, String arg) throws SAXException { warning(key, arg, locator); }
void warning(String key) throws SAXException { warning(key, locator); }
private void warning(String key, String arg) throws SAXException { warning(key, arg, locator); }
private void warning(String key, String arg1, String arg2) throws SAXException { warning(key, arg1, arg2, locator); }
private void warning(String key, String arg) throws SAXException { warning(key, arg, locator); }
void warning(String key) throws SAXException { warning(key, locator); }
private void warning(String key, String arg1, String arg2) throws SAXException { warning(key, arg1, arg2, locator); }
private void warning(String key, String arg1, String arg2) throws SAXException { warning(key, arg1, arg2, locator); }
void warning(String key) throws SAXException { warning(key, locator); }
private void warning(String key, String arg1, String arg2, Locator loc) throws SAXException { warning(new SAXParseException(localizer.message(key, arg1, arg2), loc)); }
private void warning(String key, Locator loc) throws SAXException { warning(new SAXParseException(localizer.message(key), loc)); }
private void warning(String key, String arg1, String arg2, Locator loc) throws SAXException { warning(new SAXParseException(localizer.message(key, arg1, arg2), loc)); }
private void warning(String key, String arg, Locator loc) throws SAXException { warning(new SAXParseException(localizer.message(key, arg), loc)); }
private void warning(String key, String arg1, String arg2, Locator loc) throws SAXException { warning(new SAXParseException(localizer.message(key, arg1, arg2), loc)); }
private void warning(String key, String arg, Locator loc) throws SAXException { warning(new SAXParseException(localizer.message(key, arg), loc)); }
private void warning(String key, Locator loc) throws SAXException { warning(new SAXParseException(localizer.message(key), loc)); }
private void warning(String key, Locator loc) throws SAXException { warning(new SAXParseException(localizer.message(key), loc)); }
private void warning(String key, String arg, Locator loc) throws SAXException { warning(new SAXParseException(localizer.message(key, arg), loc)); }
SchemaParser(XMLReader xr, ErrorHandler eh, SchemaBuilder<Pattern, NameClass, Location, ElementAnnotation, CommentListImpl, AnnotationsImpl> schemaBuilder, IncludedGrammar<Pattern, Location, ElementAnnotation, CommentListImpl, AnnotationsImpl> grammar, Scope<Pattern, Location, ElementAnnotation, CommentListImpl, AnnotationsImpl> scope) throws SAXException { this.xr = xr; this.eh = eh; this.schemaBuilder = schemaBuilder; if (eh != null) xr.setErrorHandler(eh); xr.setDTDHandler(context); if (schemaBuilder.usesComments()) { try { xr.setProperty("http://xml.org/sax/properties/lexical-handler", new LexicalHandlerImpl()); } catch (SAXNotRecognizedException e) { warning("no_comment_support", xr.getClass().getName()); } catch (SAXNotSupportedException e) { warning("no_comment_support", xr.getClass().getName()); } } initPatternTable(); initNameClassTable(); new RootState(grammar, scope, SchemaBuilder.INHERIT_NS).set(); }
SchemaParser(XMLReader xr, ErrorHandler eh, SchemaBuilder<Pattern, NameClass, Location, ElementAnnotation, CommentListImpl, AnnotationsImpl> schemaBuilder, IncludedGrammar<Pattern, Location, ElementAnnotation, CommentListImpl, AnnotationsImpl> grammar, Scope<Pattern, Location, ElementAnnotation, CommentListImpl, AnnotationsImpl> scope) throws SAXException { this.xr = xr; this.eh = eh; this.schemaBuilder = schemaBuilder; if (eh != null) xr.setErrorHandler(eh); xr.setDTDHandler(context); if (schemaBuilder.usesComments()) { try { xr.setProperty("http://xml.org/sax/properties/lexical-handler", new LexicalHandlerImpl()); } catch (SAXNotRecognizedException e) { warning("no_comment_support", xr.getClass().getName()); } catch (SAXNotSupportedException e) { warning("no_comment_support", xr.getClass().getName()); } } initPatternTable(); initNameClassTable(); new RootState(grammar, scope, SchemaBuilder.INHERIT_NS).set(); }