Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getFirstChild (0.09 sec)

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

            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())
            }
            leftShift(element, cl)
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Aug 11 15:32:19 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DocBookBuilder.java

            stack.addFirst(document.createElement("root"));
        }
    
        List<Element> getElements() {
            List<Element> elements = new ArrayList<Element>();
            for (Node node = stack.getLast().getFirstChild(); node != null; node = node.getNextSibling()) {
                elements.add((Element) node);
            }
            return elements;
        }
    
        public void appendChild(String text) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.8K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/LinkRenderer.java

                }
            });
    
            linkElement.normalize();
            if (linkElement.getChildNodes().getLength() == 1 && linkElement.getFirstChild() instanceof Element) {
                return linkElement.getFirstChild();
            }
            return linkElement;
        }
    
        private Node addType(String className, GenerationListener listener) {
            if (model.isKnownType(className)) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.3K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilder.java

                if (override != null) {
                    element.removeChild(override);
                    inheritedValueTitleMapping.put(override.getTextContent(), element);
                }
                Node firstChild = element.getFirstChild();
                if (firstChild instanceof Text) {
                    firstChild.setTextContent(firstChild.getTextContent().replaceFirst("^\\s+", ""));
                }
                Node lastChild = element.getLastChild();
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java

            final ByteArrayInputStream is = new ByteArrayInputStream(html.getBytes("UTF-8"));
            parser.parse(new InputSource(is));
            Node node = parser.getDocument().getFirstChild().getLastChild().getFirstChild();
            return tag.matches(node);
        }
    
        public void test_normalizeQueryLanguages() {
            FessProp.propMap.clear();
            FessConfig fessConfig = new FessConfig.SimpleImpl() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

                return;
            }
    
            Element firstNode = nodes.get(0);
            if (!firstNode.getNodeName().equals("para") || !(firstNode.getFirstChild() instanceof Text)) {
                return;
            }
    
            Text comment = (Text) firstNode.getFirstChild();
            Matcher matcher = ACCESSOR_COMMENT_PATTERN.matcher(comment.getData());
            if (matcher.lookingAt()) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 29.3K bytes
    - Viewed (0)
Back to top