- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for getNamespaceUri (0.08 sec)
-
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) -
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) -
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) -
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)