- 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
-
- addDifferenceListener(ComparisonListener) - Method in interface org.xmlunit.diff.DifferenceEngine
-
- addMatchListener(ComparisonListener) - Method in class org.xmlunit.diff.AbstractDifferenceEngine
-
- addMatchListener(ComparisonListener) - Method in class org.xmlunit.diff.ComparisonListenerSupport
-
- addMatchListener(ComparisonListener) - Method in interface org.xmlunit.diff.DifferenceEngine
-
- 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
-
- 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...
- appendDocumentType(StringBuilder, DocumentType) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
-
- appendDocumentXmlDeclaration(StringBuilder, Document) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
-
- appendElement(StringBuilder, Element) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
-
- appendFullDocumentHeader(StringBuilder, Document) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
-
- appendProcessingInstruction(StringBuilder, ProcessingInstruction) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
-
- appendText(StringBuilder, Text) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
-
- appendXPath(StringBuilder, String) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
-
- apply() - Method in interface org.xmlunit.diff.AbstractDifferenceEngine.DeferredComparison
-
Perform the comparison.
- apply(Node) - Method in class org.xmlunit.diff.RecursiveXPathBuilder
-
- apply(F) - Method in interface org.xmlunit.util.Mapper
-
Performs the mapping operation.
- asList(NodeList) - Static method in class org.xmlunit.util.IterableNodeList
-
Turns the NodeList into a list.
- asList(Iterable<E>) - Static method in class org.xmlunit.util.Linqy
-
Turns the iterable into a list.
- build() - Method in class org.xmlunit.builder.DiffBuilder
-
- build() - Method in interface org.xmlunit.builder.Input.Builder
-
build the actual
Source instance.
- 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() - Constructor for class org.xmlunit.util.DocumentBuilderFactoryConfigurer.Builder
-
- builder() - Static method in class org.xmlunit.util.TransformerFactoryConfigurer
-
Creates a builder for TransformerFactoryConfigurers.
- Builder() - Constructor for class org.xmlunit.util.TransformerFactoryConfigurer.Builder
-
- builder() - Static method in class org.xmlunit.util.XPathFactoryConfigurer
-
Creates a builder for XPathFactoryConfigurers.
- 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
-
ElementSelector that 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, 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.
- 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, 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.
- canBeCompared(Element, Element) - Method in class org.xmlunit.diff.ByNameAndTextRecSelector
-
- 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 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.
- 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
-
- 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.
- 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
-
- 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
-
- ComparisonListener - Interface in org.xmlunit.diff
-
Is notified of comparisions and their results.
- ComparisonListenerSupport - Class in org.xmlunit.diff
-
- 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
-
- 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(Throwable) - Constructor for exception org.xmlunit.ConfigurationException
-
Creates a new exception from a cause.
- ConfigurationException(String, Throwable) - Constructor for exception org.xmlunit.ConfigurationException
-
Creates a new exception from a cause and a custom message.
- 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.
- 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
-
- 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
-
- DefaultNodeMatcher() - Constructor for class org.xmlunit.diff.DefaultNodeMatcher
-
- DefaultNodeMatcher(ElementSelector...) - Constructor for class org.xmlunit.diff.DefaultNodeMatcher
-
- DefaultNodeMatcher(DefaultNodeMatcher.NodeTypeMatcher, ElementSelector...) - Constructor for class org.xmlunit.diff.DefaultNodeMatcher
-
- DefaultNodeMatcher.DefaultNodeTypeMatcher - Class in org.xmlunit.diff
-
- 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
Diff instance.
- Difference - Class in org.xmlunit.diff
-
- 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
-
- 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.
- 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
-
- 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.
- 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 with
JAXB.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(URI) - Static method in class org.xmlunit.builder.Input
-
Build a Source from an URI.
- fromURI(String) - 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
-
- fullDescription(ComparisonFormatter) - Method in class org.xmlunit.diff.Diff
-
Returns a string representation of this diff
using the given
ComparisonFormatter
Each comparison result separated by the end of the line.
- 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.
- getChildNodes(Node) - Static method in class org.xmlunit.util.Nodes
-
Helper deals with the getChildNodes implementation of Attr.
- 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(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() - Method in enum org.xmlunit.diff.ComparisonType
-
Provides a description for the comparison type.
- 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
-
- getDetails(Comparison.Detail, ComparisonType, boolean) - Method in class org.xmlunit.diff.DefaultComparisonFormatter
-
- 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(XPathContext) - Static method in class org.xmlunit.diff.AbstractDifferenceEngine
-
Returns a string representation of the given XPathContext's parent context.
- 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.
- 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
-
- 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 XmlRootElement annotation and is not an instants of JAXBElement it
must be wrapped by a JAXBElement.
- 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
-
- getXPath(XPathContext) - Static method in class org.xmlunit.diff.AbstractDifferenceEngine
-
Returns a string representation of the given XPathContext.
- 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.
- 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.
- 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
Node class 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.
- 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.
- 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, Node) - 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 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
-
- 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
-
- 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
-
- 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
-
- 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
The resolver will not be attached to the factory.
- 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.
- test(Object) - Method in class org.xmlunit.util.IsNullPredicate
-
- test(T) - Method in interface org.xmlunit.util.Predicate
-
Performs the test.
- 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(ComparisonFormatter) - Method in class org.xmlunit.diff.Comparison
-
- toString() - Method in class org.xmlunit.diff.Comparison
-
- toString() - Method in class org.xmlunit.diff.Diff
-
- 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
-
- toString() - Method in class org.xmlunit.diff.Difference
-
- toString() - Method in class org.xmlunit.validation.ValidationProblem
- Transform - Class in org.xmlunit.builder
-
- 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.
- validateInstance(Source) - Method in class org.xmlunit.validation.JAXPValidator
-
- validateInstance(Source) - Method in class org.xmlunit.validation.ParsingValidator
-
- validateInstance(Source, SAXParserFactory) - Method in class org.xmlunit.validation.ParsingValidator
-
Validates an instance against the schema using a pre-configured
SAXParserFactory.
- validateInstance(Source) - Method in class org.xmlunit.validation.Validator
-
Validates an instance against the schema.
- validateSchema() - Method in class org.xmlunit.validation.JAXPValidator
-
- validateSchema() - Method in class org.xmlunit.validation.ParsingValidator
-
- 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.
- W3C_XML_SCHEMA_NS_URI - Static variable in class org.xmlunit.validation.Languages
-
W3C XML Schema.
- 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
-
- withAttribute(String, Object) - Method in class org.xmlunit.util.TransformerFactoryConfigurer.Builder
-
- 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
-
- withComparisonController(ComparisonController) - Method in interface org.xmlunit.builder.DifferenceEngineConfigurer
-
- 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
-
- withDifferenceEvaluator(DifferenceEvaluator) - Method in interface org.xmlunit.builder.DifferenceEngineConfigurer
-
- withDifferenceListeners(ComparisonListener...) - Method in class org.xmlunit.builder.DiffBuilder
-
- withDifferenceListeners(ComparisonListener...) - Method in interface org.xmlunit.builder.DifferenceEngineConfigurer
-
- 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
-
- withFeature(String, boolean) - Method in class org.xmlunit.util.TransformerFactoryConfigurer.Builder
-
- withFeature(String, boolean) - Method in class org.xmlunit.util.XPathFactoryConfigurer.Builder
-
- withMarshaller(Object) - Method in class org.xmlunit.builder.JaxbBuilder
-
Sets a non-default
Marshaller to use when creating the
Source.
- withNamespaceContext(Map<String, String>) - Method in class org.xmlunit.builder.DiffBuilder
-
- withNamespaceContext(Map<String, String>) - Method in interface org.xmlunit.builder.DifferenceEngineConfigurer
-
- 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
-
- 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(Input.Builder) - Method in interface org.xmlunit.builder.Input.TransformationBuilder
-
Sets the stylesheet to use.
- withStylesheet(Source) - Method in interface org.xmlunit.builder.TransformationBuilderBase
-
Sets the stylesheet to use.
- withTest(Object) - Method in class org.xmlunit.builder.DiffBuilder
-
- 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.