Lines Matching defs:xml
40 import org.xml.sax.SAXException;
51 import javax.xml.parsers.DocumentBuilder;
52 import javax.xml.parsers.DocumentBuilderFactory;
53 import javax.xml.parsers.ParserConfigurationException;
54 import javax.xml.xpath.XPath;
55 import javax.xml.xpath.XPathConstants;
56 import javax.xml.xpath.XPathExpression;
57 import javax.xml.xpath.XPathExpressionException;
58 import javax.xml.xpath.XPathFactory;
290 private void parseData(File xml, XMLParser.ElementContext data,
300 + " %s in %s", imp.toStringTree(), xml);
312 variable.toStringTree(), xml);
314 variable.toStringTree(), xml);
341 private XMLParser.ElementContext getViewNode(File xml, XMLParser.ElementContext root) {
344 + " children count %s", xml, view.size(), root.getChildCount());
388 private void stripFile(File xml, File out, String encoding,
394 Document doc = builder.parse(xml);
398 : originalFileLookup.getOriginalFileFor(xml);
401 actualFile = xml;
409 stripBindingTags(xml, out, binderId, encoding);
410 } else if (!xml.equals(out)){
411 FileUtils.copyFile(xml, out);
433 private void stripBindingTags(File xml, File output, String newTag, String encoding) throws IOException {
434 String res = XmlEditor.strip(xml, newTag, encoding);
435 Preconditions.checkNotNull(res, "layout file should've changed %s", xml.getAbsolutePath());
437 L.d("file %s has changed, overwriting %s", xml.getName(), xml.getAbsolutePath());