Package org.xmlunit.builder
Class Transform.TransformationBuilder
- java.lang.Object
-
- org.xmlunit.builder.AbstractTransformationBuilder<Transform.Builder>
-
- org.xmlunit.builder.Transform.TransformationBuilder
-
- All Implemented Interfaces:
Transform.Builder
,Transform.TransformationResult
,TransformationBuilderBase<Transform.Builder>
- Enclosing class:
- Transform
private static class Transform.TransformationBuilder extends AbstractTransformationBuilder<Transform.Builder> implements Transform.Builder, Transform.TransformationResult
-
-
Constructor Summary
Constructors Modifier Constructor Description private
TransformationBuilder(javax.xml.transform.Source s)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Transform.TransformationResult
build()
Create the result of the transformation.void
to(javax.xml.transform.Result r)
Output the result to a TraX Result.org.w3c.dom.Document
toDocument()
Output the result to a DOM Document.java.lang.String
toString()
Output the result to a String.-
Methods inherited from class org.xmlunit.builder.AbstractTransformationBuilder
getHelper, usingFactory, withOutputProperty, withParameter, withStylesheet, withURIResolver
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.xmlunit.builder.TransformationBuilderBase
usingFactory, withOutputProperty, withParameter, withStylesheet, withURIResolver
-
-
-
-
Method Detail
-
build
public Transform.TransformationResult build()
Description copied from interface:Transform.Builder
Create the result of the transformation.- Specified by:
build
in interfaceTransform.Builder
-
toString
public java.lang.String toString()
Description copied from interface:Transform.TransformationResult
Output the result to a String.- Specified by:
toString
in interfaceTransform.TransformationResult
- Overrides:
toString
in classjava.lang.Object
-
toDocument
public org.w3c.dom.Document toDocument()
Description copied from interface:Transform.TransformationResult
Output the result to a DOM Document.- Specified by:
toDocument
in interfaceTransform.TransformationResult
-
to
public void to(javax.xml.transform.Result r)
Description copied from interface:Transform.TransformationResult
Output the result to a TraX Result.- Specified by:
to
in interfaceTransform.TransformationResult
-
-