Package io.karatelabs.common
Class Xml
java.lang.Object
io.karatelabs.common.Xml
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddAttributes(Element element, Map<String, Object> map) static Elementstatic NodecreateNodeByPath(Document doc, String path) static Documentstatic DocumentfromObject(String name, Object o) fromObject(Document doc, String name, Object o) static intgetChildElementCount(Node node) static NodegetNodeByPath(Node node, String path, boolean create) static NodeListgetNodeListByPath(Node node, String path) static StringgetTextValueByPath(Node node, String path) static Documentstatic voidremoveByPath(Document doc, String path) static voidstatic voidstatic StringstripNameSpacePrefixes(String path) static DocumenttoNewDocument(Node in) static Objectstatic Objectstatic Stringstatic Stringstatic Documentstatic Document
-
Constructor Details
-
Xml
public Xml()
-
-
Method Details
-
toString
-
toString
-
toXmlDoc
-
toXmlDoc
-
fromMap
-
newDocument
-
fromObject
-
fromObject
-
addAttributes
-
createElement
-
toObject
-
toObject
-
getChildElementCount
-
getNodeListByPath
-
getTextValueByPath
-
getNodeByPath
-
stripNameSpacePrefixes
-
createNodeByPath
-
setByPath
-
setByPath
-
removeByPath
-
toNewDocument
-