Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DomBuilder (0.1 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/DomBuilder.groovy

    import org.w3c.dom.Element
    import org.w3c.dom.Node
    import org.w3c.dom.NodeList
    
    class DomBuilder extends BuilderSupport {
        Document document
        Node parent
        List elements = []
    
        def DomBuilder(Document document) {
            this.document = document
            this.parent = document
        }
    
        def DomBuilder(Node parent) {
            this.document = parent.ownerDocument
            this.parent = parent
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/BuildableDOMCategory.groovy

            DomBuilder builder = new DomBuilder(parent)
            cl.delegate = builder
            cl.call()
            return builder.elements[0]
        }
    
        public static void leftShift(Node parent, Node node) {
            parent.appendChild(parent.ownerDocument.importNode(node, true))
        }
    
        public static void addFirst(Node parent, Closure cl) {
            DomBuilder builder = new DomBuilder(parent.ownerDocument, null)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Aug 11 15:32:19 UTC 2022
    - 2.8K bytes
    - Viewed (0)
Back to top