public void startElement(String name, Attributes attributes) { if (name.equals(elementHandled)) { rootHandler.initialize(this, name, attributes); xmlReader.setContentHandler(rootHandler); } else { this.noSubElements(name, attributes); } }
public void initialize(DocHandler document, String rootName, Attributes attributes) { this.parentHandler = document; this.elementHandled = rootName; handleRootAttributes(attributes); }
public void startElement(String name, Attributes attributes) { if (name.equals(elementHandled)) { rootHandler.initialize(this, name, attributes); xmlReader.setContentHandler(rootHandler); } else { this.noSubElements(name, attributes); } }
public void initialize(DocHandler document, String rootName, Attributes attributes) { this.parentHandler = document; this.elementHandled = rootName; handleRootAttributes(attributes); }