Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 7 of 7 for setAttribute (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

                //this should mostly be true :)
                //if it isn't true then the syntax highlighting won't spoil the view too much anyway
                newElement.setAttribute("language", "java");
                nodes.push(newElement);
                return true;
            }
    
            @Override
            public void onText(String text) {
                nodes.appendChild(text);
            }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed May 21 06:20:45 GMT 2025
    - 29.3K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java

                    }
                    // Attributes
                    for (String attr : dom.getAttributeNames()) {
                        org = dom.getAttribute(attr);
                        val = interpolate(org);
                        if (org != val) {
                            dom.setAttribute(attr, val);
                        }
                    }
                    // Children
                    for (int i = 0, l = dom.getChildCount(); i < l; i++) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 43.1K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoDescriptorCreator.java

            PlexusConfiguration[] ces = c.getChildren();
            if (ces != null) {
                for (PlexusConfiguration ce : ces) {
                    String value = ce.getValue(null);
                    String defaultValue = ce.getAttribute("default-value", null);
                    if (value != null || defaultValue != null) {
                        XmlNode e = XmlNode.newInstance(
                                ce.getName(),
                                value,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  4. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java

                if (paramConfig != null) {
                    parameter.setExpression(paramConfig.getValue(null));
                    parameter.setDefaultValue(paramConfig.getAttribute("default-value"));
                }
    
                parameters.add(parameter);
            }
    
            mojo.setParameters(parameters);
    
            // TODO this should not need to be handed off...
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  5. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

        @Nonnull
        default Map<String, String> getAttributes() {
            return attributes();
        }
    
        @Deprecated(since = "4.0.0", forRemoval = true)
        @Nullable
        default String getAttribute(@Nonnull String name) {
            return attribute(name);
        }
    
        @Deprecated(since = "4.0.0", forRemoval = true)
        @Nonnull
        default List<XmlNode> getChildren() {
            return children();
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Dec 17 15:20:44 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  6. impl/maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java

                    session, session.getCurrentProject(), execution, new HashSet<>());
            assertNotNull(execution.getConfiguration());
            assertEquals("1.0", execution.getConfiguration().getChild("version").getAttribute("default-value"));
        }
    
        @Test
        void testExecutionListeners() throws Exception {
            final File pom = getProject("project-basic");
            final MavenSession session = createMavenSession(pom);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 22.9K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                    try {
                        value = expressionEvaluator.evaluate(expression);
    
                        if (value == null) {
                            value = config.getAttribute("default-value", null);
                        }
                    } catch (ExpressionEvaluationException e) {
                        String msg = "Error evaluating the expression '" + expression + "' for configuration value '"
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 09 16:35:21 GMT 2025
    - 46.4K bytes
    - Click Count (0)
Back to Top