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 Details

    • Xpp3DomUtils

      public Xpp3DomUtils()
  • Method Details

    • getChildren

      public static Object[] getChildren(Object node)
    • getName

      public static String getName(Object node)
    • getValue

      public static String getValue(Object node)
    • removeChild

      public static void removeChild(Object node, int index)
    • getAttribute

      public static String getAttribute(Object node, String attribute)