Package | Description |
---|---|
org.custommonkey.xmlunit |
Root of the XMLUnit 1.x compatibility layer.
|
org.custommonkey.xmlunit.jaxp13 |
Modifier and Type | Method and Description |
---|---|
static void |
XMLAssert.assertXMLValid(InputSource xml)
Assert that an InputSource containing XML contains valid XML:
the document must contain a DOCTYPE declaration to be validated
|
void |
XMLTestCase.assertXMLValid(InputSource xml)
Assert that a piece of XML contains valid XML: the input must
contain a DOCTYPE declaration to be validated
|
static void |
XMLAssert.assertXMLValid(InputSource xml,
String systemId)
Assert that an InputSource containing XML contains valid XML:
the document must contain a DOCTYPE to be validated, but the
validation will use the systemId to obtain the DTD
|
void |
XMLTestCase.assertXMLValid(InputSource xml,
String systemId)
Assert that a piece of XML contains valid XML: the document must
contain a DOCTYPE to be validated, but the validation will use the
systemId to obtain the DTD
|
static void |
XMLAssert.assertXMLValid(InputSource xml,
String systemId,
String doctype)
Assert that a piece of XML contains valid XML: the document
will be given a DOCTYPE to be validated with the name and
systemId specified regardless of whether it already contains a
doctype declaration.
|
void |
XMLTestCase.assertXMLValid(InputSource xml,
String systemId,
String doctype)
Assert that a piece of XML contains valid XML: the document
will be given a DOCTYPE to be validated with the name and
systemId specified regardless of whether it already contains a
doctype declaration.
|
static void |
XMLAssert.assertXMLValid(String xmlString)
Assert that a String containing XML contains valid XML: the String must
contain a DOCTYPE declaration to be validated
|
void |
XMLTestCase.assertXMLValid(String xmlString)
Assert that a String containing XML contains valid XML: the String must
contain a DOCTYPE declaration to be validated
|
static void |
XMLAssert.assertXMLValid(String xmlString,
String systemId)
Assert that a String containing XML contains valid XML: the String must
contain a DOCTYPE to be validated, but the validation will use the
systemId to obtain the DTD
|
void |
XMLTestCase.assertXMLValid(String xmlString,
String systemId)
Assert that a String containing XML contains valid XML: the String must
contain a DOCTYPE to be validated, but the validation will use the
systemId to obtain the DTD
|
static void |
XMLAssert.assertXMLValid(String xmlString,
String systemId,
String doctype)
Assert that a String containing XML contains valid XML: the String will
be given a DOCTYPE to be validated with the name and systemId specified
regardless of whether it already contains a doctype declaration.
|
void |
XMLTestCase.assertXMLValid(String xmlString,
String systemId,
String doctype)
Assert that a String containing XML contains valid XML: the String will
be given a DOCTYPE to be validated with the name and systemId specified
regardless of whether it already contains a doctype declaration.
|
String |
SimpleXpathEngine.evaluate(String select,
Document document)
Evaluate the result of executing the specified xpath syntax
select expression on the specified document |
NodeList |
SimpleXpathEngine.getMatchingNodes(String select,
Document document)
Execute the specified xpath syntax
select expression
on the specified document and return the list of nodes (could have
length zero) that match |
protected Document |
SimpleXpathEngine.getXPathResultAsDocument(String select,
Document document)
Execute the copy-of transform and return the resulting Document.
|
protected Node |
SimpleXpathEngine.getXPathResultNode(String select,
Document document)
Testable method to execute the copy-of transform and return the root
node of the resulting Document.
|
static DocumentBuilder |
XMLUnit.newControlParser()
Get the
DocumentBuilder instance used to parse the control
XML in an XMLTestCase. |
static DocumentBuilder |
XMLUnit.newTestParser()
Get the
DocumentBuilder instance used to parse the test XML
in an XMLTestCase. |
Constructor and Description |
---|
Jaxp13XpathEngine() |
Copyright © 2001–2017 XMLUnit. All rights reserved.