A B C D E F G H I J L M N O P R S T U V W X
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractDifferenceEngine - Class in org.xmlunit.diff
-
Useful base-implementation of some parts of the DifferenceEngine interface.
- AbstractDifferenceEngine() - Constructor for class org.xmlunit.diff.AbstractDifferenceEngine
-
Protected default constructor.
- AbstractDifferenceEngine.ComparisonState - Class in org.xmlunit.diff
-
Encapsulates the current result and a flag that indicates whether comparison should be stopped.
- AbstractDifferenceEngine.DeferredComparison - Interface in org.xmlunit.diff
-
Encapsulates a comparison that may or may not be performed.
- AbstractDifferenceEngine.FinishedComparisonState - Class in org.xmlunit.diff
-
A comparison state that indicates the comparison should be stopped.
- AbstractDifferenceEngine.OngoingComparisonState - Class in org.xmlunit.diff
-
A comparison state that indicates the comparison should perform further steps.
- Accept - Static variable in class org.xmlunit.diff.DifferenceEvaluators
-
Difference evaluator that just echos the result passed in.
- AcceptAll - Static variable in class org.xmlunit.diff.NodeFilters
-
Accepts all nodes.
- addAttribute(QName) - Method in class org.xmlunit.diff.XPathContext
-
Adds knowledge about a single attribute of the current node.
- addAttributes(Iterable<? extends QName>) - Method in class org.xmlunit.diff.XPathContext
-
Adds knowledge about the current node's attributes.
- addComparisonListener(ComparisonListener) - Method in class org.xmlunit.diff.AbstractDifferenceEngine
- addComparisonListener(ComparisonListener) - Method in class org.xmlunit.diff.ComparisonListenerSupport
-
Registers a listener that is notified of each comparison.
- addComparisonListener(ComparisonListener) - Method in interface org.xmlunit.diff.DifferenceEngine
-
Registers a listener that is notified of each comparison.
- addDifferenceListener(ComparisonListener) - Method in class org.xmlunit.diff.AbstractDifferenceEngine
- addDifferenceListener(ComparisonListener) - Method in class org.xmlunit.diff.ComparisonListenerSupport
-
Registers a listener that is notified of each comparison with outcome other than
ComparisonResult.EQUAL. - addDifferenceListener(ComparisonListener) - Method in interface org.xmlunit.diff.DifferenceEngine
-
Registers a listener that is notified of each comparison with outcome other than
ComparisonResult.EQUAL. - addMatchListener(ComparisonListener) - Method in class org.xmlunit.diff.AbstractDifferenceEngine
- addMatchListener(ComparisonListener) - Method in class org.xmlunit.diff.ComparisonListenerSupport
-
Registers a listener that is notified of each comparison with outcome
ComparisonResult.EQUAL. - addMatchListener(ComparisonListener) - Method in interface org.xmlunit.diff.DifferenceEngine
-
Registers a listener that is notified of each comparison with outcome
ComparisonResult.EQUAL. - addOutputProperty(String, String) - Method in class org.xmlunit.transform.Transformation
-
Add a named output property.
- addParameter(String, Object) - Method in class org.xmlunit.transform.Transformation
-
Add a named parameter.
- all(Iterable<T>, Predicate<? super T>) - Static method in class org.xmlunit.util.Linqy
-
Determines whether a given predicate holds true for all elements.
- and(ElementSelector...) - Static method in class org.xmlunit.diff.ElementSelectors
-
Accepts two elements if all of the given ElementSelectors do.
- andIfTrueThen(boolean, AbstractDifferenceEngine.DeferredComparison) - Method in class org.xmlunit.diff.AbstractDifferenceEngine.ComparisonState
-
Maybe combines the current state with a different comparison.
- andIfTrueThen(boolean, Comparison) - Method in class org.xmlunit.diff.AbstractDifferenceEngine.ComparisonState
-
Maybe combines the current state with a different comparison.
- andThen(AbstractDifferenceEngine.DeferredComparison) - Method in class org.xmlunit.diff.AbstractDifferenceEngine.ComparisonState
-
Combines the current state with a different comparison.
- andThen(Comparison) - Method in class org.xmlunit.diff.AbstractDifferenceEngine.ComparisonState
-
Combines the current state with a different comparison.
- any(Iterable<T>, Predicate<? super T>) - Static method in class org.xmlunit.util.Linqy
-
Determines whether a given predicate holds true for at least one element.
- appendAttribute(StringBuilder, Attr) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
-
Formats a placeholder for an attribute for
DefaultComparisonFormatter.getShortString(org.w3c.dom.Node, java.lang.String, org.xmlunit.diff.ComparisonType). - appendChildren(Iterable<? extends XPathContext.NodeInfo>) - Method in class org.xmlunit.diff.XPathContext
-
Adds knowledge about the current node's children appending to the knowledge already present.
- appendComment(StringBuilder, Comment) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
- appendDocumentElementIndication(StringBuilder, Document) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
-
Appends a short indication of the document's root element like "<ElementName...>" for
DefaultComparisonFormatter.getShortString(org.w3c.dom.Node, java.lang.String, org.xmlunit.diff.ComparisonType). - appendDocumentType(StringBuilder, DocumentType) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
- appendDocumentXmlDeclaration(StringBuilder, Document) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
-
Appends the XML declaration for
DefaultComparisonFormatter.getShortString(org.w3c.dom.Node, java.lang.String, org.xmlunit.diff.ComparisonType)orDefaultComparisonFormatter.appendFullDocumentHeader(java.lang.StringBuilder, org.w3c.dom.Document)if it contains non-default values. - appendElement(StringBuilder, Element) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
-
Formats a placeholder for an element for
DefaultComparisonFormatter.getShortString(org.w3c.dom.Node, java.lang.String, org.xmlunit.diff.ComparisonType). - appendFullDocumentHeader(StringBuilder, Document) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
-
Appends the XML declaration and DOCTYPE if present as well as the document's root element for
DefaultComparisonFormatter.getFullFormattedXml(org.w3c.dom.Node, org.xmlunit.diff.ComparisonType, boolean). - appendProcessingInstruction(StringBuilder, ProcessingInstruction) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
-
Formats a processing instruction for
DefaultComparisonFormatter.getShortString(org.w3c.dom.Node, java.lang.String, org.xmlunit.diff.ComparisonType). - appendText(StringBuilder, Text) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
-
Formats a text or CDATA node for
DefaultComparisonFormatter.getShortString(org.w3c.dom.Node, java.lang.String, org.xmlunit.diff.ComparisonType). - appendXPath(StringBuilder, String) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
-
Appends the XPath information for
DefaultComparisonFormatter.getShortString(org.w3c.dom.Node, java.lang.String, org.xmlunit.diff.ComparisonType)if present. - apply() - Method in interface org.xmlunit.diff.AbstractDifferenceEngine.DeferredComparison
-
Perform the comparison.
- apply(F) - Method in interface org.xmlunit.util.Mapper
-
Performs the mapping operation.
- apply(Node) - Method in class org.xmlunit.diff.RecursiveXPathBuilder
- asList(Iterable<E>) - Static method in class org.xmlunit.util.Linqy
-
Turns the iterable into a list.
- asList(NodeList) - Static method in class org.xmlunit.util.IterableNodeList
-
Turns the NodeList into a list.
- ATTR_NAME_LOOKUP - org.xmlunit.diff.ComparisonType
-
Search for an attribute with a name matching a specific attribute of the other node.
- ATTR_VALUE - org.xmlunit.diff.ComparisonType
-
Compare attribute's value.
- ATTR_VALUE_EXPLICITLY_SPECIFIED - org.xmlunit.diff.ComparisonType
-
Compare explicit/implicit status of attributes.
B
- build() - Method in class org.xmlunit.builder.DiffBuilder
-
Compare the Test-XML
DiffBuilder.withTest(Object)with the Control-XMLDiffBuilder.compare(Object)and return the collected differences in aDiffobject. - build() - Method in interface org.xmlunit.builder.Input.Builder
-
build the actual
Sourceinstance. - build() - Method in class org.xmlunit.builder.javax_jaxb.JavaxJaxbBuilder
- build() - Method in interface org.xmlunit.builder.Transform.Builder
-
Create the result of the transformation.
- build() - Method in interface org.xmlunit.diff.ElementSelectors.ConditionalSelectorBuilder
-
Builds a conditional ElementSelector.
- build() - Method in class org.xmlunit.util.DocumentBuilderFactoryConfigurer.Builder
-
Builds a DocumentBuilderFactoryConfigurer.
- build() - Method in class org.xmlunit.util.TransformerFactoryConfigurer.Builder
-
Builds a TransformerFactoryConfigurer.
- build() - Method in class org.xmlunit.util.XPathFactoryConfigurer.Builder
-
Builds a XPathFactoryConfigurer.
- builder() - Static method in class org.xmlunit.util.DocumentBuilderFactoryConfigurer
-
Creates a builder for DocumentBuilderFactoryConfigurers.
- builder() - Static method in class org.xmlunit.util.TransformerFactoryConfigurer
-
Creates a builder for TransformerFactoryConfigurers.
- builder() - Static method in class org.xmlunit.util.XPathFactoryConfigurer
-
Creates a builder for XPathFactoryConfigurers.
- Builder() - Constructor for class org.xmlunit.util.DocumentBuilderFactoryConfigurer.Builder
- Builder() - Constructor for class org.xmlunit.util.TransformerFactoryConfigurer.Builder
- Builder() - Constructor for class org.xmlunit.util.XPathFactoryConfigurer.Builder
- byName - Static variable in class org.xmlunit.diff.ElementSelectors
-
Elements with the same local name (and namespace URI - if any) can be compared.
- byNameAndAllAttributes - Static variable in class org.xmlunit.diff.ElementSelectors
-
Elements with the same local name (and namespace URI - if any) and attribute values for all attributes can be compared.
- byNameAndAllAttributes(Predicate<Attr>) - Static method in class org.xmlunit.diff.ElementSelectors
-
Elements with the same local name (and namespace URI - if any) and attribute values for all attributes can be compared.
- byNameAndAttributes(String...) - Static method in class org.xmlunit.diff.ElementSelectors
-
Elements with the same local name (and namespace URI - if any) and attribute values for the given attribute names can be compared.
- byNameAndAttributes(QName...) - Static method in class org.xmlunit.diff.ElementSelectors
-
Elements with the same local name (and namespace URI - if any) and attribute values for the given attribute names can be compared.
- byNameAndAttributesControlNS(String...) - Static method in class org.xmlunit.diff.ElementSelectors
-
Elements with the same local name (and namespace URI - if any) and attribute values for the given attribute names can be compared.
- byNameAndText - Static variable in class org.xmlunit.diff.ElementSelectors
-
Elements with the same local name (and namespace URI - if any) and nested text (if any) can be compared.
- ByNameAndTextRecSelector - Class in org.xmlunit.diff
-
ElementSelectorthat allows two elements to be compared if their name (including namespace URI, if any) and textual content is the same and the same is true for all child elements recursively. - ByNameAndTextRecSelector() - Constructor for class org.xmlunit.diff.ByNameAndTextRecSelector
- byTransforming(Source) - Static method in class org.xmlunit.builder.Input
-
Build a Source by XSLT transforming a different Source.
- byTransforming(Input.Builder) - Static method in class org.xmlunit.builder.Input
-
Build a Source by XSLT transforming a different Source.
- byXPath(String, Map<String, String>, ElementSelector) - Static method in class org.xmlunit.diff.ElementSelectors
-
Selects two elements as matching if the child elements selected via XPath match using the given childSelector.
- byXPath(String, ElementSelector) - Static method in class org.xmlunit.diff.ElementSelectors
-
Selects two elements as matching if the child elements selected via XPath match using the given childSelector.
- byXPath(String, XPathEngine, Map<String, String>, ElementSelector) - Static method in class org.xmlunit.diff.ElementSelectors
-
Selects two elements as matching if the child elements selected via XPath match using the given childSelector.
- byXPath(String, XPathEngine, ElementSelector) - Static method in class org.xmlunit.diff.ElementSelectors
-
Selects two elements as matching if the child elements selected via XPath match using the given childSelector.
C
- canBeCompared(short, short) - Method in class org.xmlunit.diff.DefaultNodeMatcher.DefaultNodeTypeMatcher
- canBeCompared(short, short) - Method in interface org.xmlunit.diff.DefaultNodeMatcher.NodeTypeMatcher
-
Determines whether two Nodes are eligible for comparison based on their node type.
- canBeCompared(Element, Element) - Method in class org.xmlunit.diff.ByNameAndTextRecSelector
- canBeCompared(Element, Element) - Method in interface org.xmlunit.diff.ElementSelector
-
Determine whether the two elements from the control and test XML can be compared.
- canBeCompared(Element, Element) - Method in class org.xmlunit.diff.MultiLevelByNameAndTextSelector
- cast(Iterable) - Static method in class org.xmlunit.util.Linqy
-
Turns an iterable into its type-safe cousin.
- chain(DifferenceEvaluator...) - Static method in class org.xmlunit.diff.DifferenceEvaluators
-
Combines multiple DifferenceEvaluators so that the result of the first Evaluator will be passed to the next Evaluator.
- checkForIdentical() - Method in class org.xmlunit.builder.DiffBuilder
-
check test source with the control source for identically.
- checkForSimilar() - Method in class org.xmlunit.builder.DiffBuilder
-
check test source with the control source for similarity.
- CHILD_LOOKUP - org.xmlunit.diff.ComparisonType
-
Search for a child node matching a specific child node of the other node.
- CHILD_NODELIST_LENGTH - org.xmlunit.diff.ComparisonType
-
Compare number of child nodes.
- CHILD_NODELIST_SEQUENCE - org.xmlunit.diff.ComparisonType
-
Compare order of child nodes.
- clearOutputProperties() - Method in class org.xmlunit.transform.Transformation
-
Clear all output properties.
- clearParameters() - Method in class org.xmlunit.transform.Transformation
-
Clear all output parameters.
- clone() - Method in class org.xmlunit.diff.XPathContext
-
Creates a deep copy of this XPathContext.
- CommentLessSource - Class in org.xmlunit.input
-
A source that is obtained from a different source by stripping all comments.
- CommentLessSource(Source) - Constructor for class org.xmlunit.input.CommentLessSource
-
Creates a new source that consists of the given source with all comments removed using an XSLT stylesheet of version 2.0.
- CommentLessSource(Source, String) - Constructor for class org.xmlunit.input.CommentLessSource
-
Creates a new source that consists of the given source with all comments removed.
- compare(Object) - Static method in class org.xmlunit.builder.DiffBuilder
-
Create a DiffBuilder from all kind of types supported by
Input.from(Object). - compare(Source, Source) - Method in interface org.xmlunit.diff.DifferenceEngine
-
Compares two pieces of XML and invokes the registered listeners.
- compare(Source, Source) - Method in class org.xmlunit.diff.DOMDifferenceEngine
- compare(Comparison) - Method in class org.xmlunit.diff.AbstractDifferenceEngine
-
Compares the detail values for object equality, lets the difference evaluator and comparison controller evaluate the result, notifies all listeners and returns the outcome.
- Comparison - Class in org.xmlunit.diff
-
Details of a single comparison XMLUnit has performed.
- Comparison(ComparisonType, Node, String, Object, String, Node, String, Object, String) - Constructor for class org.xmlunit.diff.Comparison
-
Creates a new comparison.
- Comparison(ComparisonType, XPathContext, Node, Object, XPathContext, Node, Object) - Constructor for class org.xmlunit.diff.Comparison
-
Creates a new comparison.
- Comparison.Detail - Class in org.xmlunit.diff
-
The details of a target (usually some representation of an XML Node) that took part in the comparison.
- ComparisonController - Interface in org.xmlunit.diff
-
Decides whether the difference engine should stop the whole comparison process because of the current difference.
- ComparisonControllers - Class in org.xmlunit.diff
-
Controllers used for the base cases.
- ComparisonFormatter - Interface in org.xmlunit.diff
-
Formatter methods for a
ComparisonObject. - ComparisonListener - Interface in org.xmlunit.diff
-
Is notified of comparisions and their results.
- ComparisonListenerSupport - Class in org.xmlunit.diff
-
Encapsulates support for
ComparisonListeners so it can be reused by different implementations ofDifferenceEngine. - ComparisonListenerSupport() - Constructor for class org.xmlunit.diff.ComparisonListenerSupport
- comparisonPerformed(Comparison, ComparisonResult) - Method in interface org.xmlunit.diff.ComparisonListener
-
Receives information about a comparison that has been performed and its outcome.
- ComparisonResult - Enum in org.xmlunit.diff
-
The possible outcomes of a comparision.
- ComparisonState(boolean, ComparisonResult) - Constructor for class org.xmlunit.diff.AbstractDifferenceEngine.ComparisonState
-
Creates a new ComparisonState.
- ComparisonType - Enum in org.xmlunit.diff
-
The kinds of comparisons XMLUnit performs.
- conditionalBuilder() - Static method in class org.xmlunit.diff.ElementSelectors
-
Allows to build complex
ElementSelectors by combining simpler blocks. - conditionalSelector(Predicate<? super Element>, ElementSelector) - Static method in class org.xmlunit.diff.ElementSelectors
-
Applies the wrapped ElementSelector's logic if and only if the control element matches the given predicate.
- ConfigurationException - Exception in org.xmlunit
-
Exception thrown when anything inside JAXP throws a *ConfigurationException.
- ConfigurationException(String, Throwable) - Constructor for exception org.xmlunit.ConfigurationException
-
Creates a new exception from a cause and a custom message.
- ConfigurationException(Throwable) - Constructor for exception org.xmlunit.ConfigurationException
-
Creates a new exception from a cause.
- configure(DocumentBuilderFactory) - Method in class org.xmlunit.util.DocumentBuilderFactoryConfigurer
-
Applies the current configuration.
- configure(TransformerFactory) - Method in class org.xmlunit.util.TransformerFactoryConfigurer
-
Applies the current configuration.
- configure(XPathFactory) - Method in class org.xmlunit.util.XPathFactoryConfigurer
-
Applies the current configuration.
- Convert - Class in org.xmlunit.util
-
Conversion methods.
- count(Iterable) - Static method in class org.xmlunit.util.Linqy
-
Count the number of elements in a sequence.
- create(Object) - Method in class org.xmlunit.builder.javax_jaxb.DefaultJaxbBuilderFactory
- create(Object) - Method in interface org.xmlunit.builder.JaxbBuilderFactory
-
Create a concrete instance of a JaxbBuilder.
- createXmlTransformer(int) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
-
Create a default Transformer to format a XML-Node to a String.
D
- Default - Static variable in class org.xmlunit.diff.ComparisonControllers
-
Does not stop the comparison at all.
- Default - Static variable in class org.xmlunit.diff.DifferenceEvaluators
-
The "standard" difference evaluator which decides which differences make two XML documents really different and which still leave them similar.
- Default - Static variable in class org.xmlunit.diff.ElementSelectors
-
Always returns true, i.e. each element can be compared to each other element.
- Default - Static variable in class org.xmlunit.diff.NodeFilters
-
Suppresses document-type and XML declaration nodes.
- Default - Static variable in class org.xmlunit.util.DocumentBuilderFactoryConfigurer
-
The default instance.
- Default - Static variable in class org.xmlunit.util.TransformerFactoryConfigurer
-
The default instance which disables DTD loading and extension functions but still allows loading of external stylesheets.
- Default - Static variable in class org.xmlunit.util.XPathFactoryConfigurer
-
The default instance which disables extension functions.
- DefaultComparisonFormatter - Class in org.xmlunit.diff
-
Formatter methods for a
ComparisonObject. - DefaultComparisonFormatter() - Constructor for class org.xmlunit.diff.DefaultComparisonFormatter
- DefaultJaxbBuilderFactory - Class in org.xmlunit.builder.javax_jaxb
-
Default implementation that uses
javax.xml.bind. - DefaultJaxbBuilderFactory() - Constructor for class org.xmlunit.builder.javax_jaxb.DefaultJaxbBuilderFactory
- DefaultNodeMatcher - Class in org.xmlunit.diff
-
Default implemetation of
NodeMatcherthat matches control and tests nodes for comparison with the help ofDefaultNodeMatcher.NodeTypeMatcherandElementSelectors. - DefaultNodeMatcher() - Constructor for class org.xmlunit.diff.DefaultNodeMatcher
-
Creates a matcher using
ElementSelectors.DefaultandDefaultNodeMatcher.DefaultNodeTypeMatcher. - DefaultNodeMatcher(DefaultNodeMatcher.NodeTypeMatcher, ElementSelector...) - Constructor for class org.xmlunit.diff.DefaultNodeMatcher
-
Creates a matcher using the given
ElementSelectors andDefaultNodeMatcher.NodeTypeMatcher. - DefaultNodeMatcher(ElementSelector...) - Constructor for class org.xmlunit.diff.DefaultNodeMatcher
-
Creates a matcher using the given
ElementSelectors andDefaultNodeMatcher.DefaultNodeTypeMatcher. - DefaultNodeMatcher.DefaultNodeTypeMatcher - Class in org.xmlunit.diff
-
DefaultNodeMatcher.NodeTypeMatcherthat marks pairs of nodes of the same node type as well as pairs of CDATA sections and text nodes as eligible. - DefaultNodeMatcher.NodeTypeMatcher - Interface in org.xmlunit.diff
-
Determines whether two Nodes are eligible for comparison based on their node type.
- DefaultNodeTypeMatcher() - Constructor for class org.xmlunit.diff.DefaultNodeMatcher.DefaultNodeTypeMatcher
- Diff - Class in org.xmlunit.diff
-
The Diff-Object is the result of two comparisons.
- Diff(Source, Source, Iterable<Difference>) - Constructor for class org.xmlunit.diff.Diff
-
Encapsulates the compared sources and the differences found.
- Diff(Source, Source, ComparisonFormatter, Iterable<Difference>) - Constructor for class org.xmlunit.diff.Diff
-
Encapsulates the compared sources and the differences found.
- DiffBuilder - Class in org.xmlunit.builder
-
DiffBuilder to create a
Diffinstance. - Difference - Class in org.xmlunit.diff
-
Combines a
Comparisonand itsresult. - Difference(Comparison, ComparisonResult) - Constructor for class org.xmlunit.diff.Difference
-
Combines comparison and result.
- DifferenceEngine - Interface in org.xmlunit.diff
-
XMLUnit's difference engine.
- DifferenceEngineConfigurer<D extends DifferenceEngineConfigurer<D>> - Interface in org.xmlunit.builder
-
Subset of the configuration options available for a
DifferenceEngine. - DifferenceEvaluator - Interface in org.xmlunit.diff
-
May decide to up- or downgrade the severity of a difference.
- DifferenceEvaluators - Class in org.xmlunit.diff
-
Evaluators used for the base cases.
- DIFFERENT - org.xmlunit.diff.ComparisonResult
-
The two nodes are different.
- DOCTYPE_NAME - org.xmlunit.diff.ComparisonType
-
If the documents both have DOCTYPEs, compare the names.
- DOCTYPE_PUBLIC_ID - org.xmlunit.diff.ComparisonType
-
If the documents both have DOCTYPEs, compare the PUBLIC identifiers.
- DOCTYPE_SYSTEM_ID - org.xmlunit.diff.ComparisonType
-
If the documents both have DOCTYPEs, compare the SYSTEM identifiers.
- DocumentBuilderFactoryConfigurer - Class in org.xmlunit.util
-
Configures DocumentBuilderFactories.
- DocumentBuilderFactoryConfigurer.Builder - Class in org.xmlunit.util
-
Builder for a DocumentBuilderFactoryConfigurer.
- DOMDifferenceEngine - Class in org.xmlunit.diff
-
Difference engine based on DOM.
- DOMDifferenceEngine() - Constructor for class org.xmlunit.diff.DOMDifferenceEngine
-
Creates a new DOMDifferenceEngine using the default
DocumentBuilderFactory. - DOMDifferenceEngine(DocumentBuilderFactory) - Constructor for class org.xmlunit.diff.DOMDifferenceEngine
-
Creates a new DOMDifferenceEngine.
- DOMNodeInfo(Node) - Constructor for class org.xmlunit.diff.XPathContext.DOMNodeInfo
- downgradeDifferencesToEqual(ComparisonType...) - Static method in class org.xmlunit.diff.DifferenceEvaluators
-
Creates a DifferenceEvaluator that returns a EQUAL result for differences found in one of the given ComparisonTypes.
- downgradeDifferencesToSimilar(ComparisonType...) - Static method in class org.xmlunit.diff.DifferenceEvaluators
-
Creates a DifferenceEvaluator that returns a SIMILAR result for differences (Comparisons that are not EQUAL) found in one of the given ComparisonTypes.
E
- ELEMENT_NUM_ATTRIBUTES - org.xmlunit.diff.ComparisonType
-
Compare number of attributes.
- ELEMENT_TAG_NAME - org.xmlunit.diff.ComparisonType
-
Compare element names.
- ElementContentWhitespaceStrippedSource - Class in org.xmlunit.input
-
A source that is obtained from a different source by removing all text nodes that only contain whitespace.
- ElementContentWhitespaceStrippedSource(Source) - Constructor for class org.xmlunit.input.ElementContentWhitespaceStrippedSource
-
Creates a new source that consists of the given source with all text nodes that only contain whitespace stripped.
- ElementContentWhitespaceStrippedSource(Source, DocumentBuilderFactory) - Constructor for class org.xmlunit.input.ElementContentWhitespaceStrippedSource
-
Creates a new source that consists of the given source with all text nodes that only contain whitespace stripped.
- ElementSelector - Interface in org.xmlunit.diff
-
Strategy used by
DefaultNodeMatcherfor selecting matching elements. - ElementSelectors - Class in org.xmlunit.diff
-
Common ElementSelector implementations.
- ElementSelectors.ConditionalSelectorBuilder - Interface in org.xmlunit.diff
-
Allows to build complex
ElementSelectors by combining simpler blocks. - ElementSelectors.ConditionalSelectorBuilderThen - Interface in org.xmlunit.diff
- elseUse(ElementSelector) - Method in interface org.xmlunit.diff.ElementSelectors.ConditionalSelectorBuilder
-
Assigns a default ElementSelector that is used if all
whens have returned false. - EQUAL - org.xmlunit.diff.ComparisonResult
-
The two nodes are the same for the sake of this comparison.
- equals(Object) - Method in class org.xmlunit.diff.AbstractDifferenceEngine.ComparisonState
- ERROR - org.xmlunit.validation.ValidationProblem.ProblemType
-
The problem is a validation error.
- evaluate(String, Source) - Method in class org.xmlunit.xpath.JAXPXPathEngine
-
Evaluates an XPath expression and stringifies the result.
- evaluate(String, Source) - Method in interface org.xmlunit.xpath.XPathEngine
-
Evaluates an XPath expression and stringifies the result.
- evaluate(String, Node) - Method in class org.xmlunit.xpath.JAXPXPathEngine
-
Evaluates an XPath expression and stringifies the result.
- evaluate(String, Node) - Method in interface org.xmlunit.xpath.XPathEngine
-
Evaluates an XPath expression and stringifies the result.
- evaluate(Comparison, ComparisonResult) - Method in interface org.xmlunit.diff.DifferenceEvaluator
-
May alter the outcome of a comparison.
F
- filter(Iterable<T>, Predicate<? super T>) - Static method in class org.xmlunit.util.Linqy
-
Exclude all elements from an iterable that don't match a given predicate.
- FinishedComparisonState(ComparisonResult) - Constructor for class org.xmlunit.diff.AbstractDifferenceEngine.FinishedComparisonState
-
Creates a FinishedComparisonState.
- fireComparisonPerformed(Comparison, ComparisonResult) - Method in class org.xmlunit.diff.ComparisonListenerSupport
-
Propagates the result of a comparision to all registered listeners.
- first(DifferenceEvaluator...) - Static method in class org.xmlunit.diff.DifferenceEvaluators
-
Combines multiple DifferenceEvaluators so that the first one that changes the outcome wins.
- forLanguage(String) - Static method in class org.xmlunit.validation.Validator
-
Factory that obtains a Validator instance based on the schema language.
- from(Object) - Static method in class org.xmlunit.builder.Input
-
Return the matching Builder for the supported types:
Source,Input.Builder,Document,Node, byte[] (XML as byte[]),String(XML as String),File(contains XML),URL(to an XML-Document),URI(to an XML-Document),InputStream,ReadableByteChannel,Path, Jaxb-Object(marshal-able withJAXB.marshal(...)) - fromByteArray(byte[]) - Static method in class org.xmlunit.builder.Input
-
Build a Source from an array of bytes.
- fromChannel(ReadableByteChannel) - Static method in class org.xmlunit.builder.Input
-
Build a Source from a channel.
- fromDocument(Document) - Static method in class org.xmlunit.builder.Input
-
Build a Source from a DOM Document.
- fromFile(File) - Static method in class org.xmlunit.builder.Input
-
Build a Source from a file.
- fromFile(String) - Static method in class org.xmlunit.builder.Input
-
Build a Source from a named file.
- fromJaxb(Object) - Static method in class org.xmlunit.builder.Input
-
Build a Source from a Jaxb-Object.
- fromNode(Node) - Static method in class org.xmlunit.builder.Input
-
Build a Source from a DOM Node.
- fromPath(Path) - Static method in class org.xmlunit.builder.Input
-
Build a Source from a Path.
- fromReader(Reader) - Static method in class org.xmlunit.builder.Input
-
Build a Source from a reader.
- fromStream(InputStream) - Static method in class org.xmlunit.builder.Input
-
Build a Source from a stream.
- fromString(String) - Static method in class org.xmlunit.builder.Input
-
Build a Source from a string.
- fromURI(String) - Static method in class org.xmlunit.builder.Input
-
Build a Source from an URI.
- fromURI(URI) - Static method in class org.xmlunit.builder.Input
-
Build a Source from an URI.
- fromURL(URL) - Static method in class org.xmlunit.builder.Input
-
Build a Source from an URL.
- fullDescription() - Method in class org.xmlunit.diff.Diff
-
Returns a string representation of this diff using internal
ComparisonFormatterorDefaultComparisonFormatterif formatter wasn't set. - fullDescription(ComparisonFormatter) - Method in class org.xmlunit.diff.Diff
-
Returns a string representation of this diff using the given
ComparisonFormatter
G
- getAttributeFilter() - Method in class org.xmlunit.diff.AbstractDifferenceEngine
-
Provides access to the configured attribute filter.
- getAttributes(Node) - Static method in class org.xmlunit.util.Nodes
-
Obtains an element's attributes as Map.
- getAttributes(Node, Predicate<Attr>) - Static method in class org.xmlunit.util.Nodes
-
Obtains an element's attributes as Map.
- getColumn() - Method in class org.xmlunit.validation.ValidationProblem
-
The column where the problem occured or
UNKNOWN. - getComparison() - Method in class org.xmlunit.diff.Difference
-
The details of the comparison.
- getComparisonController() - Method in class org.xmlunit.diff.AbstractDifferenceEngine
-
Provides access to the configured ComparisonController.
- getControlDetails() - Method in class org.xmlunit.diff.Comparison
-
Details of the control target.
- getControlSource() - Method in class org.xmlunit.diff.Diff
- getDescription() - Method in enum org.xmlunit.diff.ComparisonType
-
Provides a description for the comparison type.
- getDescription(Comparison) - Method in interface org.xmlunit.diff.ComparisonFormatter
-
Return a short String of the Comparison including the XPath and the shorten value of the effected control and test Node.
- getDescription(Comparison) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
-
Return a short String of the Comparison including the XPath and the shorten value of the effected control and test Node.
- getDetails(Comparison.Detail, ComparisonType, boolean) - Method in interface org.xmlunit.diff.ComparisonFormatter
-
Return the xml node from
Comparison.Detail.getTarget()as formatted String. - getDetails(Comparison.Detail, ComparisonType, boolean) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
-
Return the xml node from
Comparison.Detail.getTarget()as formatted String. - getDifferenceEvaluator() - Method in class org.xmlunit.diff.AbstractDifferenceEngine
-
Provides access to the configured DifferenceEvaluator.
- getDifferences() - Method in class org.xmlunit.diff.Diff
- getFormattedNodeXml(Node, boolean) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
-
Formats a node with the help of an identity XML transformation.
- getFullFormattedXml(Node, ComparisonType, boolean) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
-
Formats the node using a format suitable for the node type and comparison.
- getLine() - Method in class org.xmlunit.validation.ValidationProblem
-
The line where the problem occured or
UNKNOWN. - getMarshaller() - Method in class org.xmlunit.builder.JaxbBuilder
-
Provides the custom Marshaller.
- getMergedNestedText(Node) - Static method in class org.xmlunit.util.Nodes
-
Tries to merge all direct Text and CDATA children of the given Node and concatenates their value.
- getMessage() - Method in class org.xmlunit.validation.ValidationProblem
-
The problem's message.
- getName() - Method in class org.xmlunit.diff.XPathContext.DOMNodeInfo
- getName() - Method in interface org.xmlunit.diff.XPathContext.NodeInfo
- getNamespaceContext() - Method in class org.xmlunit.diff.AbstractDifferenceEngine
-
Provides access to the configured namespace context.
- getNodeFilter() - Method in class org.xmlunit.diff.AbstractDifferenceEngine
-
Provides access to the configured nod filter.
- getNodeMatcher() - Method in class org.xmlunit.diff.AbstractDifferenceEngine
-
Provides access to the configured NodeMatcher.
- getObject() - Method in class org.xmlunit.builder.JaxbBuilder
-
Provides the configured object.
- getParentXPath() - Method in class org.xmlunit.diff.Comparison.Detail
-
XPath leading to the target's parent.
- getParentXPath() - Method in class org.xmlunit.diff.XPathContext
-
Stringifies the XPath of the current node's parent.
- getParentXPath(XPathContext) - Static method in class org.xmlunit.diff.AbstractDifferenceEngine
-
Returns a string representation of the given XPathContext's parent context.
- getProblems() - Method in class org.xmlunit.validation.ValidationResult
-
Retrieves the problems that have been found.
- getQName(Node) - Static method in class org.xmlunit.util.Nodes
-
Extracts a Node's name, namespace URI (if any) and prefix as a QName.
- getResult() - Method in class org.xmlunit.diff.Difference
-
The result of the difference.
- getSchemaSources() - Method in class org.xmlunit.validation.Validator
-
Where to find the schema.
- getSchemaURI() - Method in class org.xmlunit.validation.ParsingValidator
-
The URI (or for example the System ID in case of a DTD) that identifies the schema validated or used during validation.
- getShortString(Node, String, ComparisonType) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
-
Return a String representation for
DefaultComparisonFormatter.getShortString(org.w3c.dom.Node, java.lang.String, org.xmlunit.diff.ComparisonType)that describes the "thing" that has been compared so users know how to locate it. - getTarget() - Method in class org.xmlunit.diff.Comparison.Detail
-
The actual target.
- getTestDetails() - Method in class org.xmlunit.diff.Comparison
-
Details of the test target.
- getTestSource() - Method in class org.xmlunit.diff.Diff
- getType() - Method in class org.xmlunit.diff.Comparison
-
The kind of comparison performed.
- getType() - Method in class org.xmlunit.diff.XPathContext.DOMNodeInfo
- getType() - Method in interface org.xmlunit.diff.XPathContext.NodeInfo
- getType() - Method in class org.xmlunit.validation.ValidationProblem
-
Whether this is an error or a warning.
- getUseObjectFactory() - Method in class org.xmlunit.builder.JaxbBuilder
-
Provides whether the given Object has no
XmlRootElementannotation and is not an instants ofJAXBElementit must be wrapped by aJAXBElement. - getValue() - Method in class org.xmlunit.diff.Comparison.Detail
-
The value for comparison found at the current target.
- getValue(Object, ComparisonType) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
-
May alter the display of a comparison value for
DefaultComparisonFormatter.getShortString(org.w3c.dom.Node, java.lang.String, org.xmlunit.diff.ComparisonType)based on the comparison type. - getXPath() - Method in class org.xmlunit.diff.Comparison.Detail
-
XPath leading to the target.
- getXPath() - Method in class org.xmlunit.diff.XPathContext
-
Stringifies the XPath of the current node.
- getXPath(XPathContext) - Static method in class org.xmlunit.diff.AbstractDifferenceEngine
-
Returns a string representation of the given XPathContext.
H
- HAS_DOCTYPE_DECLARATION - org.xmlunit.diff.ComparisonType
-
Do both documents have a DOCTYPE (or neither of each)?
- hasDifferences() - Method in class org.xmlunit.diff.Diff
- hashCode() - Method in class org.xmlunit.diff.AbstractDifferenceEngine.ComparisonState
I
- ignoreComments() - Method in class org.xmlunit.builder.DiffBuilder
-
Will remove all comment-Tags "<!
- ignoreCommentsUsingXSLTVersion(String) - Method in class org.xmlunit.builder.DiffBuilder
-
Will remove all comment-Tags "<!
- ignoreElementContentWhitespace() - Method in class org.xmlunit.builder.DiffBuilder
-
Ignore element content whitespace by removing all text nodes solely consisting of whitespace.
- ignorePrologDifferences() - Static method in class org.xmlunit.diff.DifferenceEvaluators
-
Ignore any differences that are part of the XML prolog.
- ignorePrologDifferencesExceptDoctype() - Static method in class org.xmlunit.diff.DifferenceEvaluators
-
Ignore any differences except differences inside the doctype declaration that are part of the XML prolog.
- ignoreWhitespace() - Method in class org.xmlunit.builder.DiffBuilder
-
Ignore whitespace by removing all empty text nodes and trimming the non-empty ones.
- Input - Class in org.xmlunit.builder
-
Fluent API to create Source instances.
- Input.Builder - Interface in org.xmlunit.builder
-
Interface for fluent builders of
Sources. - Input.TransformationBuilder - Interface in org.xmlunit.builder
-
Builds
Sources by transforming other sources. - IsNullPredicate - Class in org.xmlunit.util
-
A function that tests whether an object is null.
- IsNullPredicate() - Constructor for class org.xmlunit.util.IsNullPredicate
- isValid() - Method in class org.xmlunit.validation.ValidationResult
-
Has the validation been successful?
- IterableNodeList - Class in org.xmlunit.util
-
Provides an iterable view to a NodeList, the Iterator that can be obtained from this Iterable will be read-only.
- IterableNodeList(NodeList) - Constructor for class org.xmlunit.util.IterableNodeList
-
Wraps the NodeList.
- iterator() - Method in class org.xmlunit.util.IterableNodeList
J
- JavaxJaxbBuilder - Class in org.xmlunit.builder.javax_jaxb
-
JaxbBuilderfor Jaxb-Object and creating aJAXBSource. - JavaxJaxbBuilder(Object) - Constructor for class org.xmlunit.builder.javax_jaxb.JavaxJaxbBuilder
-
Creates a builder based on the given object.
- JaxbBuilder - Class in org.xmlunit.builder
-
Input.Builderfor Jaxb-Object and creating aJAXBSource. - JaxbBuilder(Object) - Constructor for class org.xmlunit.builder.JaxbBuilder
-
Creates a builder based on the given object.
- JaxbBuilderFactory - Interface in org.xmlunit.builder
-
Interface that creates a JAXB Builder.
- JAXPValidator - Class in org.xmlunit.validation
-
Validator using the javax.xml.validation namespace.
- JAXPValidator(String) - Constructor for class org.xmlunit.validation.JAXPValidator
-
Creates a validator for the given schema language using the default SchemaFactory.
- JAXPValidator(String, SchemaFactory) - Constructor for class org.xmlunit.validation.JAXPValidator
-
Creates a validator for the given schema language using a custom SchemaFactory.
- JAXPXPathEngine - Class in org.xmlunit.xpath
-
Simplified access to JAXP's XPath API.
- JAXPXPathEngine() - Constructor for class org.xmlunit.xpath.JAXPXPathEngine
-
Create an XPathEngine that uses JAXP's default XPathFactory with
XPathFactoryConfigurer.Defaultapplied under the covers. - JAXPXPathEngine(XPathFactory) - Constructor for class org.xmlunit.xpath.JAXPXPathEngine
-
Create an XPathEngine that uses a custom XPathFactory.
L
- Languages - Class in org.xmlunit.validation
-
Constants for the languages supported by XMLUnit's schema validation.
- Linqy - Class in org.xmlunit.util
-
A couple of (functional) sequence processing constructs.
M
- map(Iterable<F>, Mapper<? super F, T>) - Static method in class org.xmlunit.util.Linqy
-
Create a new iterable by applying a mapper function to each element of a given sequence.
- Mapper<F,T> - Interface in org.xmlunit.util
-
A function mapping from one type to another.
- match(Iterable<Node>, Iterable<Node>) - Method in class org.xmlunit.diff.DefaultNodeMatcher
- match(Iterable<Node>, Iterable<Node>) - Method in interface org.xmlunit.diff.NodeMatcher
-
Matches control and test nodes against each other, returns the matching pairs.
- MultiLevelByNameAndTextSelector - Class in org.xmlunit.diff
-
ElementSelectorthat allows two elements to be compared if their name (including namespace URI, if any) and textual content is the same at a certain level of nesting. - MultiLevelByNameAndTextSelector(int) - Constructor for class org.xmlunit.diff.MultiLevelByNameAndTextSelector
-
Uses element names and the text nested
levelschild elements deeper into the element to compare elements. - MultiLevelByNameAndTextSelector(int, boolean) - Constructor for class org.xmlunit.diff.MultiLevelByNameAndTextSelector
-
Uses element names and the text nested
levelschild elements deeper into the element to compare elements.
N
- NAMESPACE_PREFIX - org.xmlunit.diff.ComparisonType
-
Compare the node's namespace prefixes.
- NAMESPACE_URI - org.xmlunit.diff.ComparisonType
-
Compare the node's namespace URIs.
- navigateToAttribute(QName) - Method in class org.xmlunit.diff.XPathContext
-
Moves from the current node to the given attribute.
- navigateToChild(int) - Method in class org.xmlunit.diff.XPathContext
-
Moves from the current node to the given child node.
- navigateToParent() - Method in class org.xmlunit.diff.XPathContext
-
Moves back to the parent.
- NO_NAMESPACE_SCHEMA_LOCATION - org.xmlunit.diff.ComparisonType
-
Check whether both documents provide the same values for xsi:noNamspaceSchemaLocation (may even be null).
- NODE_TYPE - org.xmlunit.diff.ComparisonType
-
Compare the node types.
- NodeFilters - Class in org.xmlunit.diff
-
Common NodeFilter implementations.
- NodeMatcher - Interface in org.xmlunit.diff
-
Strategy that matches control and tests nodes for comparison.
- Nodes - Class in org.xmlunit.util
-
Utility algorithms that work on DOM nodes.
- nodeType(short) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
-
Provides a display text for the constant values of the
Nodeclass that represent node types. - NoDtdButExtensionFunctions - Static variable in class org.xmlunit.util.TransformerFactoryConfigurer
-
The instance which disables DTD loading but still allows loading of external stylesheets and extension functions.
- NoExternalAccess - Static variable in class org.xmlunit.util.TransformerFactoryConfigurer
-
The instance which disables DTD loading as well as loading of external stylesheets or extension functions.
- NoExternalAccessButExtensionFunctions - Static variable in class org.xmlunit.util.TransformerFactoryConfigurer
-
The instance which disables DTD loading as well as loading of external stylesheets but allows extension functions.
- NormalizedSource - Class in org.xmlunit.input
-
Performs XML normalization on a given Source, Document or Node.
- NormalizedSource() - Constructor for class org.xmlunit.input.NormalizedSource
-
An empty source.
- NormalizedSource(Source) - Constructor for class org.xmlunit.input.NormalizedSource
-
Creates a new source that is created by "normalizing" the given source.
- NormalizedSource(Document) - Constructor for class org.xmlunit.input.NormalizedSource
-
Creates a new source that is created by "normalizing" the given document.
- NormalizedSource(Document, String) - Constructor for class org.xmlunit.input.NormalizedSource
-
Creates a new source that is created by "normalizing" the given document.
- NormalizedSource(Node) - Constructor for class org.xmlunit.input.NormalizedSource
-
Creates a new source that is created by "normalizing" the given node.
- NormalizedSource(Node, String) - Constructor for class org.xmlunit.input.NormalizedSource
-
Creates a new source that is created by "normalizing" the given node.
- normalizeWhitespace() - Method in class org.xmlunit.builder.DiffBuilder
-
Normalize Text-Elements by removing all empty text nodes and normalizing the non-empty ones.
- normalizeWhitespace(Node) - Static method in class org.xmlunit.util.Nodes
-
Creates a new Node (of the same type as the original node) that is similar to the orginal but doesn't contain any empty text or CDATA nodes and where all textual content including attribute values or comments are trimmed and normalized.
- not(ElementSelector) - Static method in class org.xmlunit.diff.ElementSelectors
-
Negates another ElementSelector.
O
- OngoingComparisonState() - Constructor for class org.xmlunit.diff.AbstractDifferenceEngine.OngoingComparisonState
-
Creates an OngoingComparisonState with outcome
ComparisonResult.EQUAL. - OngoingComparisonState(ComparisonResult) - Constructor for class org.xmlunit.diff.AbstractDifferenceEngine.OngoingComparisonState
-
Creates an OngoingComparisonState.
- or(ElementSelector...) - Static method in class org.xmlunit.diff.ElementSelectors
-
Accepts two elements if at least one of the given ElementSelectors does.
- org.xmlunit - package org.xmlunit
-
XMLUnit helps testing code that creates XML.
- org.xmlunit.builder - package org.xmlunit.builder
-
Provides fluent builders for core parts of XMLUnit.
- org.xmlunit.builder.javax_jaxb - package org.xmlunit.builder.javax_jaxb
-
This package contains the JAXB builder using the
javax.xml.bindpackage. - org.xmlunit.diff - package org.xmlunit.diff
-
Contains XMLUnit
DifferenceEnginethat is at the heart of all comparisons as well as supporting interfaces and implementations. - org.xmlunit.input - package org.xmlunit.input
-
Some useful
Sourceimplementations. - org.xmlunit.transform - package org.xmlunit.transform
-
XSLT convenience layer.
- org.xmlunit.util - package org.xmlunit.util
-
Internal utilities hiding the differences between .NET and Java implementations.
- org.xmlunit.validation - package org.xmlunit.validation
-
Validation of XML documents and schemas.
- org.xmlunit.xpath - package org.xmlunit.xpath
-
XPath convenience layer.
P
- ParsingValidator - Class in org.xmlunit.validation
-
Validator implementation that uses "the old way" of validating an XML input by parsing the input.
- ParsingValidator(String) - Constructor for class org.xmlunit.validation.ParsingValidator
-
Creates a validator for the given schema language.
- Predicate<T> - Interface in org.xmlunit.util
-
A function that tests an object for a property.
- PROCESSING_INSTRUCTION_DATA - org.xmlunit.diff.ComparisonType
-
Compare data of processing instructions.
- PROCESSING_INSTRUCTION_TARGET - org.xmlunit.diff.ComparisonType
-
Compare targets of processing instructions.
R
- RecursiveXPathBuilder - Class in org.xmlunit.diff
-
Finds the XPathContext of a Node by recursively building up the XPathContext.
- RecursiveXPathBuilder() - Constructor for class org.xmlunit.diff.RecursiveXPathBuilder
- RELAXNG_NS_URI - Static variable in class org.xmlunit.validation.Languages
-
RELAX NG
S
- satifiesAll(Predicate<Node>...) - Static method in class org.xmlunit.diff.NodeFilters
-
Accepts nodes that are accepted by all given filters.
- satifiesAny(Predicate<Node>...) - Static method in class org.xmlunit.diff.NodeFilters
-
Accepts nodes that are accepted by at least on of the given filters.
- SCHEMA_LOCATION - org.xmlunit.diff.ComparisonType
-
Check whether both documents provide the same values for xsi:schemaLocation (may even be null).
- SecureProcessing - Static variable in class org.xmlunit.util.TransformerFactoryConfigurer
-
The instance which enables secure processing thus disables all external access as well as execution of extension functions.
- SecureProcessing - Static variable in class org.xmlunit.util.XPathFactoryConfigurer
-
The instance which enables secure processing thus disables execution of extension functions.
- selectNodes(String, Source) - Method in class org.xmlunit.xpath.JAXPXPathEngine
-
Returns a potentially empty collection of Nodes matching an XPath expression.
- selectNodes(String, Source) - Method in interface org.xmlunit.xpath.XPathEngine
-
Returns a potentially empty collection of Nodes matching an XPath expression.
- selectNodes(String, Node) - Method in class org.xmlunit.xpath.JAXPXPathEngine
-
Returns a potentially empty collection of Nodes matching an XPath expression.
- selectNodes(String, Node) - Method in interface org.xmlunit.xpath.XPathEngine
-
Returns a potentially empty collection of Nodes matching an XPath expression.
- selectorForElementNamed(String, ElementSelector) - Static method in class org.xmlunit.diff.ElementSelectors
-
Applies the wrapped ElementSelector's logic if and only if the control element has the given (local) name.
- selectorForElementNamed(QName, ElementSelector) - Static method in class org.xmlunit.diff.ElementSelectors
-
Applies the wrapped ElementSelector's logic if and only if the control element has the given name.
- setAttributeFilter(Predicate<Attr>) - Method in class org.xmlunit.diff.AbstractDifferenceEngine
- setAttributeFilter(Predicate<Attr>) - Method in interface org.xmlunit.diff.DifferenceEngine
-
Sets the optional strategy that decides which attributes to consider and which to ignore during comparison.
- setChildren(Iterable<? extends XPathContext.NodeInfo>) - Method in class org.xmlunit.diff.XPathContext
-
Adds knowledge about the current node's children replacing existing knowledge.
- setComparisonController(ComparisonController) - Method in class org.xmlunit.diff.AbstractDifferenceEngine
- setComparisonController(ComparisonController) - Method in interface org.xmlunit.diff.DifferenceEngine
-
Determines whether the comparison should stop after given difference has been found.
- setComparisonFormatter(ComparisonFormatter) - Method in class org.xmlunit.diff.Difference
-
Sets the default formatter to use with
Difference.toString(org.xmlunit.diff.ComparisonFormatter). - setDifferenceEvaluator(DifferenceEvaluator) - Method in class org.xmlunit.diff.AbstractDifferenceEngine
- setDifferenceEvaluator(DifferenceEvaluator) - Method in interface org.xmlunit.diff.DifferenceEngine
-
Evaluates the severity of a difference.
- setDocumentBuilderFactory(DocumentBuilderFactory) - Method in class org.xmlunit.diff.DOMDifferenceEngine
-
Deprecated.use the one-arg constructor instead
- setErrorListener(ErrorListener) - Method in class org.xmlunit.transform.Transformation
-
Set the error listener for the transformation.
- setFactory(TransformerFactory) - Method in class org.xmlunit.transform.Transformation
-
Set the TraX factory to use.
- setNamespaceContext(Map<String, String>) - Method in class org.xmlunit.diff.AbstractDifferenceEngine
- setNamespaceContext(Map<String, String>) - Method in interface org.xmlunit.diff.DifferenceEngine
-
Establish a namespace context that will be used in
Comparison.Detail#getXPath. - setNamespaceContext(Map<String, String>) - Method in class org.xmlunit.diff.RecursiveXPathBuilder
-
Establish a namespace context that will be used in for the XPath.
- setNamespaceContext(Map<String, String>) - Method in class org.xmlunit.xpath.JAXPXPathEngine
-
Establish a namespace context.
- setNamespaceContext(Map<String, String>) - Method in interface org.xmlunit.xpath.XPathEngine
-
Establish a namespace context.
- setNode(Node) - Method in class org.xmlunit.input.NormalizedSource
- setNodeFilter(Predicate<Node>) - Method in class org.xmlunit.diff.AbstractDifferenceEngine
- setNodeFilter(Predicate<Node>) - Method in interface org.xmlunit.diff.DifferenceEngine
-
Sets the optional strategy that decides which nodes to consider and which to ignore during comparison.
- setNodeMatcher(NodeMatcher) - Method in class org.xmlunit.diff.AbstractDifferenceEngine
- setNodeMatcher(NodeMatcher) - Method in interface org.xmlunit.diff.DifferenceEngine
-
Sets the strategy for selecting nodes to compare.
- setSchema(Schema) - Method in class org.xmlunit.validation.JAXPValidator
-
Sets the schema to use in instance validation directly rather than via
Validator.setSchemaSource(javax.xml.transform.Source). - setSchemaSource(Source) - Method in class org.xmlunit.validation.Validator
-
Where to find the schema.
- setSchemaSources(Source...) - Method in class org.xmlunit.validation.Validator
-
Where to find the schema.
- setSchemaURI(String) - Method in class org.xmlunit.validation.ParsingValidator
-
The URI (or for example the System ID in case of a DTD) that identifies the schema to validate or use during validation.
- setSource(Source) - Method in class org.xmlunit.transform.Transformation
-
Set the source document to transform.
- setStylesheet(Source) - Method in class org.xmlunit.transform.Transformation
-
Set the stylesheet to use.
- setTransformerFactory(TransformerFactory) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
-
Set the TraX factory to use.
- setURIResolver(URIResolver) - Method in class org.xmlunit.transform.Transformation
-
Set the resolver to use for document() and xsl:include/import
- SIMILAR - org.xmlunit.diff.ComparisonResult
-
The two nodes are different but similar enough to satisfy a weak equality constraint
- singleton(E) - Static method in class org.xmlunit.util.Linqy
-
An iterable containing a single element.
- source(Source) - Static method in class org.xmlunit.builder.Transform
-
Build a transformation for a source document.
- stopDiffing(Difference) - Method in interface org.xmlunit.diff.ComparisonController
-
May instruct the difference engine to stop the whole comparison process.
- StopWhenDifferent - Static variable in class org.xmlunit.diff.ComparisonControllers
-
Makes the comparison stop as soon as the first "real" difference is encountered.
- StopWhenSimilar - Static variable in class org.xmlunit.diff.ComparisonControllers
-
Makes the comparison stop as soon as the first difference is encountered even if it is similar.
- stripElementContentWhitespace(Node) - Static method in class org.xmlunit.util.Nodes
-
Creates a new Node (of the same type as the original node) that is similar to the orginal but doesn't contain any text or CDATA nodes that only consist of whitespace.
- stripWhitespace(Node) - Static method in class org.xmlunit.util.Nodes
-
Creates a new Node (of the same type as the original node) that is similar to the orginal but doesn't contain any empty text or CDATA nodes and where all textual content including attribute values or comments are trimmed.
- STYLE - Static variable in class org.xmlunit.input.CommentLessSource
-
Stylesheet used to strip all comments from an XML document.
T
- test(Object) - Method in class org.xmlunit.util.IsNullPredicate
- test(T) - Method in interface org.xmlunit.util.Predicate
-
Performs the test.
- TEXT_VALUE - org.xmlunit.diff.ComparisonType
-
Compare content of text nodes, comments and CDATA sections.
- thenUse(ElementSelector) - Method in interface org.xmlunit.diff.ElementSelectors.ConditionalSelectorBuilderThen
-
Specifies the ElementSelector to use when the condition holds true.
- to(Result) - Method in interface org.xmlunit.builder.Transform.TransformationResult
-
Output the result to a TraX Result.
- toDocument() - Method in interface org.xmlunit.builder.Transform.TransformationResult
-
Output the result to a DOM Document.
- toDocument(Source) - Static method in class org.xmlunit.util.Convert
-
Creates a DOM Document from a TraX Source.
- toDocument(Source, DocumentBuilderFactory) - Static method in class org.xmlunit.util.Convert
-
Creates a DOM Document from a TraX Source.
- toInputSource(Source) - Static method in class org.xmlunit.util.Convert
-
Creates a SAX InputSource from a TraX Source.
- toInputSource(Source, TransformerFactory) - Static method in class org.xmlunit.util.Convert
-
Creates a SAX InputSource from a TraX Source.
- toNamespaceContext(Map<String, String>) - Static method in class org.xmlunit.util.Convert
-
Creates a JAXP NamespaceContext from a Map prefix => Namespace URI.
- toNode(Source) - Static method in class org.xmlunit.util.Convert
-
Creates a DOM Node from a TraX Source.
- toNode(Source, DocumentBuilderFactory) - Static method in class org.xmlunit.util.Convert
-
Creates a DOM Node from a TraX Source.
- toString() - Method in interface org.xmlunit.builder.Transform.TransformationResult
-
Output the result to a String.
- toString() - Method in class org.xmlunit.diff.AbstractDifferenceEngine.ComparisonState
- toString() - Method in class org.xmlunit.diff.Comparison
-
Returns a string representation of this comparison using
DefaultComparisonFormatter - toString() - Method in class org.xmlunit.diff.Diff
-
Returns a string representation of first found difference in this diff using internal
ComparisonFormatterorDefaultComparisonFormatterif formatter wasn't set - toString() - Method in class org.xmlunit.diff.Difference
-
Returns a string representation of this difference using
DefaultComparisonFormatter - toString() - Method in class org.xmlunit.validation.ValidationProblem
- toString(ComparisonFormatter) - Method in class org.xmlunit.diff.Comparison
-
Returns a string representation of this comparison using the given
ComparisonFormatter - toString(ComparisonFormatter) - Method in class org.xmlunit.diff.Diff
-
Returns a string representation of first found difference in this diff using the given
ComparisonFormatter - toString(ComparisonFormatter) - Method in class org.xmlunit.diff.Difference
-
Returns a string representation of this difference using the given
ComparisonFormatter - Transform - Class in org.xmlunit.builder
-
Fluent API access to
Transformation. - Transform.Builder - Interface in org.xmlunit.builder
-
Builder for XSLT transformations.
- Transform.TransformationResult - Interface in org.xmlunit.builder
-
Provides different options to obtain the result of an XSLT transformation.
- Transformation - Class in org.xmlunit.transform
-
Provides a convenience layer over TraX.
- Transformation() - Constructor for class org.xmlunit.transform.Transformation
-
Creates an empty transformation.
- Transformation(Source) - Constructor for class org.xmlunit.transform.Transformation
- TransformationBuilderBase<B extends TransformationBuilderBase<B>> - Interface in org.xmlunit.builder
-
Holds the common builder methods for XSLT related builders.
- TransformerFactoryConfigurer - Class in org.xmlunit.util
-
Configures TransformerFactories.
- TransformerFactoryConfigurer.Builder - Class in org.xmlunit.util
-
Builder for a TransformerFactoryConfigurer.
- transformTo(Result) - Method in class org.xmlunit.transform.Transformation
-
Perform the transformation.
- transformToDocument() - Method in class org.xmlunit.transform.Transformation
-
Convenience method that returns the result of the transformation as a Document.
- transformToString() - Method in class org.xmlunit.transform.Transformation
-
Convenience method that returns the result of the transformation as a String.
U
- UNKNOWN - Static variable in class org.xmlunit.validation.ValidationProblem
-
Constant used for unknown location information.
- upgradeDifferencesToDifferent(ComparisonType...) - Static method in class org.xmlunit.diff.DifferenceEvaluators
-
Creates a DifferenceEvaluator that returns a DIFFERENT result for differences (Comparisons that are not EQUAL) found in one of the given ComparisonTypes.
- useObjectFactory() - Method in class org.xmlunit.builder.JaxbBuilder
-
Whether the given Object has no
XmlRootElementannotation and is not an instants ofJAXBElementit must be wrapped by aJAXBElement. - usingFactory(TransformerFactory) - Method in interface org.xmlunit.builder.TransformationBuilderBase
-
sets the TraX factory to use.
V
- validateInstance(Source) - Method in class org.xmlunit.validation.JAXPValidator
- validateInstance(Source) - Method in class org.xmlunit.validation.ParsingValidator
- validateInstance(Source) - Method in class org.xmlunit.validation.Validator
-
Validates an instance against the schema.
- validateInstance(Source, SAXParserFactory) - Method in class org.xmlunit.validation.ParsingValidator
-
Validates an instance against the schema using a pre-configured
SAXParserFactory. - validateSchema() - Method in class org.xmlunit.validation.JAXPValidator
- validateSchema() - Method in class org.xmlunit.validation.ParsingValidator
-
ParsingValidatordoesn't support validation of the schema itself. - validateSchema() - Method in class org.xmlunit.validation.Validator
-
Validates a schema.
- ValidationProblem - Class in org.xmlunit.validation
-
A validation "problem" which may be an error or a warning.
- ValidationProblem(String, int, int, ValidationProblem.ProblemType) - Constructor for class org.xmlunit.validation.ValidationProblem
-
Creates a ValidationProblem for the given message and location of the given type.
- ValidationProblem.ProblemType - Enum in org.xmlunit.validation
-
The type of validation problem encountered.
- ValidationResult - Class in org.xmlunit.validation
-
The result of a validation.
- ValidationResult(boolean, Iterable<ValidationProblem>) - Constructor for class org.xmlunit.validation.ValidationResult
-
Creates a result based on a valid flag and an Iterable of iteration problems.
- Validator - Class in org.xmlunit.validation
-
Validates a piece of XML against a schema given in a supported language or the definition of such a schema itself.
- Validator() - Constructor for class org.xmlunit.validation.Validator
-
Creates a validator.
- valueOf(String) - Static method in enum org.xmlunit.diff.ComparisonResult
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.xmlunit.diff.ComparisonType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.xmlunit.validation.ValidationProblem.ProblemType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.xmlunit.diff.ComparisonResult
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.xmlunit.diff.ComparisonType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.xmlunit.validation.ValidationProblem.ProblemType
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- W3C_XML_SCHEMA_NS_URI - Static variable in class org.xmlunit.validation.Languages
-
W3C XML Schema.
- WARNING - org.xmlunit.validation.ValidationProblem.ProblemType
-
The problem is a a warning only.
- when(Predicate<? super Element>) - Method in interface org.xmlunit.diff.ElementSelectors.ConditionalSelectorBuilder
-
Sets up a conditional ElementSelector.
- whenElementIsNamed(String) - Method in interface org.xmlunit.diff.ElementSelectors.ConditionalSelectorBuilder
-
Sets up a conditional ElementSelector.
- whenElementIsNamed(QName) - Method in interface org.xmlunit.diff.ElementSelectors.ConditionalSelectorBuilder
-
Sets up a conditional ElementSelector.
- WhitespaceNormalizedSource - Class in org.xmlunit.input
-
A source that is obtained from a different source by removing all empty text nodes and normalizing the non-empty ones.
- WhitespaceNormalizedSource(Source) - Constructor for class org.xmlunit.input.WhitespaceNormalizedSource
-
Creates a new source that consists of the given source with all whitespace characters replaced by spaces and consecutive whitespace characters collapsed.
- WhitespaceNormalizedSource(Source, DocumentBuilderFactory) - Constructor for class org.xmlunit.input.WhitespaceNormalizedSource
-
Creates a new source that consists of the given source with all whitespace characters replaced by spaces and consecutive whitespace characters collapsed.
- WhitespaceStrippedSource - Class in org.xmlunit.input
-
A source that is obtained from a different source by removing all empty text nodes and trimming the non-empty ones.
- WhitespaceStrippedSource(Source) - Constructor for class org.xmlunit.input.WhitespaceStrippedSource
-
Creates a new source that consists of the given source with all empty text nodes removed and all non-empty text nodes trimmed.
- WhitespaceStrippedSource(Source, DocumentBuilderFactory) - Constructor for class org.xmlunit.input.WhitespaceStrippedSource
-
Creates a new source that consists of the given source with all empty text nodes removed and all non-empty text nodes trimmed.
- withAttribute(String, Object) - Method in class org.xmlunit.util.DocumentBuilderFactoryConfigurer.Builder
-
Configures the factory with the given attribute, causes an exception in
DocumentBuilderFactoryConfigurer.configure(javax.xml.parsers.DocumentBuilderFactory)if the attribute is not supported. - withAttribute(String, Object) - Method in class org.xmlunit.util.TransformerFactoryConfigurer.Builder
-
Configures the factory with the given attribute, causes an exception in
TransformerFactoryConfigurer.configure(javax.xml.transform.TransformerFactory)if the attribute is not supported. - withAttributeFilter(Predicate<Attr>) - Method in class org.xmlunit.builder.DiffBuilder
-
Registers a filter for attributes.
- withAttributeFilter(Predicate<Attr>) - Method in interface org.xmlunit.builder.DifferenceEngineConfigurer
-
Registers a filter for attributes.
- withComparisonController(ComparisonController) - Method in class org.xmlunit.builder.DiffBuilder
-
Replace the
ComparisonControllers.Defaultwith your own ComparisonController. - withComparisonController(ComparisonController) - Method in interface org.xmlunit.builder.DifferenceEngineConfigurer
-
Replace the
ComparisonControllers.Defaultwith your own ComparisonController. - withComparisonFormatter(ComparisonFormatter) - Method in class org.xmlunit.builder.DiffBuilder
-
Sets a non-default formatter for the differences found.
- withComparisonFormatter(ComparisonFormatter) - Method in interface org.xmlunit.builder.DifferenceEngineConfigurer
-
Sets a non-default formatter for the differences found.
- withComparisonListeners(ComparisonListener...) - Method in class org.xmlunit.builder.DiffBuilder
-
Registers listeners that are notified of each comparison.
- withComparisonListeners(ComparisonListener...) - Method in interface org.xmlunit.builder.DifferenceEngineConfigurer
-
Registers listeners that are notified of each comparison.
- withDifferenceEvaluator(DifferenceEvaluator) - Method in class org.xmlunit.builder.DiffBuilder
-
Provide your own custom
DifferenceEvaluatorimplementation. - withDifferenceEvaluator(DifferenceEvaluator) - Method in interface org.xmlunit.builder.DifferenceEngineConfigurer
-
Provide your own custom
DifferenceEvaluatorimplementation. - withDifferenceListeners(ComparisonListener...) - Method in class org.xmlunit.builder.DiffBuilder
-
Registers listeners that are notified of each comparison with outcome other than
ComparisonResult.EQUAL. - withDifferenceListeners(ComparisonListener...) - Method in interface org.xmlunit.builder.DifferenceEngineConfigurer
-
Registers listeners that are notified of each comparison with outcome other than
ComparisonResult.EQUAL. - withDocumentBuilderFactory(DocumentBuilderFactory) - Method in class org.xmlunit.builder.DiffBuilder
- withDTDLoadingDisabled() - Method in class org.xmlunit.util.DocumentBuilderFactoryConfigurer.Builder
-
Configures the factory to not load any external DTDs.
- withDTDLoadingDisabled() - Method in class org.xmlunit.util.TransformerFactoryConfigurer.Builder
-
Configures the factory to not load any external DTDs.
- withDTDParsingDisabled() - Method in class org.xmlunit.util.DocumentBuilderFactoryConfigurer.Builder
-
Configures the factory to not parse any DTDs.
- withExpandEntityReferences(boolean) - Method in class org.xmlunit.util.DocumentBuilderFactoryConfigurer.Builder
-
Configure whether the factory's expands entity references.
- withExtensionFunctionsDisabled() - Method in class org.xmlunit.util.TransformerFactoryConfigurer.Builder
-
Configures the factory to not enable extension functions.
- withExtensionFunctionsDisabled() - Method in class org.xmlunit.util.XPathFactoryConfigurer.Builder
-
Configures the factory to not enable extension functions.
- withExternalStylesheetLoadingDisabled() - Method in class org.xmlunit.util.TransformerFactoryConfigurer.Builder
-
Configures the factory to not parse any DTDs.
- withFeature(String, boolean) - Method in class org.xmlunit.util.DocumentBuilderFactoryConfigurer.Builder
-
Configures the factory with the given feature, causes an exception in
DocumentBuilderFactoryConfigurer.configure(javax.xml.parsers.DocumentBuilderFactory)if the feature is not supported. - withFeature(String, boolean) - Method in class org.xmlunit.util.TransformerFactoryConfigurer.Builder
-
Configures the factory with the given feature, causes an exception in
TransformerFactoryConfigurer.configure(javax.xml.transform.TransformerFactory)if the feature is not supported. - withFeature(String, boolean) - Method in class org.xmlunit.util.XPathFactoryConfigurer.Builder
-
Configures the factory with the given feature, causes an exception in
XPathFactoryConfigurer.configure(javax.xml.xpath.XPathFactory)if the feature is not supported. - withMarshaller(Object) - Method in class org.xmlunit.builder.JaxbBuilder
-
Sets a non-default
Marshallerto use when creating theSource. - withNamespaceContext(Map<String, String>) - Method in class org.xmlunit.builder.DiffBuilder
-
Establish a namespace context that will be used in
Comparison.Detail#getXPath. - withNamespaceContext(Map<String, String>) - Method in interface org.xmlunit.builder.DifferenceEngineConfigurer
-
Establish a namespace context that will be used in
Comparison.Detail#getXPath. - withNodeFilter(Predicate<Node>) - Method in class org.xmlunit.builder.DiffBuilder
-
Registers a filter for nodes.
- withNodeFilter(Predicate<Node>) - Method in interface org.xmlunit.builder.DifferenceEngineConfigurer
-
Registers a filter for nodes.
- withNodeMatcher(NodeMatcher) - Method in class org.xmlunit.builder.DiffBuilder
-
Sets the strategy for selecting nodes to compare.
- withNodeMatcher(NodeMatcher) - Method in interface org.xmlunit.builder.DifferenceEngineConfigurer
-
Sets the strategy for selecting nodes to compare.
- withOutputProperty(String, String) - Method in interface org.xmlunit.builder.TransformationBuilderBase
-
Adds an output property.
- withParameter(String, Object) - Method in interface org.xmlunit.builder.TransformationBuilderBase
-
Adds a parameter.
- withProperty(String, String) - Method in class org.xmlunit.util.XPathFactoryConfigurer.Builder
-
Configures the factory with the given property, causes an exception in
XPathFactoryConfigurer.configure(javax.xml.xpath.XPathFactory)if the property is not supported. - withSafeAttribute(String, Object) - Method in class org.xmlunit.util.DocumentBuilderFactoryConfigurer.Builder
-
Configures the factory with the given attribute if it is supported.
- withSafeAttribute(String, Object) - Method in class org.xmlunit.util.TransformerFactoryConfigurer.Builder
-
Configures the factory with the given attribute if it is supported.
- withSafeFeature(String, boolean) - Method in class org.xmlunit.util.DocumentBuilderFactoryConfigurer.Builder
-
Configures the factory with the given feature if it is supported.
- withSafeFeature(String, boolean) - Method in class org.xmlunit.util.TransformerFactoryConfigurer.Builder
-
Configures the factory with the given feature if it is supported.
- withSafeFeature(String, boolean) - Method in class org.xmlunit.util.XPathFactoryConfigurer.Builder
-
Configures the factory with the given feature if it is supported.
- withSafeProperty(String, String) - Method in class org.xmlunit.util.XPathFactoryConfigurer.Builder
-
Configures the factory with the given property if it is supported.
- withSecureProcessingEnabled() - Method in class org.xmlunit.util.TransformerFactoryConfigurer.Builder
-
Configures the factory to enable secure processing which disables all external access as well as execution of extension functions.
- withSecureProcessingEnabled() - Method in class org.xmlunit.util.XPathFactoryConfigurer.Builder
-
Configures the factory to enable secure processing which disables all external access as well as execution of extension functions.
- withStylesheet(Source) - Method in interface org.xmlunit.builder.TransformationBuilderBase
-
Sets the stylesheet to use.
- withStylesheet(Input.Builder) - Method in interface org.xmlunit.builder.Input.TransformationBuilder
-
Sets the stylesheet to use.
- withTest(Object) - Method in class org.xmlunit.builder.DiffBuilder
-
Set the Test-Source from all kind of types supported by
Input.from(Object). - withURIResolver(URIResolver) - Method in interface org.xmlunit.builder.TransformationBuilderBase
-
Sets the resolver to use for the document() function and xsi:import/include.
- withXIncludeAware(boolean) - Method in class org.xmlunit.util.DocumentBuilderFactoryConfigurer.Builder
-
Configure the factory's XInclude awareness.
X
- XML_DTD_NS_URI - Static variable in class org.xmlunit.validation.Languages
-
DTD
- XML_ENCODING - org.xmlunit.diff.ComparisonType
-
Do both documents specify the same encoding in their XML declaration?
- XML_STANDALONE - org.xmlunit.diff.ComparisonType
-
Do both documents specify the same standalone declaration in their XML declaration?
- XML_VERSION - org.xmlunit.diff.ComparisonType
-
Do both documents specify the same version in their XML declaration?
- XMLUnitException - Exception in org.xmlunit
-
Base class of any Exception thrown within XMLUnit.
- XMLUnitException(String) - Constructor for exception org.xmlunit.XMLUnitException
-
Initializes an exception without cause.
- XMLUnitException(String, Throwable) - Constructor for exception org.xmlunit.XMLUnitException
-
Initializes the exception.
- XMLUnitException(Throwable) - Constructor for exception org.xmlunit.XMLUnitException
-
Initializes an exception using the wrapped exception's message.
- xor(ElementSelector, ElementSelector) - Static method in class org.xmlunit.diff.ElementSelectors
-
Accepts two elements if exactly on of the given ElementSelectors does.
- XPathContext - Class in org.xmlunit.diff
-
Helper class that keeps track of the XPath of matched nodes during comparison.
- XPathContext() - Constructor for class org.xmlunit.diff.XPathContext
-
Starts with an empty context.
- XPathContext(Map<String, String>) - Constructor for class org.xmlunit.diff.XPathContext
-
Starts with an empty context and a given namespace mapping.
- XPathContext(Map<String, String>, Node) - Constructor for class org.xmlunit.diff.XPathContext
-
Starts with the context of an optional root node and an optional namespace mapping.
- XPathContext(Node) - Constructor for class org.xmlunit.diff.XPathContext
-
Starts with the context of a root node.
- XPathContext.DOMNodeInfo - Class in org.xmlunit.diff
-
DOM based implementation of
XPathContext.NodeInfo. - XPathContext.NodeInfo - Interface in org.xmlunit.diff
-
Representation of a node used by
XPathContext. - XPathEngine - Interface in org.xmlunit.xpath
-
Interface for XMLUnit's XPath abstraction.
- XPathFactoryConfigurer - Class in org.xmlunit.util
-
Configures XpathFactories.
- XPathFactoryConfigurer.Builder - Class in org.xmlunit.util
-
Builder for a XPathFactoryConfigurer.
All Classes All Packages