Home
last modified time | relevance | path

Searched refs:serializer (Results 1 – 4 of 4) sorted by relevance

/libcore/luni/src/test/java/libcore/xml/
DKxmlSerializerTest.java36 XmlSerializer serializer = new KXmlSerializer(); in testWhitespaceInAttributeValue() local
37 serializer.setOutput(stringWriter); in testWhitespaceInAttributeValue()
38 serializer.startDocument("UTF-8", null); in testWhitespaceInAttributeValue()
39 serializer.startTag(NAMESPACE, "a"); in testWhitespaceInAttributeValue()
40 serializer.attribute(NAMESPACE, "cr", "\r"); in testWhitespaceInAttributeValue()
41 serializer.attribute(NAMESPACE, "lf", "\n"); in testWhitespaceInAttributeValue()
42 serializer.attribute(NAMESPACE, "tab", "\t"); in testWhitespaceInAttributeValue()
43 serializer.attribute(NAMESPACE, "space", " "); in testWhitespaceInAttributeValue()
44 serializer.endTag(NAMESPACE, "a"); in testWhitespaceInAttributeValue()
45 serializer.endDocument(); in testWhitespaceInAttributeValue()
[all …]
DXsltXPathConformanceTestSuite.java481 private void emitNode(XmlSerializer serializer, Node node) throws IOException { in emitNode() argument
487 serializer.startTag(element.getNamespaceURI(), element.getLocalName()); in emitNode()
488 emitAttributes(serializer, element); in emitNode()
489 emitChildren(serializer, element); in emitNode()
490 serializer.endTag(element.getNamespaceURI(), element.getLocalName()); in emitNode()
498 serializer.text(trimmed); in emitNode()
503 serializer.startDocument("UTF-8", true); in emitNode()
504 emitNode(serializer, document.getDocumentElement()); in emitNode()
505 serializer.endDocument(); in emitNode()
511 serializer.processingInstruction(target + " " + data); in emitNode()
[all …]
DXmlPullParserFactoryTest.java37 XmlSerializer serializer = factory.newSerializer(); in testDefaultNewInstance() local
40 assertNotNull(serializer); in testDefaultNewInstance()
42 assertTrue(serializer instanceof KXmlSerializer); in testDefaultNewInstance()
/libcore/benchmarks/libs/
Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...