Home | History | Annotate | Download | only in utils

Lines Matching defs:parser

117    * <p>The application can use this method to instruct the SAX parser
122 * progress (they should create a new Parser instead for each
124 * application may reuse the same Parser object, possibly with a
140 // org.apache.xerces.parsers.DOMParser parser
148 DocumentBuilder parser = builderFactory.newDocumentBuilder();
154 parser.setFeature("http://apache.org/xml/features/dom/defer-node-expansion", true);
155 parser.setFeature("http://xml.org/sax/features/namespaces", true);
159 parser.setFeature("http://apache.org/xml/features/dom/defer-node-expansion", false);
162 parser.setFeature("http://apache.org/xml/features/allow-java-encodings", true);
165 parser.setErrorHandler(
171 // parser.setEntityResolver(m_entityResolver);
173 setDocument(parser.parse(source));
188 // setDocument(((org.apache.xerces.parsers.DOMParser)parser).getDocument());
193 * DOM and parser, and is meaningful only in the context of a DTD
310 * gates some of the parser options used to build a DOM -- but