Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for element (0.29 sec)

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

        private final Element propertiesTable
        private final Element methodsTable
        private final Element propertiesSection
        private final Element methodsSection
        ClassDoc superClass
        List<ClassDoc> interfaces = []
        List<ClassDoc> subClasses = []
        List<Element> comment = []
    
    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

    package gradlebuild.docs
    
    import groovy.xml.dom.DOMCategory
    import org.w3c.dom.Element
    import org.w3c.dom.Node
    
    class BuildableDOMCategory extends DOMCategory {
        public static void setText(Element element, String value) {
            while (element.hasChildNodes()) {
                element.removeChild(element.getFirstChild())
            }
            element.appendChild(element.ownerDocument.createTextNode(value))
        }
    
    Groovy
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Thu Aug 11 15:32:19 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  3. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexerTest.groovy

        }
    
        def "closes implicit <p> element at start of block element"() {
            expect:
            parse(source) == transformed
    
            where:
            source              | transformed
            "text<p>para 2</p>" | "<p>text</p><p>para 2</p>"
            "text<h2>text</h2>" | "<p>text</p><h2>text</h2>"
        }
    
        def "does not add implicit <p> element for elements with inline content"() {
            expect:
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.5K bytes
    - Viewed (0)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocConverterTest.groovy

            then:
            format(result.docbook) == '''<para><UNHANDLED-ELEMENT>&lt;unknown&gt;text&lt;/unknown&gt;</UNHANDLED-ELEMENT><UNHANDLED-ELEMENT>&lt;inheritdoc&gt;<UNHANDLED-TAG>{@unknown text}</UNHANDLED-TAG><UNHANDLED-TAG>{@p text}</UNHANDLED-TAG><UNHANDLED-TAG>{@ unknown}</UNHANDLED-TAG>&lt;/inheritdoc&gt;</UNHANDLED-ELEMENT></para>'''
        }
    
        def handlesMissingStartTags() {
    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)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy

                                return 1; 
                            } else {
                                return -1;
                            }
                        });
                        // Remove duplicates (equal adjacent elements) - a new, un@Incubating type will be here twice, as 2 errors are reported; use stringified JSON to compare
                        // Filtering an array is NOT in place
    Groovy
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Feb 07 20:38:43 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/DomBuilder.groovy

            this.parent = parent
        }
    
        protected Element createNode(Object name) {
            Element element = document.createElement(name as String)
            if (getCurrent() == null) {
                elements << element
                parent?.appendChild(element)
            }
            return element
        }
    
        protected Element createNode(Object name, Map attributes) {
            Element element = createNode(name)
            attributes.each {key, value ->
    Groovy
    - Registered: Wed Apr 24 11:36:11 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/model/PropertyDoc.groovy

    package gradlebuild.docs.dsl.docbook.model
    
    import gradlebuild.docs.dsl.source.model.PropertyMetaData
    import org.w3c.dom.Element
    import gradlebuild.docs.dsl.source.model.ClassMetaData
    
    class PropertyDoc implements DslElementDoc {
        private final String id
        private final String name
        private final List<Element> comment
        private final List<ExtraAttributeDoc> additionalValues
        private final PropertyMetaData metaData
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 3.1K bytes
    - Viewed (0)
  8. build-logic/documentation/src/test/groovy/gradlebuild/docs/XmlSpecification.groovy

            if (node instanceof Element) {
                Element element = (Element) node
    
                if (indentSelf && depth > 0) {
                    target.append('\n')
                    depth.times { target.append('    ') }
                }
    
                target.append("<${element.tagName}")
                for (int i = 0; i < element.attributes.length; i++) {
                    Attr attr = element.attributes.item(i)
    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)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/BlockDoc.groovy

        }
    
        boolean isMultiValued() {
            return multiValued
        }
    
        TypeMetaData getType() {
            return type
        }
    
        Element getDescription() {
            return blockMethod.description;
        }
    
        List<Element> getComment() {
            return blockMethod.comment
        }
    
        boolean isDeprecated() {
            return blockProperty.deprecated || blockMethod.deprecated
        }
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.2K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/MethodDoc.groovy

    import gradlebuild.docs.dsl.source.model.MethodMetaData
    import org.w3c.dom.Element
    
    class MethodDoc implements DslElementDoc {
        private final String id
        private final MethodMetaData metaData
        private final List<Element> comment
        private final ClassMetaData referringClass
    
        MethodDoc(MethodMetaData metaData, List<Element> comment) {
            this(metaData.ownerClass, metaData, comment)
        }
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.3K bytes
    - Viewed (0)
Back to top