Package org.apache.maven.internal.xml
Class XmlNodeImpl
java.lang.Object
org.apache.maven.internal.xml.XmlNodeImpl
- All Implemented Interfaces:
Serializable,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
XmlNode.Builder -
Field Summary
FieldsModifier and TypeFieldDescriptionDeprecated.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<XmlNode> children, Object location) Deprecated.XmlNodeImpl(String name, String value, Map<String, String> attributes, List<XmlNode> children, Object location) Deprecated.XmlNodeImpl(XmlNode from, String name) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.Deprecated.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.Deprecated, 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.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.Deprecated.static XmlNodeDeprecated, for removal: This API element is subject to removal in a future version.static XmlNodeDeprecated.name()Deprecated.Deprecated.prefix()Deprecated.toString()Deprecated.Deprecated.value()Deprecated.
-
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<XmlNode> children, Object location) Deprecated. -
XmlNodeImpl
public XmlNodeImpl(String prefix, String namespaceUri, String name, String value, Map<String, String> attributes, List<XmlNode> children, Object location) Deprecated.
-
-
Method Details
-
merge
Deprecated. -
getPrefix
Deprecated, for removal: This API element is subject to removal in a future version. -
prefix
Deprecated. -
getNamespaceUri
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getNamespaceUriin interfaceXmlNode
-
namespaceUri
Deprecated.- Specified by:
namespaceUriin interfaceXmlNode
-
getName
Deprecated, for removal: This API element is subject to removal in a future version. -
name
Deprecated. -
getValue
Deprecated, for removal: This API element is subject to removal in a future version. -
value
Deprecated. -
getAttributes
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getAttributesin interfaceXmlNode
-
attributes
Deprecated.- Specified by:
attributesin interfaceXmlNode
-
getAttribute
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getAttributein interfaceXmlNode
-
attribute
Deprecated. -
getChild
Deprecated, for removal: This API element is subject to removal in a future version. -
child
Deprecated. -
getChildren
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getChildrenin interfaceXmlNode
-
children
Deprecated. -
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 interfaceXmlNode- Returns:
- input location
- Since:
- 3.2.0
-
inputLocation
Deprecated.- Specified by:
inputLocationin interfaceXmlNode
-
merge
Deprecated. -
merge
@Deprecated(since="4.0.0", forRemoval=true) public static XmlNode merge(XmlNode dominant, 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:
-
equals
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated. -
toStringObject
Deprecated.
-
XmlService.merge(XmlNode, XmlNode, Boolean)instead