Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for inode (0.17 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassDoc.groovy

     * limitations under the License.
     */
    package gradlebuild.docs.dsl.docbook.model
    
    import gradlebuild.docs.dsl.source.model.ClassMetaData
    import org.w3c.dom.Document
    import org.w3c.dom.Element
    import org.w3c.dom.Node
    
    class ClassDoc implements DslElementDoc {
        private final String className
        private final String id
        private final String simpleName
        final ClassMetaData classMetaData
        private final Element classSection
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.2K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/BuildableDOMCategory.groovy

        }
    
        public static def leftShift(Node parent, Closure cl) {
            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) {
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Aug 11 15:32:19 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ExtraAttributeDoc.groovy

            return "attribute[key: $key, value: $valueCell.textContent]"
        }
    
        String getKey() {
            return titleCell.textContent
        }
    
        List<Node> getTitle() {
            return titleCell.childNodes.collect { it }
        }
    
        List<Node> getValue() {
            return valueCell.childNodes.collect { it }
        }
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1.3K bytes
    - Viewed (0)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/XmlSpecification.groovy

            nodes.each { node ->
                format(node, builder, 0, prettyPrint, prettyPrint)
            }
            return builder.toString()
        }
    
        def format(Node node, Appendable target, int depth, boolean prettyPrint, boolean indentSelf) {
            if (node instanceof Element) {
                Element element = (Element) node
    
                if (indentSelf && depth > 0) {
                    target.append('\n')
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.1K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/DomBuilder.groovy

            parent.appendChild(child)
        }
    
        def appendChild(Node node) {
            if (!current) {
                elements << (Element) document.importNode(node, true)
            } else  {
                current.appendChild(document.importNode(node, true))
            }
        }
    
        def appendChildren(Iterable<? extends Node> nodes) {
            nodes.each { appendChild(it) }
        }
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.7K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/XIncludeAwareXmlProvider.groovy

    import javax.xml.transform.stream.StreamResult
    import org.w3c.dom.Document
    import org.w3c.dom.Element
    import org.w3c.dom.Node
    
    class XIncludeAwareXmlProvider {
    
        Document root
    
        Element parse(File sourceFile) {
            root = parseSourceFile(sourceFile)
            root.documentElement
        }
    
        Node emptyDoc() {
            root = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument()
        }
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.2K bytes
    - Viewed (0)
Back to top