Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for getAttributes (0.96 sec)

  1. maven-xml-impl/src/main/java/org/apache/maven/internal/xml/XmlNodeImpl.java

                for (Map.Entry<String, String> attr : recessive.getAttributes().entrySet()) {
                    String key = attr.getKey();
                    if (isEmpty(attrs.get(key))) {
                        if (attrs == dominant.getAttributes()) {
                            attrs = new HashMap<>(attrs);
                        }
                        attrs.put(key, attr.getValue());
                    }
                }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Apr 03 17:49:40 UTC 2024
    - 18K bytes
    - Viewed (0)
  2. maven-xml-impl/src/main/java/org/apache/maven/internal/xml/XmlPlexusConfiguration.java

            return new XmlPlexusConfiguration(node);
        }
    
        public XmlPlexusConfiguration(XmlNode node) {
            super(node.getName(), node.getValue());
            node.getAttributes().forEach(this::setAttribute);
            node.getChildren().forEach(c -> this.addChild(new XmlPlexusConfiguration(c)));
        }
    
        @Override
        public String toString() {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jan 03 15:52:23 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomAttributeIterator.java

        private int position;
    
        public Xpp3DomAttributeIterator(NodePointer parent, QName qname) {
            this.parent = parent;
            this.node = (XmlNodeImpl) parent.getNode();
    
            this.attributes = this.node.getAttributes().entrySet().stream()
                    .filter(a -> a.getKey().equals(qname.getName()) || "*".equals(qname.getName()))
                    .collect(Collectors.toList());
        }
    
        public NodePointer getNodePointer() {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  4. maven-xml-impl/src/test/java/org/apache/maven/internal/xml/XmlNodeBuilderTest.java

            XmlNode node = XmlNodeStaxBuilder.build(xsr);
            assertEquals("doc", node.getName());
            assertEquals(1, node.getAttributes().size());
            assertEquals("foo:bar", node.getAttribute("xmlns"));
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. maven-jline/src/main/java/org/apache/maven/jline/FastTerminal.java

        public boolean echo(boolean b) {
            return getTerminal().echo(b);
        }
    
        @Override
        public Attributes getAttributes() {
            return getTerminal().getAttributes();
        }
    
        @Override
        public void setAttributes(Attributes attributes) {
            getTerminal().setAttributes(attributes);
        }
    
        @Override
        public Size getSize() {
            return getTerminal().getSize();
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Apr 03 17:49:40 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

        @Nonnull
        String getNamespaceUri();
    
        @Nonnull
        String getPrefix();
    
        @Nullable
        String getValue();
    
        @Nonnull
        Map<String, String> getAttributes();
    
        @Nullable
        String getAttribute(@Nonnull String name);
    
        @Nonnull
        List<XmlNode> getChildren();
    
        @Nullable
        XmlNode getChild(String name);
    
        @Nullable
        Object getInputLocation();
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Nov 27 23:11:34 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  7. maven-xml-impl/src/main/java/org/apache/maven/internal/xml/XmlNodeWriter.java

            xmlWriter.writeStartElement(dom.getPrefix(), dom.getName(), dom.getNamespaceUri());
            for (Map.Entry<String, String> attr : dom.getAttributes().entrySet()) {
                xmlWriter.writeAttribute(attr.getKey(), attr.getValue());
            }
            for (XmlNode aChildren : dom.getChildren()) {
                write(xmlWriter, aChildren);
            }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Nov 27 23:11:34 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

                    }
    
                    if (parameterConfiguration != null) {
                        Map<String, String> attributes = new HashMap<>(parameterConfiguration.getAttributes());
    
                        String attributeForImplementation = parameterConfiguration.getAttribute("implementation");
                        String parameterForImplementation = parameter.getImplementation();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  9. maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilderTest.java

            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"));
    
            Parameter mp = md.getParameters().get(0);
    
            assertEquals("finalName", mp.getName());
            assertEquals("jarName", mp.getAlias());
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Nov 17 15:51:47 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  10. 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) {
                        XmlNodeImpl e = new XmlNodeImpl(
                                ce.getName(),
                                value,
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top