State createChildState(String localName) throws SAXException { if (localName.equals("define")) { return new DefineState(section); } if (localName.equals("start")) { return new StartState(section); } if (localName.equals("include")) { Include include = section.makeInclude(); if (include != null) { return new IncludeState(include); } } if (localName.equals("div")) { return new DivState(section.makeDiv()); } error("expected_define", localName); // XXX better errors return null; }
State createChildState(String localName) throws SAXException { if (localName.equals("define")) return new DefineState(section); if (localName.equals("start")) return new StartState(section); if (localName.equals("include")) { Include include = section.makeInclude(); if (include != null) return new IncludeState(include); } if (localName.equals("div")) return new DivState(section.makeDiv()); error("expected_define", localName); // XXX better errors return null; }
@Override void end() throws SAXException { super.end(); if (href != null) { try { include.endInclude(parseable, href, getNs(), startLocation, annotations); } catch (IllegalSchemaException e) { } } } }
void end() throws SAXException { super.end(); if (href != null) { try { include.endInclude(parseable, href, getNs(), startLocation, annotations); } catch (IllegalSchemaException e) { } } } }