Home
last modified time | relevance | path

Searched refs:newDocumentBuilder (Results 1 – 20 of 20) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
DDocumentBuilderTest.java133 db = dbf.newDocumentBuilder(); in setUp()
172 d = dbf.newDocumentBuilder().newDocument(); in testNewDocument()
187 d = dbf.newDocumentBuilder().getDOMImplementation(); in testGetImplementation()
198 assertTrue(dbf.newDocumentBuilder().isNamespaceAware()); in testIsNamespaceAware()
200 assertFalse(dbf.newDocumentBuilder().isNamespaceAware()); in testIsNamespaceAware()
209 assertFalse(dbf.newDocumentBuilder().isValidating()); in testIsValidating()
218 assertFalse(dbf.newDocumentBuilder().isXIncludeAware()); in testIsXIncludeAware()
539 db = dbf.newDocumentBuilder(); in testReset()
557 db = dbf.newDocumentBuilder(); in testReset()
578 db = dbf.newDocumentBuilder(); in testSetErrorHandler()
[all …]
DDocumentBuilderFactoryTest.java310 DocumentBuilder db = dbf.newDocumentBuilder(); in test_newDocumentBuilder()
320 DocumentBuilder db = dbf.newDocumentBuilder(); in test_newDocumentBuilder()
380 parser = dbf.newDocumentBuilder(); in test_setCoalescingZ()
408 parser = dbf.newDocumentBuilder(); in test_setCoalescingZ()
443 parser = dbf.newDocumentBuilder(); in test_setExpandEntityReferencesZ()
466 parser = dbf.newDocumentBuilder(); in test_setExpandEntityReferencesZ()
543 DocumentBuilder parser = dbf.newDocumentBuilder(); in test_setIgnoringCommentsZ()
566 DocumentBuilder parser = dbf.newDocumentBuilder(); in test_setIgnoringCommentsZ()
592 DocumentBuilder parser = dbf.newDocumentBuilder(); in test_setIgnoringElementContentWhitespaceZ()
611 DocumentBuilder parser = dbf.newDocumentBuilder(); in test_setIgnoringElementContentWhitespaceZ()
[all …]
/libcore/luni/src/test/java/libcore/xml/
DNodeTest.java42 Document document = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(bis); in test_getNextSibling()
48 DocumentBuilder builder = DocumentBuilderFactory.newInstance().newDocumentBuilder(); in testGetBaseUri()
DDeclarationTest.java45 DocumentBuilder builder = factory.newDocumentBuilder(); in setUp()
DDomSerializationTest.java37 documentBuilder = builderFactory.newDocumentBuilder(); in setUp()
DSimpleBuilderTest.java39 builder = factory.newDocumentBuilder(); in setUp()
DDomTest.java131 builder = factory.newDocumentBuilder(); in setUp()
649 Text text = (Text) factory.newDocumentBuilder() in testIsElementContentWhitespaceWithoutDeclaration()
662 Text text = (Text) factory.newDocumentBuilder() in testIsElementContentWhitespaceWithDeclaration()
840 builder = factory.newDocumentBuilder(); in testCloneNodeNotNamespaceAware()
1563 document = factory.newDocumentBuilder().parse(new InputSource(new StringReader(xml))); in testCoalescingOn()
1574 document = factory.newDocumentBuilder().parse(new InputSource(new StringReader(xml))); in testCoalescingOff()
1594 document = factory.newDocumentBuilder().parse(new InputSource(new StringReader(xml))); in testExpandingEntityReferencesOn()
1608 document = factory.newDocumentBuilder().parse(new InputSource(new StringReader(xml))); in testExpandingEntityReferencesOff()
1640 document = factory.newDocumentBuilder().parse(new InputSource(new StringReader(xml))); in testExpandingEntityReferencesOffDoesNotImpactPredefinedEntities()
1651 document = factory.newDocumentBuilder().parse(new InputSource(new StringReader(xml))); in testExpandingEntityReferencesOffDoesNotImpactCharacterEntities()
[all …]
DNormalizeTest.java65 document = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument(); in setUp()
556 .newDocumentBuilder().newDocument(); in createDocumentWithAdjacentTexts()
586 document = DocumentBuilderFactory.newInstance().newDocumentBuilder() in parse()
DJaxenXPathTestSuite.java86 .newDocumentBuilder().parse(testsXml).getDocumentElement(); in suite()
DXsltXPathConformanceTestSuite.java120 documentBuilder = factory.newDocumentBuilder(); in XsltXPathConformanceTestSuite()
165 .newDocumentBuilder().parse(catalogXml); in suite()
/libcore/ojluni/src/main/java/java/util/
DXMLUtils.java102 DocumentBuilder db = dbf.newDocumentBuilder(); in getLoadingDoc()
138 db = dbf.newDocumentBuilder(); in save()
/libcore/support/src/test/java/tests/support/
DSupport_Xml.java36 DocumentBuilder builder = dbf.newDocumentBuilder(); in domOf()
/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/
DDocumentBuilderFactoryImpl.java58 public DocumentBuilder newDocumentBuilder() in newDocumentBuilder() method in DocumentBuilderFactoryImpl
/libcore/benchmarks/src/benchmarks/regression/
DXmlEntitiesBenchmark.java68 DocumentBuilder documentBuilder = documentBuilderFactory.newDocumentBuilder(); in timeDocumentBuilder()
/libcore/luni/src/test/java/tests/org/w3c/dom/
DDOMDocumentBuilderFactory.java36 builder = factory.newDocumentBuilder(); in DOMDocumentBuilderFactory()
/libcore/luni/src/main/java/javax/xml/parsers/
DDocumentBuilderFactory.java95 public abstract DocumentBuilder newDocumentBuilder() in newDocumentBuilder() method in DocumentBuilderFactory
/libcore/dom/src/test/java/org/w3c/domts/
DJAXPDOMTestDocumentBuilderFactory.java61 this.builder = factory.newDocumentBuilder(); in JAXPDOMTestDocumentBuilderFactory()
/libcore/ojluni/src/main/java/java/util/prefs/
DXmlSupport.java240 newDocumentBuilder().getDOMImplementation(); in createPrefsDoc()
262 DocumentBuilder db = dbf.newDocumentBuilder(); in loadPrefsDoc()
/libcore/benchmarks/src/benchmarks/
DXmlParseBenchmark.java66 documentBuilder = builderFactory.newDocumentBuilder(); in setUp()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/
DAbstractPreferencesTest.java956 DocumentBuilder builder = factory.newDocumentBuilder(); in parseXmlStream()