Package com.intuit.karate
Class XmlUtils
java.lang.Object
com.intuit.karate.XmlUtils
- Author:
- pthomas3
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddAttributes(Element element, Map<String, Object> map) static Elementstatic NodecreateNodeByPath(Document doc, String path) static Documentstatic 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 booleanstatic Documentstatic voidremoveByPath(Document doc, String path) static voidstatic voidstatic StringstripNameSpacePrefixes(String path) static com.jayway.jsonpath.DocumentContextstatic DocumenttoNewDocument(Node in) static Objectstatic Objectstatic Stringstatic Stringstatic Stringstatic Documentstatic Document
-
Method Details
-
toString
-
toString
-
toXmlDoc
-
toXmlDoc
-
getNodeListByPath
-
stripNameSpacePrefixes
-
getNodeByPath
-
createNodeByPath
-
getTextValueByPath
-
setByPath
-
removeByPath
-
setByPath
-
toJsonDoc
-
getChildElementCount
-
toObject
-
toObject
-
fromMap
-
fromObject
-
fromObject
-
newDocument
-
addAttributes
-
createElement
-
toNewDocument
-
fromJavaObject
-
toXml
-
isXml
-