Converts a stream of SAX events into a DOM node.
132133134135136137138139140141142143
if (XSParser.XML_SCHEMA_URI.equals(pNamespaceURI)) { return null; // Let the parser handle this element } try { DOMBuilder db = new DOMBuilder(); addChild(db.getDocument()); return db; } catch (ParserConfigurationException e) { throw new SAXException(e); } }
162163164165166167168169170171172173
130131132133134135136137138139140141
117118119120121122123124125126127128
public ContentHandler getChildHandler(String pQName, String pNamespaceURI, String pLocalName) throws SAXException { isSimple = false; try { DOMBuilder db = new DOMBuilder(); addChild(db.getDocument()); return db; } catch (ParserConfigurationException e) { throw new SAXException(e); } }
100101102103104105106107108109110111