Lines Matching defs:doc
102 Document doc = createPrefsDoc("preferences");
103 Element preferences = doc.getDocumentElement() ;
106 preferences.appendChild(doc.createElement("root"));
118 e.appendChild(doc.createElement("map"));
119 e = (Element) e.appendChild(doc.createElement("node"));
122 putPreferencesInXml(e, doc, p, subTree);
124 writeDoc(doc, os);
139 private static void putPreferencesInXml(Element elt, Document doc,
157 Element map = (Element) elt.appendChild(doc.createElement("map"));
160 map.appendChild(doc.createElement("entry"));
179 elt.appendChild(doc.createElement("node"));
181 putPreferencesInXml(xmlKid, doc, kidsCopy[i], subTree);
200 Document doc = loadPrefsDoc(is);
202 doc.getDocumentElement().getAttribute("EXTERNAL_XML_VERSION");
210 Element xmlRoot = (Element) doc.getDocumentElement();
270 private static final void writeDoc(Document doc, OutputStream out)
282 t.setOutputProperty(OutputKeys.DOCTYPE_SYSTEM, doc.getDoctype().getSystemId());
288 t.transform(new DOMSource(doc),
369 Document doc = createPrefsDoc("map");
370 Element xmlMap = doc.getDocumentElement( ) ;
376 xmlMap.appendChild(doc.createElement("entry"));
381 writeDoc(doc, os);
401 Document doc = loadPrefsDoc(is);
402 Element xmlMap = doc.getDocumentElement();