Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for createElement (0.21 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ElementWarningsRenderer.java

                Element caution = document.createElement("caution");
                parent.appendChild(caution);
                Element para = document.createElement("para");
                caution.appendChild(para);
                para.appendChild(document.createTextNode(String.format("Note: This %s is ", type)));
                Element link = document.createElement("ulink");
                para.appendChild(link);
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.8K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/LinkRenderer.java

            if (model.isKnownType(className)) {
                Element linkElement = document.createElement("apilink");
                linkElement.setAttribute("class", className);
                return linkElement;
            }
    
            if (primitiveTypes.contains(className)) {
                Element classNameElement = document.createElement("classname");
                classNameElement.appendChild(document.createTextNode(className));
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.3K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/PropertyDetailRenderer.java

            Document document = parent.getOwnerDocument();
            Element section = document.createElement("section");
            parent.appendChild(section);
            section.setAttribute("id", propertyDoc.getId());
            section.setAttribute("role", "detail");
    
            Element title = document.createElement("title");
            section.appendChild(title);
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 3.5K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BlocksRenderer.java

        public void renderSummaryTo(ClassDoc classDoc, Element parent) {
            Document document = parent.getOwnerDocument();
    
            Element summarySection = document.createElement("section");
            parent.appendChild(summarySection);
    
            Element title = document.createElement("title");
            summarySection.appendChild(title);
            title.appendChild(document.createTextNode("Script blocks"));
    
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/UserGuideTransformTask.groovy

                transformApiLinks(doc)
                transformWebsiteLinks(doc)
                fixProgramListings(doc)
            }
        }
    
        def addVersionInfo(Document doc) {
            Element releaseInfo = doc.createElement('releaseinfo')
            releaseInfo.appendChild(doc.createTextNode(version.get().toString()))
            doc.documentElement.bookinfo[0]?.appendChild(releaseInfo)
        }
    
        def fixProgramListings(Document doc) {
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 5.6K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/MethodDetailRenderer.java

            Document document = parent.getOwnerDocument();
    
            Element section = document.createElement("section");
            parent.appendChild(section);
            section.setAttribute("id", methodDoc.getId());
            section.setAttribute("role", "detail");
    
            Element title = document.createElement("title");
            section.appendChild(title);
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.7K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DocBookBuilder.java

    class DocBookBuilder {
        final LinkedList<Element> stack = new LinkedList<Element>();
        final Document document;
    
        DocBookBuilder(Document document) {
            this.document = document;
            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()) {
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.8K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy

                        var textFileAsBlob = new Blob([textToWrite], {type:'text/plain'});
                        var fileNameToSaveAs = 'accepted-public-api-changes.json';
    
                        var downloadLink = document.createElement("a");
                        downloadLink.download = fileNameToSaveAs;
                        downloadLink.innerHTML = "Download File";
    
                        // Add the link to the DOM so that it can be clicked
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Feb 07 20:38:43 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  9. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocConverterTest.groovy

            then:
            format(result.docbook) == '''<para><xref/> <xref/></para>'''
            1 * linkConverter.resolve('someClass', classMetaData, listener) >> document.createElement("xref")
            1 * linkConverter.resolve('otherClass#method(a, b) label', classMetaData, listener) >> document.createElement("xref")
            0 * linkConverter._
        }
    
        def convertsAnAElementWithNameAttribute() {
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 14.2K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BlockTableRenderer.java

            // </thead>
            Element thead = document.createElement("thead");
            parent.appendChild(thead);
            Element tr = document.createElement("tr");
            thead.appendChild(tr);
            Element td = document.createElement("td");
            tr.appendChild(td);
            td.appendChild(document.createTextNode("Block"));
            td = document.createElement("td");
            tr.appendChild(td);
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.8K bytes
    - Viewed (0)
Back to top