Uses of Class
org.xmlunit.diff.XPathContext
Packages that use XPathContext
Package
Description
Root of the XMLUnit 1.x compatibility layer.
Contains XMLUnit
DifferenceEngine
that is
at the heart of all comparisons as well as supporting interfaces
and implementations.-
Uses of XPathContext in org.custommonkey.xmlunit
Fields in org.custommonkey.xmlunit declared as XPathContext -
Uses of XPathContext in org.xmlunit.diff
Fields in org.xmlunit.diff declared as XPathContextModifier and TypeFieldDescriptionprivate final XPathContext
DOMDifferenceEngine.ControlAttributePresentComparer.controlContext
private final XPathContext
DOMDifferenceEngine.NormalAttributeComparer.controlContext
private final XPathContext
DOMDifferenceEngine.UnmatchedControlNodes.controlContext
private final XPathContext
DOMDifferenceEngine.UnmatchedTestNodes.controlContext
private final XPathContext
DOMDifferenceEngine.ControlAttributePresentComparer.testContext
private final XPathContext
DOMDifferenceEngine.NormalAttributeComparer.testContext
private final XPathContext
DOMDifferenceEngine.UnmatchedControlNodes.testContext
private final XPathContext
DOMDifferenceEngine.UnmatchedTestNodes.testContext
private final XPathContext
ChildNodeXPathContextProvider.xpathContext
Methods in org.xmlunit.diff that return XPathContextModifier and TypeMethodDescriptionXPathContext.clone()
Creates a deep copy of this XPathContext.private XPathContext
RecursiveXPathBuilder.getXPathForAttribute
(Attr a) private XPathContext
RecursiveXPathBuilder.getXPathForNonAttribute
(Node n) private XPathContext
DOMDifferenceEngine.xpathContextFor
(Node n) Methods in org.xmlunit.diff with parameters of type XPathContextModifier and TypeMethodDescriptionDOMDifferenceEngine.compareAttributeExplicitness
(Attr control, XPathContext controlContext, Attr test, XPathContext testContext) Compares whether two attributes are specified explicitly.DOMDifferenceEngine.compareAttributes
(Attr control, XPathContext controlContext, Attr test, XPathContext testContext) Compares properties of an attribute.DOMDifferenceEngine.compareCharacterData
(CharacterData control, XPathContext controlContext, CharacterData test, XPathContext testContext) Compares textual content.DOMDifferenceEngine.compareChildren
(XPathContext controlContext, Iterable<Node> allControlChildren, Iterable<Node> controlChildren, XPathContext testContext, Iterable<Node> allTestChildren, Iterable<Node> testChildren) DOMDifferenceEngine.compareDeclarations
(Document control, XPathContext controlContext, Document test, XPathContext testContext) Compares properties of XML declaration.DOMDifferenceEngine.compareDocTypes
(DocumentType control, XPathContext controlContext, DocumentType test, XPathContext testContext) Compares properties of the doctype declaration.DOMDifferenceEngine.compareDocuments
(Document control, XPathContext controlContext, Document test, XPathContext testContext) Compares document node, doctype and XML declaration propertiesDOMDifferenceEngine.compareElementAttributes
(Element control, XPathContext controlContext, Element test, XPathContext testContext) Compares element's attributes.DOMDifferenceEngine.compareElements
(Element control, XPathContext controlContext, Element test, XPathContext testContext) Compares elements node properties, in particular the element's name and its attributes.DOMDifferenceEngine.compareNodeLists
(Iterable<Node> allControlChildren, Iterable<Node> controlSeq, XPathContext controlContext, Iterable<Node> allTestChildren, Iterable<Node> testSeq, XPathContext testContext) Matches nodes of two node lists and invokes compareNode on each pair.(package private) AbstractDifferenceEngine.ComparisonState
DOMDifferenceEngine.compareNodes
(Node control, XPathContext controlContext, Node test, XPathContext testContext) Recursively compares two XML nodes.DOMDifferenceEngine.compareProcessingInstructions
(ProcessingInstruction control, XPathContext controlContext, ProcessingInstruction test, XPathContext testContext) Compares properties of a processing instruction.DOMDifferenceEngine.compareXsiType
(Attr controlAttr, XPathContext controlContext, Attr testAttr, XPathContext testContext) Compares xsi:type attribute valuesprotected static String
AbstractDifferenceEngine.getParentXPath
(XPathContext ctx) Returns a string representation of the given XPathContext's parent context.protected static String
AbstractDifferenceEngine.getXPath
(XPathContext ctx) Returns a string representation of the given XPathContext.DOMDifferenceEngine.nodeTypeSpecificComparison
(Node control, XPathContext controlContext, Node test, XPathContext testContext) Dispatches to the node type specific comparison if one is defined for the given combination of nodes.Constructors in org.xmlunit.diff with parameters of type XPathContextModifierConstructorDescription(package private)
ChildNodeXPathContextProvider
(XPathContext parentContext, Iterable<Node> children) Creates an instance of ChildNodeXPathContextProvider.private
ControlAttributePresentComparer
(Element control, XPathContext controlContext, Element test, XPathContext testContext, DOMDifferenceEngine.Attributes testAttributes, Set<Attr> foundTestAttributes) private
NormalAttributeComparer
(Element control, XPathContext controlContext, DOMDifferenceEngine.Attributes controlAttributes, Element test, XPathContext testContext, DOMDifferenceEngine.Attributes testAttributes) private
UnmatchedControlNodes
(List<Node> controlListForXpath, List<Node> controlList, XPathContext controlContext, Set<Node> seen, XPathContext testContext) private
UnmatchedTestNodes
(List<Node> testListForXpath, List<Node> testList, XPathContext testContext, Set<Node> seen, XPathContext controlContext)