Package org.codehaus.plexus.util.xml
Class Xpp3DomUtils
java.lang.Object
org.codehaus.plexus.util.xml.Xpp3DomUtils
Deprecated.
- Author:
- Jason van Zyl
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Deprecated.static final String
Deprecated.static final String
Deprecated.static final String
Deprecated.static final String
Deprecated.static final String
Deprecated.static final String
Deprecated.static final String
Deprecated.static final String
Deprecated.static final String
Deprecated. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Deprecated.Use org.codehaus.plexus.util.StringUtils#isEmpty(String) insteadstatic boolean
isNotEmpty
(String str) Deprecated.Use org.codehaus.plexus.util.StringUtils#isNotEmpty(String) insteadstatic Xpp3Dom
mergeXpp3Dom
(Xpp3Dom dominant, Xpp3Dom recessive) Deprecated.static Xpp3Dom
mergeXpp3Dom
(Xpp3Dom dominant, Xpp3Dom recessive, Boolean childMergeOverride) Deprecated.void
writeToSerializer
(String namespace, XmlSerializer serializer, Xpp3Dom dom) Deprecated.
-
Field Details
-
CHILDREN_COMBINATION_MODE_ATTRIBUTE
Deprecated.- See Also:
-
CHILDREN_COMBINATION_MERGE
Deprecated.- See Also:
-
CHILDREN_COMBINATION_APPEND
Deprecated.- See Also:
-
DEFAULT_CHILDREN_COMBINATION_MODE
Deprecated.- See Also:
-
SELF_COMBINATION_MODE_ATTRIBUTE
Deprecated.- See Also:
-
SELF_COMBINATION_OVERRIDE
Deprecated.- See Also:
-
SELF_COMBINATION_MERGE
Deprecated.- See Also:
-
ID_COMBINATION_MODE_ATTRIBUTE
Deprecated.- See Also:
-
KEYS_COMBINATION_MODE_ATTRIBUTE
Deprecated.- See Also:
-
DEFAULT_SELF_COMBINATION_MODE
Deprecated.- See Also:
-
-
Constructor Details
-
Xpp3DomUtils
public Xpp3DomUtils()Deprecated.
-
-
Method Details
-
writeToSerializer
@Deprecated public void writeToSerializer(String namespace, XmlSerializer serializer, Xpp3Dom dom) throws IOException Deprecated.- Throws:
IOException
-
mergeXpp3Dom
@Deprecated public static Xpp3Dom mergeXpp3Dom(Xpp3Dom dominant, Xpp3Dom recessive, Boolean childMergeOverride) Deprecated.Merge two DOMs, with one having dominance in the case of collision.- 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 DOMchildMergeOverride
- Overrides attribute flags to force merging or appending of child elements into the dominant DOM- Returns:
- merged DOM
- See Also:
-
mergeXpp3Dom
Deprecated.Merge 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:
-
isNotEmpty
Deprecated.Use org.codehaus.plexus.util.StringUtils#isNotEmpty(String) instead -
isEmpty
Deprecated.Use org.codehaus.plexus.util.StringUtils#isEmpty(String) instead
-
Xpp3Dom.CHILDREN_COMBINATION_APPEND