Instantiate this parser to parse a fast infoset document in accordance with the DOM API.
575859606162636465666768
DocumentBuilder db = dbf.newDocumentBuilder(); Document d; if (isFastInfosetDocument) { d = db.newDocument(); DOMDocumentParser ddp = new DOMDocumentParser(); ddp.parse(d, document); } else { if (workingDirectory != null) { db.setEntityResolver(createRelativePathResolver(workingDirectory)); } d = db.parse(document);
565758596061626364656667