Class XmlDocument
- java.lang.Object
-
- com.github.tomakehurst.wiremock.common.xml.XmlNode
-
- com.github.tomakehurst.wiremock.common.xml.XmlDocument
-
public class XmlDocument extends XmlNode
-
-
Field Summary
-
Fields inherited from class com.github.tomakehurst.wiremock.common.xml.XmlNode
TRANSFORMER_CACHE, XPATH_CACHE
-
-
Constructor Summary
Constructors Constructor Description XmlDocument(org.w3c.dom.Document document)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListOrSingle<XmlNode>
findNodes(java.lang.String xPathExpression)
ListOrSingle<XmlNode>
findNodes(java.lang.String xPathExpression, java.util.Map<java.lang.String,java.lang.String> namespaces)
-
Methods inherited from class com.github.tomakehurst.wiremock.common.xml.XmlNode
getAttributes, getName, getText, toListOrSingle, toString
-
-
-
-
Method Detail
-
findNodes
public ListOrSingle<XmlNode> findNodes(java.lang.String xPathExpression)
-
findNodes
public ListOrSingle<XmlNode> findNodes(java.lang.String xPathExpression, java.util.Map<java.lang.String,java.lang.String> namespaces)
-
-