Class Dom4jUtils

java.lang.Object
com.atlassian.bamboo.utils.Dom4jUtils

public class Dom4jUtils extends Object
  • Constructor Details

    • Dom4jUtils

      public Dom4jUtils()
  • Method Details

    • elements

      @NotNull public static @NotNull List<org.dom4j.Element> elements(org.dom4j.Element element, String name)
      See Also:
      • Element.elements(String)
    • elements

      @NotNull public static @NotNull List<org.dom4j.Element> elements(org.dom4j.Element paramsElement)
      See Also:
      • Element.elements()
    • selectElements

      public static List<org.dom4j.Element> selectElements(org.dom4j.Document doc, String xpathExpression)
    • streamElements

      public static Stream<org.dom4j.Element> streamElements(org.dom4j.Document doc, String xpathExpression)
    • selectElements

      public static List<org.dom4j.Element> selectElements(org.dom4j.Element element, String xpathExpression)
    • streamElements

      public static Stream<org.dom4j.Element> streamElements(org.dom4j.Element element, String xpathExpression)
    • saveDocumentTo

      public static void saveDocumentTo(org.dom4j.Document doc, String folder, String fileName) throws IOException
      Migrated from com.atlassian.core.util.Dom4jUtil, which was removed in platform 7.
      Throws:
      IOException