- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for importNode (0.1 sec)
-
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) } }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.7K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/PropertyDetailRenderer.java
} } warningsRenderer.renderTo(propertyDoc, "property", section); for (Element element : propertyDoc.getComment()) { section.appendChild(document.importNode(element, true)); } if (!propertyDoc.getAdditionalValues().isEmpty()) { Element segmentedlist = document.createElement("segmentedlist"); section.appendChild(segmentedlist);
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 3.5K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDescriptionRenderer.java
parent.appendChild(document.importNode(element, true)); } NodeList otherContent = classDoc.getClassSection().getChildNodes(); for (int i = 0; i < otherContent.getLength(); i++) { Node child = otherContent.item(i); if (child instanceof Element && !((Element) child).getTagName().equals("section")) { parent.appendChild(document.importNode(child, true)); } }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.1K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/MethodDetailRenderer.java
title.appendChild(document.createTextNode(")")); warningsRenderer.renderTo(methodDoc, "method", section); for (Element element : methodDoc.getComment()) { section.appendChild(document.importNode(element, true)); } }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.7K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/XmlSpecification.groovy
factory.setNamespaceAware(true) DocumentBuilder builder = factory.newDocumentBuilder() def parsed = builder.parse(new InputSource(new StringReader(str))).documentElement return document ? document.importNode(parsed, true) : parsed } def formatTree(Closure cl) { withCategories { return formatTree(cl.call()) } } def withCategories(Closure cl) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.1K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BlockTableRenderer.java
td.appendChild(caution); caution.appendChild(document.createTextNode("Incubating")); } td.appendChild(document.importNode(blockDoc.getDescription(), true)); } }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.8K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/PropertyTableRenderer.java
td.appendChild(caution); caution.appendChild(document.createTextNode("Replaced")); } td.appendChild(document.importNode(propDoc.getDescription(), true)); } }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 3.1K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/BuildableDOMCategory.groovy
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) cl.delegate = builder cl.call()
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Aug 11 15:32:19 UTC 2022 - 2.8K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/MethodTableRenderer.java
td.appendChild(caution); caution.appendChild(document.createTextNode("Incubating")); } td.appendChild(document.importNode(methodDoc.getDescription(), true)); } }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 3.3K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BlockDetailRenderer.java
warningsRenderer.renderTo(blockDoc, "script block", section); for (Element element : blockDoc.getComment()) { section.appendChild(document.importNode(element, true)); } Element segmentedlist = document.createElement("segmentedlist"); section.appendChild(segmentedlist); Element segtitle = document.createElement("segtitle");
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 3.7K bytes - Viewed (0)