Package com.atlassian.bamboo.utils
Class Dom4jUtils
java.lang.Object
com.atlassian.bamboo.utils.Dom4jUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull List<org.dom4j.Element>
elements
(org.dom4j.Element paramsElement) static @NotNull List<org.dom4j.Element>
static void
saveDocumentTo
(org.dom4j.Document doc, String folder, String fileName) Migrated from com.atlassian.core.util.Dom4jUtil, which was removed in platform 7.static List<org.dom4j.Element>
selectElements
(org.dom4j.Document doc, String xpathExpression) static List<org.dom4j.Element>
selectElements
(org.dom4j.Element element, String xpathExpression) static Stream<org.dom4j.Element>
streamElements
(org.dom4j.Document doc, String xpathExpression) static Stream<org.dom4j.Element>
streamElements
(org.dom4j.Element element, String xpathExpression)
-
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
- See Also:
-
Element.elements()
-
selectElements
-
streamElements
-
selectElements
-
streamElements
-
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
-