Class DomToGroovy


  • @Deprecated
    public class DomToGroovy
    extends Object
    Deprecated.
    A SAX handler for turning XML into Groovy scripts
    • Field Detail

      • inMixed

        protected boolean inMixed
        Deprecated.
      • qt

        protected String qt
        Deprecated.
    • Constructor Detail

      • DomToGroovy

        public DomToGroovy​(PrintWriter out)
        Deprecated.
      • DomToGroovy

        public DomToGroovy​(IndentPrinter out)
        Deprecated.
    • Method Detail

      • print

        public void print​(Document document)
        Deprecated.
      • main

        public static void main​(String[] args)
        Deprecated.
      • print

        protected void print​(Node node,
                             Map namespaces,
                             boolean endWithComma)
        Deprecated.
      • printElement

        protected void printElement​(Element element,
                                    Map namespaces,
                                    boolean endWithComma)
        Deprecated.
      • printQuoted

        protected void printQuoted​(String text)
        Deprecated.
      • printPI

        protected void printPI​(ProcessingInstruction instruction,
                               boolean endWithComma)
        Deprecated.
      • printComment

        protected void printComment​(Comment comment,
                                    boolean endWithComma)
        Deprecated.
      • printText

        protected void printText​(Text node,
                                 boolean endWithComma)
        Deprecated.
      • escapeQuote

        protected String escapeQuote​(String text)
        Deprecated.
      • defineNamespaces

        protected Map defineNamespaces​(Element element,
                                       Map namespaces)
        Deprecated.
      • defineNamespace

        protected void defineNamespace​(Map namespaces,
                                       String prefix,
                                       String uri)
        Deprecated.
      • printAttributes

        protected boolean printAttributes​(Element element)
        Deprecated.
      • printAttributeWithPrefix

        protected void printAttributeWithPrefix​(Attr attribute,
                                                StringBuffer buffer)
        Deprecated.
      • getAttributeValue

        protected String getAttributeValue​(Attr attribute)
        Deprecated.
      • printAttributeWithoutPrefix

        protected boolean printAttributeWithoutPrefix​(Attr attribute,
                                                      boolean hasAttribute)
        Deprecated.
      • checkEscaping

        protected boolean checkEscaping​(String localName)
        Deprecated.
      • getTextNodeData

        protected String getTextNodeData​(Text node)
        Deprecated.
      • mixedContent

        protected boolean mixedContent​(NodeList list)
        Deprecated.
      • printChildren

        protected void printChildren​(Node parent,
                                     Map namespaces)
        Deprecated.
      • getLocalName

        protected String getLocalName​(Node node)
        Deprecated.
      • printEnd

        protected void printEnd​(String text,
                                boolean endWithComma)
        Deprecated.
      • println

        protected void println​(String text)
        Deprecated.
      • print

        protected void print​(String text)
        Deprecated.
      • printIndent

        protected void printIndent()
        Deprecated.