Home
last modified time | relevance | path

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

/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.java166 private XmlSerializer getSerializerInstance() throws XmlPullParserException { in getSerializerInstance()
175 return (XmlSerializer) serializerClass.newInstance(); in getSerializerInstance()
214 public XmlSerializer newSerializer() throws XmlPullParserException { in newSerializer()
/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()
148 XmlSerializer serializer = newSerializer(); in testInvalidCharactersInText()
166 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/kxml2/io/
DKXmlSerializer.java28 public class KXmlSerializer implements XmlSerializer {
370 public XmlSerializer startTag(String namespace, String name) in startTag()
423 public XmlSerializer attribute( in attribute()
485 public XmlSerializer endTag(String namespace, String name) in endTag()
537 public XmlSerializer text(String text) throws IOException { in text()
544 public XmlSerializer text(char[] text, int start, int len) in text()