Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- attribute(String) - Method in interface org.apache.maven.api.xml.XmlNode
-
Returns the value of a specific attribute.
- attributes() - Method in interface org.apache.maven.api.xml.XmlNode
-
Returns an immutable map of all attributes defined on this XML node.
- attributes(Map<String, String>) - Method in class org.apache.maven.api.xml.XmlNode.Builder
-
Sets the attributes of the XML node.
B
- build() - Method in class org.apache.maven.api.xml.XmlNode.Builder
-
Builds a new XmlNode instance with the current builder settings.
- Builder() - Constructor for class org.apache.maven.api.xml.XmlNode.Builder
C
- child(String) - Method in interface org.apache.maven.api.xml.XmlNode
-
Returns the first child node with the specified name.
- children() - Method in interface org.apache.maven.api.xml.XmlNode
-
Returns an immutable list of all child nodes.
- children(List<XmlNode>) - Method in class org.apache.maven.api.xml.XmlNode.Builder
-
Sets the child nodes of the XML node.
- CHILDREN_COMBINATION_APPEND - Static variable in interface org.apache.maven.api.xml.XmlNode
-
Deprecated, for removal: This API element is subject to removal in a future version.
- CHILDREN_COMBINATION_APPEND - Static variable in class org.apache.maven.api.xml.XmlService
-
Value indicating children should be appended as siblings
- CHILDREN_COMBINATION_MERGE - Static variable in interface org.apache.maven.api.xml.XmlNode
-
Deprecated, for removal: This API element is subject to removal in a future version.
- CHILDREN_COMBINATION_MERGE - Static variable in class org.apache.maven.api.xml.XmlService
-
Value indicating children should be merged based on element names
- CHILDREN_COMBINATION_MODE_ATTRIBUTE - Static variable in interface org.apache.maven.api.xml.XmlNode
-
Deprecated, for removal: This API element is subject to removal in a future version.
- CHILDREN_COMBINATION_MODE_ATTRIBUTE - Static variable in class org.apache.maven.api.xml.XmlService
-
Attribute name controlling how child elements are combined
D
- DEFAULT_CHILDREN_COMBINATION_MODE - Static variable in interface org.apache.maven.api.xml.XmlNode
-
Deprecated, for removal: This API element is subject to removal in a future version.
- DEFAULT_CHILDREN_COMBINATION_MODE - Static variable in class org.apache.maven.api.xml.XmlService
-
Default mode for combining children DOMs during merge.
- DEFAULT_SELF_COMBINATION_MODE - Static variable in interface org.apache.maven.api.xml.XmlNode
-
Deprecated, for removal: This API element is subject to removal in a future version.
- DEFAULT_SELF_COMBINATION_MODE - Static variable in class org.apache.maven.api.xml.XmlService
-
Default mode for combining a DOM node during merge.
- doMerge(XmlNode, XmlNode, Boolean) - Method in class org.apache.maven.api.xml.XmlService
-
Implementation method for merging two XML nodes.
- doRead(InputStream, XmlService.InputLocationBuilder) - Method in class org.apache.maven.api.xml.XmlService
-
Implementation method for reading an XML node from an input stream.
- doRead(Reader, XmlService.InputLocationBuilder) - Method in class org.apache.maven.api.xml.XmlService
-
Implementation method for reading an XML node from a reader.
- doRead(XMLStreamReader, XmlService.InputLocationBuilder) - Method in class org.apache.maven.api.xml.XmlService
-
Implementation method for reading an XML node from an XMLStreamReader.
- doWrite(XmlNode, Writer) - Method in class org.apache.maven.api.xml.XmlService
-
Implementation method for writing an XML node to a writer.
G
- getAttribute(String) - Method in interface org.apache.maven.api.xml.XmlNode
-
Deprecated, for removal: This API element is subject to removal in a future version.
- getAttributes() - Method in interface org.apache.maven.api.xml.XmlNode
-
Deprecated, for removal: This API element is subject to removal in a future version.
- getChild(String) - Method in interface org.apache.maven.api.xml.XmlNode
-
Deprecated, for removal: This API element is subject to removal in a future version.
- getChildren() - Method in interface org.apache.maven.api.xml.XmlNode
-
Deprecated, for removal: This API element is subject to removal in a future version.
- getInputLocation() - Method in interface org.apache.maven.api.xml.XmlNode
-
Deprecated, for removal: This API element is subject to removal in a future version.
- getName() - Method in interface org.apache.maven.api.xml.XmlNode
-
Deprecated, for removal: This API element is subject to removal in a future version.
- getNamespaceUri() - Method in interface org.apache.maven.api.xml.XmlNode
-
Deprecated, for removal: This API element is subject to removal in a future version.
- getPrefix() - Method in interface org.apache.maven.api.xml.XmlNode
-
Deprecated, for removal: This API element is subject to removal in a future version.
- getValue() - Method in interface org.apache.maven.api.xml.XmlNode
-
Deprecated, for removal: This API element is subject to removal in a future version.
I
- ID_COMBINATION_MODE_ATTRIBUTE - Static variable in interface org.apache.maven.api.xml.XmlNode
-
Deprecated, for removal: This API element is subject to removal in a future version.
- ID_COMBINATION_MODE_ATTRIBUTE - Static variable in class org.apache.maven.api.xml.XmlService
-
Attribute name for ID-based combination mode
- inputLocation() - Method in interface org.apache.maven.api.xml.XmlNode
-
Returns the input location information for this node, if available.
- inputLocation(Object) - Method in class org.apache.maven.api.xml.XmlNode.Builder
-
Sets the input location information for the XML node.
K
- KEYS_COMBINATION_MODE_ATTRIBUTE - Static variable in interface org.apache.maven.api.xml.XmlNode
-
Deprecated, for removal: This API element is subject to removal in a future version.
- KEYS_COMBINATION_MODE_ATTRIBUTE - Static variable in class org.apache.maven.api.xml.XmlService
-
Attribute name for key-based combination mode.
M
- merge(XmlNode) - Method in interface org.apache.maven.api.xml.XmlNode
-
Deprecated, for removal: This API element is subject to removal in a future version.
- merge(XmlNode, Boolean) - Method in interface org.apache.maven.api.xml.XmlNode
-
Deprecated, for removal: This API element is subject to removal in a future version.use
XmlService.merge(XmlNode, XmlNode, Boolean)
instead - merge(XmlNode, XmlNode) - Static method in interface org.apache.maven.api.xml.XmlNode
-
Deprecated, for removal: This API element is subject to removal in a future version.use
XmlService.merge(XmlNode, XmlNode, Boolean)
instead - merge(XmlNode, XmlNode) - Static method in class org.apache.maven.api.xml.XmlService
-
Convenience method to merge two XML nodes using default settings.
- merge(XmlNode, XmlNode, Boolean) - Static method in interface org.apache.maven.api.xml.XmlNode
- merge(XmlNode, XmlNode, Boolean) - Static method in class org.apache.maven.api.xml.XmlService
-
Merges two XML nodes.
N
- name() - Method in interface org.apache.maven.api.xml.XmlNode
-
Returns the local name of this XML node.
- name(String) - Method in class org.apache.maven.api.xml.XmlNode.Builder
-
Sets the name of the XML node.
- namespaceUri() - Method in interface org.apache.maven.api.xml.XmlNode
-
Returns the namespace URI of this XML node.
- namespaceUri(String) - Method in class org.apache.maven.api.xml.XmlNode.Builder
-
Sets the namespace URI of the XML node.
- newBuilder() - Static method in interface org.apache.maven.api.xml.XmlNode
-
Returns a new builder for creating XmlNode instances.
- newInstance(String) - Static method in interface org.apache.maven.api.xml.XmlNode
-
Creates a new XmlNode instance with the specified name.
- newInstance(String, String) - Static method in interface org.apache.maven.api.xml.XmlNode
-
Creates a new XmlNode instance with the specified name and value.
- newInstance(String, String, Map<String, String>, List<XmlNode>, Object) - Static method in interface org.apache.maven.api.xml.XmlNode
-
Creates a new XmlNode instance with all properties specified.
- newInstance(String, List<XmlNode>) - Static method in interface org.apache.maven.api.xml.XmlNode
-
Creates a new XmlNode instance with the specified name and children.
O
- org.apache.maven.api.xml - package org.apache.maven.api.xml
-
Provides an immutable XML processing API for Maven, offering classes and interfaces for reading, manipulating, and writing XML documents in a thread-safe manner.
P
- prefix() - Method in interface org.apache.maven.api.xml.XmlNode
-
Returns the namespace prefix of this XML node.
- prefix(String) - Method in class org.apache.maven.api.xml.XmlNode.Builder
-
Sets the namespace prefix of the XML node.
R
- read(InputStream, XmlService.InputLocationBuilder) - Static method in class org.apache.maven.api.xml.XmlService
-
Reads an XML node from an input stream.
- read(Reader) - Static method in class org.apache.maven.api.xml.XmlService
-
Reads an XML node from a reader.
- read(Reader, XmlService.InputLocationBuilder) - Static method in class org.apache.maven.api.xml.XmlService
-
Reads an XML node from a reader.
- read(XMLStreamReader) - Static method in class org.apache.maven.api.xml.XmlService
-
Reads an XML node from an XMLStreamReader.
- read(XMLStreamReader, XmlService.InputLocationBuilder) - Static method in class org.apache.maven.api.xml.XmlService
-
Reads an XML node from an XMLStreamReader.
S
- SELF_COMBINATION_MERGE - Static variable in interface org.apache.maven.api.xml.XmlNode
-
Deprecated, for removal: This API element is subject to removal in a future version.
- SELF_COMBINATION_MERGE - Static variable in class org.apache.maven.api.xml.XmlService
-
Value indicating the element should be merged
- SELF_COMBINATION_MODE_ATTRIBUTE - Static variable in interface org.apache.maven.api.xml.XmlNode
-
Deprecated, for removal: This API element is subject to removal in a future version.
- SELF_COMBINATION_MODE_ATTRIBUTE - Static variable in class org.apache.maven.api.xml.XmlService
-
Attribute name controlling how the element itself is combined
- SELF_COMBINATION_OVERRIDE - Static variable in interface org.apache.maven.api.xml.XmlNode
-
Deprecated, for removal: This API element is subject to removal in a future version.
- SELF_COMBINATION_OVERRIDE - Static variable in class org.apache.maven.api.xml.XmlService
-
Value indicating the element should be completely overridden
- SELF_COMBINATION_REMOVE - Static variable in interface org.apache.maven.api.xml.XmlNode
-
Deprecated, for removal: This API element is subject to removal in a future version.
- SELF_COMBINATION_REMOVE - Static variable in class org.apache.maven.api.xml.XmlService
-
Value indicating the element should be removed
T
- toInputLocation(XMLStreamReader) - Method in interface org.apache.maven.api.xml.XmlService.InputLocationBuilder
V
- value() - Method in interface org.apache.maven.api.xml.XmlNode
-
Returns the text content of this XML node.
- value(String) - Method in class org.apache.maven.api.xml.XmlNode.Builder
-
Sets the text content of the XML node.
W
- write(XmlNode, Writer) - Static method in class org.apache.maven.api.xml.XmlService
-
Writes an XML node to a writer.
X
- XmlNode - Interface in org.apache.maven.api.xml
-
An immutable XML node representation that provides a clean API for working with XML data structures.
- XmlNode.Builder - Class in org.apache.maven.api.xml
-
Builder class for creating XmlNode instances.
- XmlService - Class in org.apache.maven.api.xml
-
Comprehensive service interface for XML operations including node creation, merging, reading, and writing.
- XmlService() - Constructor for class org.apache.maven.api.xml.XmlService
- XmlService.InputLocationBuilder - Interface in org.apache.maven.api.xml
-
Interface for building input locations during XML parsing.
All Classes and Interfaces|All Packages|Constant Field Values
XmlService.merge(XmlNode, XmlNode, Boolean)
instead