Package org.apache.maven.buildcache
Class Xpp3DomUtils
- java.lang.Object
-
- org.apache.maven.buildcache.Xpp3DomUtils
-
public class Xpp3DomUtils extends Object
This utility class is used to work around the classloading problem described in https://issues.apache.org/jira/browse/MNG-7160. The simple workaround described in MNG-7160 is not possible because this extension uses both the XPP3 classes and other utility classes. We thus rely on reflection for all access to plugin configuration.
-
-
Constructor Summary
Constructors Constructor Description Xpp3DomUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetAttribute(Object node, String attribute)static Object[]getChildren(Object node)static StringgetName(Object node)static StringgetValue(Object node)static voidremoveChild(Object node, int index)
-
-
-
Method Detail
-
removeChild
public static void removeChild(Object node, int index)
-
-