Package org.apache.maven.internal.xml
Class XmlNodeImpl
java.lang.Object
org.apache.maven.internal.xml.XmlNodeImpl
- All Implemented Interfaces:
Serializable,org.apache.maven.api.xml.XmlNode
@Deprecated
public class XmlNodeImpl
extends Object
implements Serializable, org.apache.maven.api.xml.XmlNode
Deprecated.
NOTE: remove all the util code in here when separated, this class should be pure data.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.maven.api.xml.XmlNode
org.apache.maven.api.xml.XmlNode.Builder -
Field Summary
FieldsModifier and TypeFieldDescriptionDeprecated.protected final List<org.apache.maven.api.xml.XmlNode>Deprecated.protected final ObjectDeprecated.protected final StringDeprecated.protected final StringDeprecated.protected final StringDeprecated.protected final StringDeprecated.Fields inherited from interface org.apache.maven.api.xml.XmlNode
CHILDREN_COMBINATION_APPEND, CHILDREN_COMBINATION_MERGE, CHILDREN_COMBINATION_MODE_ATTRIBUTE, DEFAULT_CHILDREN_COMBINATION_MODE, DEFAULT_SELF_COMBINATION_MODE, ID_COMBINATION_MODE_ATTRIBUTE, KEYS_COMBINATION_MODE_ATTRIBUTE, SELF_COMBINATION_MERGE, SELF_COMBINATION_MODE_ATTRIBUTE, SELF_COMBINATION_OVERRIDE, SELF_COMBINATION_REMOVE -
Constructor Summary
ConstructorsConstructorDescriptionXmlNodeImpl(String name) Deprecated.XmlNodeImpl(String name, String value) Deprecated.XmlNodeImpl(String prefix, String namespaceUri, String name, String value, Map<String, String> attributes, List<org.apache.maven.api.xml.XmlNode> children, Object location) Deprecated.XmlNodeImpl(String name, String value, Map<String, String> attributes, List<org.apache.maven.api.xml.XmlNode> children, Object location) Deprecated.XmlNodeImpl(org.apache.maven.api.xml.XmlNode from, String name) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.org.apache.maven.api.xml.XmlNodeDeprecated.List<org.apache.maven.api.xml.XmlNode>children()Deprecated.booleanDeprecated.getAttribute(String name) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.org.apache.maven.api.xml.XmlNodeDeprecated, for removal: This API element is subject to removal in a future version.intDeprecated, for removal: This API element is subject to removal in a future version.List<org.apache.maven.api.xml.XmlNode>Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.getName()Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.getValue()Deprecated, for removal: This API element is subject to removal in a future version.inthashCode()Deprecated.Deprecated.org.apache.maven.api.xml.XmlNodeDeprecated.static org.apache.maven.api.xml.XmlNodemerge(org.apache.maven.api.xml.XmlNode dominant, org.apache.maven.api.xml.XmlNode recessive) Deprecated, for removal: This API element is subject to removal in a future version.static org.apache.maven.api.xml.XmlNodemerge(org.apache.maven.api.xml.XmlNode dominant, org.apache.maven.api.xml.XmlNode recessive, Boolean childMergeOverride) Deprecated.name()Deprecated.Deprecated.prefix()Deprecated.toString()Deprecated.Deprecated.value()Deprecated.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.maven.api.xml.XmlNode
merge
-
Field Details
-
prefix
Deprecated. -
namespaceUri
Deprecated. -
name
Deprecated. -
value
Deprecated. -
attributes
Deprecated. -
children
Deprecated. -
location
Deprecated.
-
-
Constructor Details
-
XmlNodeImpl
Deprecated. -
XmlNodeImpl
Deprecated. -
XmlNodeImpl
Deprecated. -
XmlNodeImpl
public XmlNodeImpl(String name, String value, Map<String, String> attributes, List<org.apache.maven.api.xml.XmlNode> children, Object location) Deprecated. -
XmlNodeImpl
public XmlNodeImpl(String prefix, String namespaceUri, String name, String value, Map<String, String> attributes, List<org.apache.maven.api.xml.XmlNode> children, Object location) Deprecated.
-
-
Method Details
-
merge
public org.apache.maven.api.xml.XmlNode merge(org.apache.maven.api.xml.XmlNode source, Boolean childMergeOverride) Deprecated.- Specified by:
mergein interfaceorg.apache.maven.api.xml.XmlNode
-
getPrefix
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getPrefixin interfaceorg.apache.maven.api.xml.XmlNode
-
prefix
Deprecated.- Specified by:
prefixin interfaceorg.apache.maven.api.xml.XmlNode
-
getNamespaceUri
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getNamespaceUriin interfaceorg.apache.maven.api.xml.XmlNode
-
namespaceUri
Deprecated.- Specified by:
namespaceUriin interfaceorg.apache.maven.api.xml.XmlNode
-
getName
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getNamein interfaceorg.apache.maven.api.xml.XmlNode
-
name
Deprecated.- Specified by:
namein interfaceorg.apache.maven.api.xml.XmlNode
-
getValue
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getValuein interfaceorg.apache.maven.api.xml.XmlNode
-
value
Deprecated.- Specified by:
valuein interfaceorg.apache.maven.api.xml.XmlNode
-
getAttributes
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getAttributesin interfaceorg.apache.maven.api.xml.XmlNode
-
attributes
Deprecated.- Specified by:
attributesin interfaceorg.apache.maven.api.xml.XmlNode
-
getAttribute
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getAttributein interfaceorg.apache.maven.api.xml.XmlNode
-
attribute
Deprecated.- Specified by:
attributein interfaceorg.apache.maven.api.xml.XmlNode
-
getChild
@Deprecated(since="4.0.0", forRemoval=true) public org.apache.maven.api.xml.XmlNode getChild(String name) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getChildin interfaceorg.apache.maven.api.xml.XmlNode
-
child
Deprecated.- Specified by:
childin interfaceorg.apache.maven.api.xml.XmlNode
-
getChildren
@Nonnull @Deprecated(since="4.0.0", forRemoval=true) public List<org.apache.maven.api.xml.XmlNode> getChildren()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getChildrenin interfaceorg.apache.maven.api.xml.XmlNode
-
children
Deprecated.- Specified by:
childrenin interfaceorg.apache.maven.api.xml.XmlNode
-
getChildCount
Deprecated, for removal: This API element is subject to removal in a future version. -
getInputLocation
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getInputLocationin interfaceorg.apache.maven.api.xml.XmlNode- Returns:
- input location
- Since:
- 3.2.0
-
inputLocation
Deprecated.- Specified by:
inputLocationin interfaceorg.apache.maven.api.xml.XmlNode
-
merge
public static org.apache.maven.api.xml.XmlNode merge(org.apache.maven.api.xml.XmlNode dominant, org.apache.maven.api.xml.XmlNode recessive, Boolean childMergeOverride) Deprecated. -
merge
@Deprecated(since="4.0.0", forRemoval=true) public static org.apache.maven.api.xml.XmlNode merge(org.apache.maven.api.xml.XmlNode dominant, org.apache.maven.api.xml.XmlNode recessive) Deprecated, for removal: This API element is subject to removal in a future version.useXmlService.merge(XmlNode, XmlNode, Boolean)insteadMerge two DOMs, with one having dominance in the case of collision. Merge mechanisms (vs. override for nodes, or vs. append for children) is determined by attributes of the dominant root node.- Parameters:
dominant- The dominant DOM into which the recessive value/attributes/children will be mergedrecessive- The recessive DOM, which will be merged into the dominant DOM- Returns:
- merged DOM
- See Also:
-
XmlService.CHILDREN_COMBINATION_MODE_ATTRIBUTEXmlService.SELF_COMBINATION_MODE_ATTRIBUTE
-
equals
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated. -
toStringObject
Deprecated.
-
XmlService.merge(XmlNode, XmlNode, Boolean)instead