MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / toXML

Method toXML

CodenameOne/src/com/codename1/xml/XMLWriter.java:93–97  ·  view source on GitHub ↗
(Element element)

Source from the content-addressed store, hash-verified

91 ///
92 /// the XML as a String
93 public String toXML(Element element) {
94 StringBuilder writer = new StringBuilder();
95 toXML(writer, element, new StringBuilder(), false);
96 return writer.toString();
97 }
98
99 /// Writes the XML of an Element to a StringBuilder using a given starting
100 /// indentation. Note: may output invalid XML if you created text Elements

Callers 5

toXMLMethod · 0.95
toXmlMethod · 0.45
invoke30Method · 0.45
invoke2Method · 0.45

Calls 15

toStringMethod · 0.95
encodeIfRequiredMethod · 0.95
keysMethod · 0.95
hasMoreElementsMethod · 0.95
nextElementMethod · 0.95
getMethod · 0.95
appendMethod · 0.65
getTextMethod · 0.65
getTagNameMethod · 0.65
getAttributesMethod · 0.65
isEmptyMethod · 0.65
lengthMethod · 0.65

Tested by 1