| java.lang.Object org.codehaus.groovy.tools.xml.DomToGroovy
DomToGroovy | public class DomToGroovy (Code) | | A SAX handler for turning XML into Groovy scripts
author: James Strachan author: paulk |
Method Summary | |
protected void | defineNamespace(Map namespaces, String prefix, String uri) | protected Map | defineNamespaces(Element element, Map namespaces) | protected String | getLocalName(Node node) | protected String | getTextNodeData(Text node) | protected boolean | mixedContent(NodeList list) | public void | print(Document document) | protected void | print(Node node, Map namespaces, boolean endWithComma) | protected void | print(String text) | protected boolean | printAttributes(Element element) | protected void | printChildren(Node parent, Map namespaces) | protected void | printComment(Comment comment, boolean endWithComma) | protected void | printElement(Element element, Map namespaces, boolean endWithComma) | protected void | printEnd(String text, boolean endWithComma) | protected void | printIndent() | protected void | printPI(ProcessingInstruction instruction, boolean endWithComma) | protected void | printText(Text node, boolean endWithComma) | protected void | println(String text) |
print | protected void print(Node node, Map namespaces, boolean endWithComma)(Code) | | |
printAttributes | protected boolean printAttributes(Element element)(Code) | | |
printChildren | protected void printChildren(Node parent, Map namespaces)(Code) | | |
printComment | protected void printComment(Comment comment, boolean endWithComma)(Code) | | |
printElement | protected void printElement(Element element, Map namespaces, boolean endWithComma)(Code) | | |
printEnd | protected void printEnd(String text, boolean endWithComma)(Code) | | |
printIndent | protected void printIndent()(Code) | | |
printText | protected void printText(Text node, boolean endWithComma)(Code) | | |
|
|