Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for getChild (0.1 sec)

  1. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java

            mojo.setGoal(c.getChild("goal").getValue());
    
            mojo.setImplementation(c.getChild("implementation").getValue());
    
            PlexusConfiguration langConfig = c.getChild("language");
    
            if (langConfig != null) {
                mojo.setLanguage(langConfig.getValue());
            }
    
            PlexusConfiguration configuratorConfig = c.getChild("configurator");
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

                                headers.put(
                                        property.getChild("name").getValue(),
                                        property.getChild("value").getValue());
                            }
                        }
                    }
    
                    PlexusConfiguration connectTimeoutXml = config.getChild("connectTimeout", false);
                    if (connectTimeoutXml != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  3. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/merge/MavenToolchainMergerTest.java

                assertEquals("lib/tools.jar", config0.getChild("toolsJar").getValue());
                assertEquals(2, config0.getChildCount());
                Xpp3Dom config1 = (Xpp3Dom) jdks.getToolchains().get(1).getConfiguration();
                assertEquals(2, config1.getChildCount());
                assertEquals("lib/classes.jar", config1.getChild("toolsJar").getValue());
                assertEquals(2, jdksExtend.getToolchains().size());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderFactoryTest.java

            Xpp3Dom conf = (Xpp3Dom)
                    result.getEffectiveModel().getBuild().getPlugins().get(0).getConfiguration();
            assertNotNull(conf);
            assertEquals("1.5", conf.getChild("source").getValue());
            assertEquals("  1.5  ", conf.getChild("target").getValue());
        }
    
        @Test
        void testPomChanges() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilder.java

            this.listener = listener;
        }
    
        /**
         * Builds the properties of the given class
         */
        void build(ClassDoc classDoc) {
            Element thead = getChild(classDoc.getPropertiesTable(), "thead");
            Element tr = getChild(thead, "tr");
            List<Element> header = children(tr, "td");
            if (header.size() < 1) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.2K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ObjectBasedValueSource.java

    /**
     * Wraps an object, providing reflective access to the object graph of which the
     * supplied object is the root. Expressions like 'child.name' will translate into
     * 'rootObject.getChild().getName()' for non-boolean properties, and
     * 'rootObject.getChild().isName()' for boolean properties.
     *
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ModelBuilderSupport.java

                    if (childElement.getTagName().equals(childName)) {
                        matches.add(childElement);
                    }
                }
            }
            return matches;
        }
    
        protected Element getChild(Element element, String childName) {
            Element child = findChild(element, childName);
            if (child != null) {
                return child;
            }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  8. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

        @Nonnull
        Map<String, String> getAttributes();
    
        @Nullable
        String getAttribute(@Nonnull String name);
    
        @Nonnull
        List<XmlNode> getChildren();
    
        @Nullable
        XmlNode getChild(String name);
    
        @Nullable
        Object getInputLocation();
    
        default XmlNode merge(@Nullable XmlNode source) {
            return merge(source, (Boolean) null);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Nov 27 23:11:34 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadataGenerator.java

                    }
                }
            }
            return null;
        }
    
        private static String mayGetChild(XmlNode node, String child) {
            XmlNode c = node.getChild(child);
            if (c != null) {
                return c.getValue();
            }
            return null;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. compat/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilderTest.java

            assertNotNull(md.getMojoConfiguration());
            assertEquals(1, md.getMojoConfiguration().getChildCount());
    
            PlexusConfiguration pc = md.getMojoConfiguration().getChild(0);
    
            assertEquals("${jar.finalName}", pc.getValue());
            assertEquals("${project.build.finalName}", pc.getAttribute("default-value"));
            assertEquals("java.lang.String", pc.getAttribute("implementation"));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top