Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getNamespaceUri (0.11 sec)

  1. compat/maven-model/src/test/java/org/apache/maven/model/v4/ModelXmlTest.java

            assertEquals("http://maven.apache.org/POM/4.0.0", node.getNamespaceUri());
            assertEquals("m", node.getPrefix());
            assertEquals("configuration", node.getName());
            assertEquals(1, node.getChildren().size());
            XmlNode myConfig = node.getChildren().get(0);
            assertEquals("http://fabric8.io/fabric8-maven-plugin", myConfig.getNamespaceUri());
            assertEquals("", myConfig.getPrefix());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

         * that value or attribute will be set from the recessive DOM node.
         */
        String DEFAULT_SELF_COMBINATION_MODE = SELF_COMBINATION_MERGE;
    
        @Nonnull
        String getName();
    
        @Nonnull
        String getNamespaceUri();
    
        @Nonnull
        String getPrefix();
    
        @Nullable
        String getValue();
    
        @Nonnull
        Map<String, String> getAttributes();
    
        @Nullable
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Nov 27 23:11:34 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java

                br.mark(BUFFER_SIZE);
                XMLStreamReader xsr = XMLInputFactory.newFactory().createXMLStreamReader(br);
                xsr.nextTag();
                String nsUri = xsr.getNamespaceURI();
                try (BufferedReader br2 = reset(readerSupplier, br)) {
                    xsr = XMLInputFactory.newFactory().createXMLStreamReader(br2);
                    return build(source, nsUri, xsr);
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/BuildModelSourceTransformer.java

            handleCiFriendlyVersion(context, model);
        }
    
        //
        // Infer modelVersion from namespace URI
        //
        void handleModelVersion(Model model) {
            String namespace = model.getDelegate().getNamespaceUri();
            if (model.getModelVersion() == null && namespace != null && namespace.startsWith(NAMESPACE_PREFIX)) {
                model.setModelVersion(namespace.substring(NAMESPACE_PREFIX.length()));
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

            private final Node doc;
    
            public DefaultNamespaceContext(final Node doc) {
                this.doc = doc;
            }
    
            @Override
            public String getNamespaceURI(final String prefix) {
                return getNamespaceForPrefix(prefix, doc);
            }
    
            private String getNamespaceForPrefix(final String prefix, final Node namespaceContext) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top