Class Xpp3Dom
java.lang.Object
org.apache.maven.shared.utils.xml.Xpp3Dom
Deprecated.
use org.w3c.dom, JDOM, XOM, or SAX
A reimplementation of Plexus Xpp3Dom based on the public interface of Plexus Xpp3Dom.
- Author:
- Kristian Rosenvold
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.The attribute append.static final StringDeprecated.The attribute which identifies merge/append.static final StringDeprecated.The attribute which identifiesmergestatic final StringDeprecated.The name of the attribute.static final StringDeprecated.The attributes which identifiesoverride. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.booleanDeprecated.getAttribute(String nameParameter) Deprecated.String[]Deprecated.getChild(int i) Deprecated.Deprecated.intDeprecated.Xpp3Dom[]Deprecated.Xpp3Dom[]getChildren(String nameParameter) Deprecated.getName()Deprecated.Deprecated.getValue()Deprecated.inthashCode()Deprecated.static booleanDeprecated.usestr == null || str.trim().isEmpty()static booleanisNotEmpty(String str) Deprecated.usestr != null && !str.isEmpty()iterator()Deprecated.static Xpp3DommergeXpp3Dom(Xpp3Dom dominant, Xpp3Dom recessive) Deprecated.static Xpp3DommergeXpp3Dom(Xpp3Dom dominant, Xpp3Dom recessive, Boolean childMergeOverride) Deprecated.voidremoveChild(int i) Deprecated.voidsetAttribute(String nameParameter, String valueParameter) Deprecated.voidDeprecated.voidDeprecated.toString()Deprecated.Deprecated.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
CHILDREN_COMBINATION_MODE_ATTRIBUTE
Deprecated.The attribute which identifies merge/append.- See Also:
-
CHILDREN_COMBINATION_APPEND
Deprecated.The attribute append.- See Also:
-
SELF_COMBINATION_MODE_ATTRIBUTE
Deprecated.The name of the attribute.- See Also:
-
SELF_COMBINATION_OVERRIDE
Deprecated.The attributes which identifiesoverride.- See Also:
-
SELF_COMBINATION_MERGE
Deprecated.The attribute which identifiesmerge- See Also:
-
-
Constructor Details
-
Xpp3Dom
Deprecated.- Parameters:
name- the name of the instance
-
-
Method Details
-
getName
Deprecated.- Returns:
- the current name
-
getValue
Deprecated.- Returns:
- the current value
-
setValue
Deprecated.- Parameters:
value- the value to be set
-
getAttributeNames
Deprecated.- Returns:
- the array of attribute names
-
getAttribute
Deprecated.- Parameters:
nameParameter- the name of the attribute- Returns:
- the attribute value
-
setAttribute
Deprecated.- Parameters:
nameParameter- the name of the attributevalueParameter- the value of the attribute
-
getChild
Deprecated.- Parameters:
i- the index to be selected- Returns:
- the child selected by index
-
getChild
Deprecated.- Parameters:
nameParameter- the name of the child- Returns:
- the child selected by name
-
getChildren
Deprecated.- Returns:
- the array of childs
-
getChildren
Deprecated.- Parameters:
nameParameter- the name of the child- Returns:
- the array of the Dom
-
getChildCount
public int getChildCount()Deprecated.- Returns:
- the number of childs
-
removeChild
public void removeChild(int i) Deprecated.- Parameters:
i- the child to be removed
-
getParent
Deprecated.- Returns:
- the current parent
-
equals
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated. -
toUnescapedString
Deprecated.- Returns:
- unescaped string
-
isNotEmpty
Deprecated.usestr != null && !str.isEmpty()Warning: this is not the reverse ofisEmpty(java.lang.String). Whitespace only strings are both empty and not empty.- Parameters:
str- the string to be checked- Returns:
- true if the string is not empty (length > 0) and not
null
-
isEmpty
Deprecated.usestr == null || str.trim().isEmpty()Warning: this is not the reverse ofisNotEmpty(java.lang.String). Whitespace only strings are both empty and not empty.- Parameters:
str- the string to be checked- Returns:
- true if the string only contains whitespace or is
null
-
iterator
Deprecated.
-