Home
last modified time | relevance | path

Searched refs:XmlSerializer (Results 1 – 10 of 10) sorted by relevance

/libcore/benchmarks/src/benchmarks/
DXmlSerializeBenchmark.java24 import org.xmlpull.v1.XmlSerializer;
37 private Constructor<? extends XmlSerializer> kxmlConstructor;
38 private Constructor<? extends XmlSerializer> fastConstructor;
40 private void serializeRandomXml(Constructor<? extends XmlSerializer> ctor, long seed) in serializeRandomXml()
49 XmlSerializer serializer = (XmlSerializer) ctor.newInstance(); in serializeRandomXml()
95 private void internalTimeSerializer(Constructor<? extends XmlSerializer> ctor, int reps) in internalTimeSerializer()
/libcore/luni/src/test/java/libcore/xml/
DKxmlSerializerTest.java28 import org.xmlpull.v1.XmlSerializer;
36 XmlSerializer serializer = new KXmlSerializer(); in testWhitespaceInAttributeValue()
52 XmlSerializer serializer = new KXmlSerializer(); in testWriteDocument()
69 XmlSerializer serializer = new KXmlSerializer(); in testWriteSpecialCharactersInText()
84 private static XmlSerializer newSerializer() throws IOException { in newSerializer()
86 XmlSerializer serializer = new KXmlSerializer(); in newSerializer()
102 XmlSerializer serializer = new KXmlSerializer(); in testSpeakNoEvilMonkeys()
126 XmlSerializer serializer = new KXmlSerializer(); in testBadSurrogates()
151 XmlSerializer serializer = newSerializer(); in testInvalidCharactersInText()
169 XmlSerializer serializer = newSerializer(); in testInvalidCharactersInAttributeValues()
[all …]
DXmlPullParserFactoryTest.java30 import org.xmlpull.v1.XmlSerializer;
37 XmlSerializer serializer = factory.newSerializer(); in testDefaultNewInstance()
138 public static class XmlSerializerStub implements XmlSerializer {
186 public XmlSerializer startTag(String namespace, String name) throws IOException { in startTag()
190 … public XmlSerializer attribute(String namespace, String name, String value) throws IOException { in attribute()
194 public XmlSerializer endTag(String namespace, String name) throws IOException { in endTag()
198 public XmlSerializer text(String text) throws IOException { in text()
202 public XmlSerializer text(char[] buf, int start, int len) throws IOException { in text()
DXsltXPathConformanceTestSuite.java64 import org.xmlpull.v1.XmlSerializer;
473 XmlSerializer xmlSerializer = xmlPullParserFactory.newSerializer(); in nodeToNormalizedString()
481 private void emitNode(XmlSerializer serializer, Node node) throws IOException { in emitNode()
526 private void emitAttributes(XmlSerializer serializer, Node node) in emitAttributes()
556 private void emitChildren(XmlSerializer serializer, Node node) in emitChildren()
/libcore/xml/src/main/java/org/xmlpull/v1/
DXmlSerializer.java35 public interface XmlSerializer { interface
209 XmlSerializer startTag (String namespace, String name) in startTag()
219 XmlSerializer attribute (String namespace, String name, String value) in attribute()
230 XmlSerializer endTag (String namespace, String name) in endTag()
290 XmlSerializer text (String text) in text()
296 XmlSerializer text (char [] buf, int start, int len) in text()
DXmlPullParserFactory.java163 private XmlSerializer getSerializerInstance() throws XmlPullParserException { in getSerializerInstance()
172 return (XmlSerializer) serializerClass.newInstance(); in getSerializerInstance()
211 public XmlSerializer newSerializer() throws XmlPullParserException { in newSerializer()
/libcore/luni/src/main/java/libcore/util/
DXmlObjectFactory.java24 import org.xmlpull.v1.XmlSerializer;
41 public static XmlSerializer newXmlSerializer() { in newXmlSerializer()
/libcore/xml/src/main/java/com/android/org/kxml2/io/
DKXmlSerializer.java28 public class KXmlSerializer implements XmlSerializer {
396 public XmlSerializer startTag(String namespace, String name) in startTag()
449 public XmlSerializer attribute( in attribute()
511 public XmlSerializer endTag(String namespace, String name) in endTag()
563 public XmlSerializer text(String text) throws IOException { in text()
570 public XmlSerializer text(char[] text, int start, int len) in text()
/libcore/
Dnon_openjdk_java_files.bp347 "xml/src/main/java/org/xmlpull/v1/XmlSerializer.java",
/libcore/mmodules/core_platform_api/api/legacy_platform/
Dcurrent-api.txt1108 method public static org.xmlpull.v1.XmlSerializer newXmlSerializer();