Uses of Interface
org.apache.maven.api.xml.XmlNode
Packages that use XmlNode
Package
Description
Maven Core API
Provides support for Maven core extensions configuration and management.
Maven Immutable POM (Project Object Model) classes, generated from
maven.mdo
model.Contains classes for managing plugin-specific lifecycle bindings and forked executions.
Contains classes for managing Maven settings, including global and user-specific
configuration stored in settings.xml files.
Provides classes for managing Maven toolchains, which allow projects to use specific
tool installations (like JDKs, compilers, or other build tools) across different
environments without hardcoding paths.
Provides an immutable XML processing API for Maven, offering classes and interfaces
for reading, manipulating, and writing XML documents in a thread-safe manner.
Contains implementation of the
XmlNode
interface and related classes.-
Uses of XmlNode in org.apache.maven.api
Methods in org.apache.maven.api that return types with arguments of type XmlNode -
Uses of XmlNode in org.apache.maven.api.cli.extensions
Methods in org.apache.maven.api.cli.extensions that return XmlNodeMethods in org.apache.maven.api.cli.extensions with parameters of type XmlNodeModifier and TypeMethodDescriptionCoreExtension.Builder.configuration
(XmlNode configuration) CoreExtension.withConfiguration
(XmlNode configuration) Creates a newCoreExtension
instance using the specified configuration. -
Uses of XmlNode in org.apache.maven.api.model
Methods in org.apache.maven.api.model that return XmlNodeModifier and TypeMethodDescriptionConfigurationContainer.getConfiguration()
The configuration as DOM object.Extension.getConfiguration()
The configuration of the extension.Methods in org.apache.maven.api.model with parameters of type XmlNodeModifier and TypeMethodDescriptionConfigurationContainer.Builder.configuration
(XmlNode configuration) Extension.Builder.configuration
(XmlNode configuration) Plugin.Builder.configuration
(XmlNode configuration) PluginExecution.Builder.configuration
(XmlNode configuration) ReportPlugin.Builder.configuration
(XmlNode configuration) ReportSet.Builder.configuration
(XmlNode configuration) ConfigurationContainer.withConfiguration
(XmlNode configuration) Creates a newConfigurationContainer
instance using the specified configuration.Extension.withConfiguration
(XmlNode configuration) Creates a newExtension
instance using the specified configuration.Plugin.withConfiguration
(XmlNode configuration) Creates a newPlugin
instance using the specified configuration.PluginExecution.withConfiguration
(XmlNode configuration) Creates a newPluginExecution
instance using the specified configuration.ReportPlugin.withConfiguration
(XmlNode configuration) Creates a newReportPlugin
instance using the specified configuration.ReportSet.withConfiguration
(XmlNode configuration) Creates a newReportSet
instance using the specified configuration. -
Uses of XmlNode in org.apache.maven.api.plugin.descriptor.lifecycle
Methods in org.apache.maven.api.plugin.descriptor.lifecycle that return XmlNodeModifier and TypeMethodDescriptionExecution.getConfiguration()
Configuration to pass to the goals.Phase.getConfiguration()
Configuration to pass to all goals run in this phase.Methods in org.apache.maven.api.plugin.descriptor.lifecycle with parameters of type XmlNodeModifier and TypeMethodDescriptionExecution.Builder.configuration
(XmlNode configuration) Phase.Builder.configuration
(XmlNode configuration) Execution.withConfiguration
(XmlNode configuration) Creates a newExecution
instance using the specified configuration.Phase.withConfiguration
(XmlNode configuration) Creates a newPhase
instance using the specified configuration. -
Uses of XmlNode in org.apache.maven.api.plugin.testing
Methods in org.apache.maven.api.plugin.testing that return XmlNodeModifier and TypeMethodDescriptionstatic XmlNode
MojoExtension.extractPluginConfiguration
(String artifactId, org.codehaus.plexus.util.xml.Xpp3Dom pomDom) -
Uses of XmlNode in org.apache.maven.api.plugin.testing.stubs
Methods in org.apache.maven.api.plugin.testing.stubs that return types with arguments of type XmlNodeMethods in org.apache.maven.api.plugin.testing.stubs with parameters of type XmlNodeConstructors in org.apache.maven.api.plugin.testing.stubs with parameters of type XmlNode -
Uses of XmlNode in org.apache.maven.api.settings
Methods in org.apache.maven.api.settings that return XmlNodeModifier and TypeMethodDescriptionServer.getConfiguration()
Extra configuration for the transport layer.Methods in org.apache.maven.api.settings with parameters of type XmlNodeModifier and TypeMethodDescriptionServer.Builder.configuration
(XmlNode configuration) Server.withConfiguration
(XmlNode configuration) Creates a newServer
instance using the specified configuration. -
Uses of XmlNode in org.apache.maven.api.toolchain
Methods in org.apache.maven.api.toolchain that return XmlNodeModifier and TypeMethodDescriptionToolchainModel.getConfiguration()
Toolchain configuration information, like location or any information that is to be retrieved.Methods in org.apache.maven.api.toolchain with parameters of type XmlNodeModifier and TypeMethodDescriptionToolchainModel.Builder.configuration
(XmlNode configuration) ToolchainModel.withConfiguration
(XmlNode configuration) Creates a newToolchainModel
instance using the specified configuration. -
Uses of XmlNode in org.apache.maven.api.xml
Methods in org.apache.maven.api.xml that return XmlNodeModifier and TypeMethodDescriptionXmlNode.Builder.build()
Builds a new XmlNode instance with the current builder settings.Returns the first child node with the specified name.protected abstract XmlNode
Implementation method for merging two XML nodes.protected abstract XmlNode
XmlService.doRead
(InputStream input, XmlService.InputLocationBuilder locationBuilder) Implementation method for reading an XML node from an input stream.protected abstract XmlNode
XmlService.doRead
(Reader reader, XmlService.InputLocationBuilder locationBuilder) Implementation method for reading an XML node from a reader.protected abstract XmlNode
XmlService.doRead
(XMLStreamReader reader, XmlService.InputLocationBuilder locationBuilder) Implementation method for reading an XML node from an XMLStreamReader.default XmlNode
Deprecated, for removal: This API element is subject to removal in a future version.default XmlNode
Deprecated, for removal: This API element is subject to removal in a future version.default XmlNode
Deprecated, for removal: This API element is subject to removal in a future version.useXmlService.merge(XmlNode, XmlNode, Boolean)
insteadstatic XmlNode
Deprecated, for removal: This API element is subject to removal in a future version.useXmlService.merge(XmlNode, XmlNode, Boolean)
insteadstatic XmlNode
static XmlNode
Convenience method to merge two XML nodes using default settings.static XmlNode
Merges two XML nodes.static XmlNode
XmlNode.newInstance
(String name) Creates a new XmlNode instance with the specified name.static XmlNode
XmlNode.newInstance
(String name, String value) Creates a new XmlNode instance with the specified name and value.static XmlNode
XmlNode.newInstance
(String name, String value, Map<String, String> attrs, List<XmlNode> children, Object location) Creates a new XmlNode instance with all properties specified.static XmlNode
XmlNode.newInstance
(String name, List<XmlNode> children) Creates a new XmlNode instance with the specified name and children.static XmlNode
XmlService.read
(InputStream input, XmlService.InputLocationBuilder locationBuilder) Reads an XML node from an input stream.static XmlNode
Reads an XML node from a reader.static XmlNode
XmlService.read
(Reader reader, XmlService.InputLocationBuilder locationBuilder) Reads an XML node from a reader.static XmlNode
XmlService.read
(XMLStreamReader reader) Reads an XML node from an XMLStreamReader.static XmlNode
XmlService.read
(XMLStreamReader reader, XmlService.InputLocationBuilder locationBuilder) Reads an XML node from an XMLStreamReader.Methods in org.apache.maven.api.xml that return types with arguments of type XmlNodeModifier and TypeMethodDescriptionXmlNode.children()
Returns an immutable list of all child nodes.XmlNode.getChildren()
Deprecated, for removal: This API element is subject to removal in a future version.Methods in org.apache.maven.api.xml with parameters of type XmlNodeModifier and TypeMethodDescriptionprotected abstract XmlNode
Implementation method for merging two XML nodes.protected abstract void
Implementation method for writing an XML node to a writer.default XmlNode
Deprecated, for removal: This API element is subject to removal in a future version.useXmlService.merge(XmlNode, XmlNode, Boolean)
insteaddefault XmlNode
Deprecated, for removal: This API element is subject to removal in a future version.useXmlService.merge(XmlNode, XmlNode, Boolean)
insteadstatic XmlNode
Deprecated, for removal: This API element is subject to removal in a future version.useXmlService.merge(XmlNode, XmlNode, Boolean)
insteadstatic XmlNode
static XmlNode
Convenience method to merge two XML nodes using default settings.static XmlNode
Merges two XML nodes.static void
Writes an XML node to a writer.Method parameters in org.apache.maven.api.xml with type arguments of type XmlNodeModifier and TypeMethodDescriptionSets the child nodes of the XML node.static XmlNode
XmlNode.newInstance
(String name, String value, Map<String, String> attrs, List<XmlNode> children, Object location) Creates a new XmlNode instance with all properties specified.static XmlNode
XmlNode.newInstance
(String name, List<XmlNode> children) Creates a new XmlNode instance with the specified name and children. -
Uses of XmlNode in org.apache.maven.extension.internal
Methods in org.apache.maven.extension.internal that return XmlNodeModifier and TypeMethodDescriptionCoreExtensionEntry.getConfiguration()
Returns the configuration for this extension.Methods in org.apache.maven.extension.internal with parameters of type XmlNodeModifier and TypeMethodDescriptionstatic CoreExtensionEntry
CoreExtensionEntry.discoverFrom
(org.codehaus.plexus.classworlds.realm.ClassRealm loader, Collection<File> classpath, String key, XmlNode configuration) Constructors in org.apache.maven.extension.internal with parameters of type XmlNodeModifierConstructorDescriptionCoreExtensionEntry
(org.codehaus.plexus.classworlds.realm.ClassRealm realm, Collection<String> artifacts, Collection<String> packages, String key, XmlNode configuration) -
Uses of XmlNode in org.apache.maven.internal.impl
Methods in org.apache.maven.internal.impl that return types with arguments of type XmlNode -
Uses of XmlNode in org.apache.maven.internal.xml
Classes in org.apache.maven.internal.xml that implement XmlNodeFields in org.apache.maven.internal.xml with type parameters of type XmlNodeMethods in org.apache.maven.internal.xml that return XmlNodeModifier and TypeMethodDescriptionstatic XmlNode
XmlNodeStaxBuilder.build
(InputStream stream, XmlNodeStaxBuilder.InputLocationBuilderStax locationBuilder) Deprecated.static XmlNode
XmlNodeStaxBuilder.build
(Reader reader, XmlNodeStaxBuilder.InputLocationBuilderStax locationBuilder) Deprecated.static XmlNode
XmlNodeStaxBuilder.build
(XMLStreamReader parser) Deprecated.static XmlNode
XmlNodeStaxBuilder.build
(XMLStreamReader parser, boolean trim, XmlNodeStaxBuilder.InputLocationBuilderStax locationBuilder) Deprecated.static XmlNode
XmlNodeStaxBuilder.build
(XMLStreamReader parser, XmlNodeStaxBuilder.InputLocationBuilderStax locationBuilder) Deprecated.Deprecated.Merges one DOM into another, given a specific algorithm and possible override points for that algorithm.DefaultXmlService.doRead
(InputStream input, XmlService.InputLocationBuilder locationBuilder) DefaultXmlService.doRead
(Reader reader, XmlService.InputLocationBuilder locationBuilder) DefaultXmlService.doRead
(XMLStreamReader parser, XmlService.InputLocationBuilder locationBuilder) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated.static XmlNode
Deprecated, for removal: This API element is subject to removal in a future version.useXmlService.merge(XmlNode, XmlNode, Boolean)
insteadstatic XmlNode
Deprecated.Methods in org.apache.maven.internal.xml that return types with arguments of type XmlNodeModifier and TypeMethodDescriptionXmlNodeImpl.children()
Deprecated.XmlNodeImpl.getChildren()
Deprecated, for removal: This API element is subject to removal in a future version.Methods in org.apache.maven.internal.xml with parameters of type XmlNodeModifier and TypeMethodDescriptionMerges one DOM into another, given a specific algorithm and possible override points for that algorithm.void
Deprecated.static XmlNode
Deprecated, for removal: This API element is subject to removal in a future version.useXmlService.merge(XmlNode, XmlNode, Boolean)
insteadstatic XmlNode
Deprecated.static org.codehaus.plexus.configuration.PlexusConfiguration
XmlPlexusConfiguration.toPlexusConfiguration
(XmlNode node) static void
Deprecated.static void
XmlNodeWriter.write
(XMLStreamWriter xmlWriter, XmlNode node) Deprecated.Constructors in org.apache.maven.internal.xml with parameters of type XmlNodeConstructor parameters in org.apache.maven.internal.xml with type arguments of type XmlNodeModifierConstructorDescriptionXmlNodeImpl
(String prefix, String namespaceUri, String name, String value, Map<String, String> attributes, List<XmlNode> children, Object location) Deprecated.XmlNodeImpl
(String name, String value, Map<String, String> attributes, List<XmlNode> children, Object location) Deprecated. -
Uses of XmlNode in org.apache.maven.lifecycle.internal
Methods in org.apache.maven.lifecycle.internal that return XmlNodeModifier and TypeMethodDescriptionstatic XmlNode
MojoDescriptorCreator.convert
(MojoDescriptor mojoDescriptor) -
Uses of XmlNode in org.apache.maven.lifecycle.mapping
Methods in org.apache.maven.lifecycle.mapping that return XmlNodeMethods in org.apache.maven.lifecycle.mapping with parameters of type XmlNode -
Uses of XmlNode in org.apache.maven.model.v4
Methods in org.apache.maven.model.v4 that return XmlNodeMethods in org.apache.maven.model.v4 with parameters of type XmlNode -
Uses of XmlNode in org.apache.maven.plugin
Methods in org.apache.maven.plugin with parameters of type XmlNodeConstructors in org.apache.maven.plugin with parameters of type XmlNodeModifierConstructorDescriptionMojoExecution
(MojoDescriptor mojoDescriptor, XmlNode configuration) -
Uses of XmlNode in org.apache.maven.settings.v4
Methods in org.apache.maven.settings.v4 that return XmlNodeMethods in org.apache.maven.settings.v4 with parameters of type XmlNode -
Uses of XmlNode in org.apache.maven.toolchain.v4
Methods in org.apache.maven.toolchain.v4 that return XmlNodeMethods in org.apache.maven.toolchain.v4 with parameters of type XmlNode
XmlService.merge(XmlNode, XmlNode, Boolean)
instead