static void |
XMLAssert.assertXMLValid(java.lang.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(java.lang.String xmlString,
java.lang.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(java.lang.String xmlString,
java.lang.String systemId,
java.lang.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.
|
static void |
XMLAssert.assertXMLValid(org.xml.sax.InputSource xml) |
Assert that an InputSource containing XML contains valid XML:
the document must contain a DOCTYPE declaration to be validated
|
static void |
XMLAssert.assertXMLValid(org.xml.sax.InputSource xml,
java.lang.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
|
static void |
XMLAssert.assertXMLValid(org.xml.sax.InputSource xml,
java.lang.String systemId,
java.lang.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(java.lang.String xmlString) |
Assert that a String containing XML contains valid XML: the String must
contain a DOCTYPE declaration to be validated
|
void |
XMLTestCase.assertXMLValid(java.lang.String xmlString,
java.lang.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(java.lang.String xmlString,
java.lang.String systemId,
java.lang.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(org.xml.sax.InputSource xml) |
Assert that a piece of XML contains valid XML: the input must
contain a DOCTYPE declaration to be validated
|
void |
XMLTestCase.assertXMLValid(org.xml.sax.InputSource xml,
java.lang.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
|
void |
XMLTestCase.assertXMLValid(org.xml.sax.InputSource xml,
java.lang.String systemId,
java.lang.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.
|
java.lang.String |
SimpleXpathEngine.evaluate(java.lang.String select,
org.w3c.dom.Document document) |
Evaluate the result of executing the specified xpath syntax
select expression on the specified document
|
org.w3c.dom.NodeList |
SimpleXpathEngine.getMatchingNodes(java.lang.String select,
org.w3c.dom.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 org.w3c.dom.Document |
SimpleXpathEngine.getXPathResultAsDocument(java.lang.String select,
org.w3c.dom.Document document) |
Execute the copy-of transform and return the resulting Document.
|
protected org.w3c.dom.Node |
SimpleXpathEngine.getXPathResultNode(java.lang.String select,
org.w3c.dom.Document document) |
Testable method to execute the copy-of transform and return the root
node of the resulting Document.
|
static javax.xml.parsers.DocumentBuilder |
XMLUnit.newControlParser() |
Get the DocumentBuilder instance used to parse the control
XML in an XMLTestCase.
|
static javax.xml.parsers.DocumentBuilder |
XMLUnit.newTestParser() |
Get the DocumentBuilder instance used to parse the test XML
in an XMLTestCase.
|
private void |
SimpleXpathEngine.performTransform(java.lang.String xslt,
org.w3c.dom.Document document,
javax.xml.transform.Result result) |
Perform the actual transformation work required
|