MCPcopy Create free account
hub / github.com/apache/ant / write

Method write

src/main/org/apache/tools/ant/util/DOMElementWriter.java:173–178  ·  view source on GitHub ↗

Writes a DOM tree to a stream in UTF8 encoding. Note that it prepends the <?xml version='1.0' encoding='UTF-8'?> if the xmlDeclaration field is true. The indent number is set to 0 and a 2-space indent. @param root the root element of the DOM tree. @param out the outputstream to write to. @thro

(Element root, OutputStream out)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 10

writeXMLDeclarationMethod · 0.95
openElementMethod · 0.95
encodeMethod · 0.95
encodedataMethod · 0.95
closeElementMethod · 0.95
itemMethod · 0.80
getDataMethod · 0.80
isEmptyMethod · 0.65
flushMethod · 0.45
getLengthMethod · 0.45