Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for hasChildNodes (0.08 sec)

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

        public static void setText(Element element, String value) {
            while (element.hasChildNodes()) {
                element.removeChild(element.getFirstChild())
            }
            element.appendChild(element.ownerDocument.createTextNode(value))
        }
    
        public static void setChildren(Node element, Closure cl) {
            while (element.hasChildNodes()) {
                element.removeChild(element.getFirstChild())
            }
    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