Package | Description |
---|---|
org.xmlunit.builder |
Provides fluent builders for core parts of XMLUnit.
|
Modifier and Type | Interface and Description |
---|---|
static interface |
Input.TransformationBuilder
Builds
Source s by transforming other sources. |
Modifier and Type | Class and Description |
---|---|
class |
JaxbBuilder
Input.Builder for Jaxb-Object and creating a JAXBSource . |
Modifier and Type | Method and Description |
---|---|
static Input.Builder |
Input.from(Object object)
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 ,
Jaxb-Object (marshal-able with JAXB .marshal(...)) |
static Input.Builder |
Input.fromByteArray(byte[] b)
Build a Source from an array of bytes.
|
static Input.Builder |
Input.fromChannel(ReadableByteChannel c)
Build a Source from a channel.
|
static Input.Builder |
Input.fromDocument(Document d)
Build a Source from a DOM Document.
|
static Input.Builder |
Input.fromFile(File f)
Build a Source from a file.
|
static Input.Builder |
Input.fromFile(String name)
Build a Source from a named file.
|
static Input.Builder |
Input.fromNode(Node n)
Build a Source from a DOM Node.
|
static Input.Builder |
Input.fromReader(Reader r)
Build a Source from a reader.
|
static Input.Builder |
Input.fromStream(InputStream s)
Build a Source from a stream.
|
static Input.Builder |
Input.fromString(String s)
Build a Source from a string.
|
static Input.Builder |
Input.fromURI(String uri)
Build a Source from an URI.
|
static Input.Builder |
Input.fromURI(URI uri)
Build a Source from an URI.
|
static Input.Builder |
Input.fromURL(URL url)
Build a Source from an URL.
|
Modifier and Type | Method and Description |
---|---|
static Input.TransformationBuilder |
Input.byTransforming(Input.Builder b)
Build a Source by XSLT transforming a different Source.
|
Input.TransformationBuilder |
Input.TransformationBuilder.withStylesheet(Input.Builder b)
Sets the stylesheet to use.
|
Copyright © 2001–2020 XMLUnit. All rights reserved.