Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for namespaceUri (0.06 sec)

  1. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

            }
    
            /**
             * Sets the namespace URI of the XML node.
             *
             * @param namespaceUri the namespace URI of the XML node
             * @return this builder instance
             */
            public Builder namespaceUri(String namespaceUri) {
                this.namespaceUri = namespaceUri;
                return this;
            }
    
            /**
             * Sets the namespace prefix of the XML node.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Dec 17 15:20:44 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtils.java

            // Fallback to namespace URI detection
            String namespaceUri = root.namespaceDeclaration(null);
            if (MAVEN_4_2_0_NAMESPACE.equals(namespaceUri)) {
                return MODEL_VERSION_4_2_0;
            } else if (MAVEN_4_1_0_NAMESPACE.equals(namespaceUri)) {
                return MODEL_VERSION_4_1_0;
            } else if (MAVEN_4_0_0_NAMESPACE.equals(namespaceUri)) {
                return MODEL_VERSION_4_0_0;
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  3. compat/maven-model/src/test/java/org/apache/maven/model/v4/ModelXmlTest.java

            assertEquals("http://maven.apache.org/POM/4.0.0", node.namespaceUri());
            assertEquals("m", node.prefix());
            assertEquals("configuration", node.name());
            assertEquals(1, node.children().size());
            XmlNode myConfig = node.children().get(0);
            assertEquals("http://fabric8.io/fabric8-maven-plugin", myConfig.namespaceUri());
            assertEquals("", myConfig.prefix());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 4K bytes
    - Viewed (0)
  4. impl/maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomNodeIterator.java

                if (wildcard && testPrefix == null) {
                    return true;
                }
                if (wildcard || testName.equals(nodeName)) {
                    return (namespaceURI == null || namespaceURI.isEmpty()) || (testPrefix == null || testPrefix.isEmpty());
                }
                return false;
            }
            if (test instanceof NodeTypeTest nodeTypeTest) {
                return switch (nodeTypeTest.getNodeType()) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategyTest.java

                assertEquals(expectedNamespaceUri, root.namespaceURI());
    
                // Verify child elements namespace updated recursively
                Element dependencies = DomUtils.findChildElement(root, "dependencies");
                assertNotNull(dependencies);
                assertEquals(expectedNamespaceUri, dependencies.namespaceURI());
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 38.8K bytes
    - Viewed (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java

                Document document = Document.of(pomXml);
                Element root = document.root();
    
                assertEquals(namespace, root.namespaceURI(), "POM should preserve the specified namespace");
            }
    
            @Test
            @DisplayName("should handle custom modelVersion values")
            void shouldHandleCustomModelVersionValues() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  7. fess-crawler/src/main/resources/org/codelibs/fess/crawler/mime/tika-mimetypes.xml

      <mime-type type="application/vnd.google-earth.kml+xml">
        <root-XML localName="kml"/>
        <root-XML namespaceURI="http://www.opengis.net/kml/2.2" localName="kml"/>
        <root-XML namespaceURI="http://earth.google.com/kml/2.0" localName="kml"/>
        <root-XML namespaceURI="http://earth.google.com/kml/2.1" localName="kml"/>
        <root-XML namespaceURI="http://earth.google.com/kml/2.2" localName="kml"/>
        <acronym>KML</acronym>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Oct 16 07:46:32 UTC 2025
    - 320.2K bytes
    - Viewed (5)
  8. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

                synchronized (this) {
                    if (pluginDescriptorV4 == null) {
                        pluginDescriptorV4 = org.apache.maven.api.plugin.descriptor.PluginDescriptor.newBuilder()
                                .namespaceUri(null)
                                .modelEncoding(null)
                                .name(name)
                                .description(description)
                                .groupId(groupId)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 16.2K bytes
    - Viewed (0)
Back to top