Package com.helger.xml.transform
Class TransformSourceFactory
java.lang.Object
com.helger.xml.transform.TransformSourceFactory
Factory class to create the correct
Source
objects for different input types.- Author:
- Philip Helger
-
Method Summary
Modifier and TypeMethodDescriptionstatic StreamSourcecreate(byte[] aXML) static StreamSourcecreate(byte[] aXML, int nOfs, int nLength) static StringStreamSourcecreate(char[] aXML) static StringStreamSourcecreate(char[] aXML, int nOfs, int nLength) static StreamSourcecreate(com.helger.commons.io.IHasInputStream aISP) static StreamSourcecreate(com.helger.commons.io.resource.IReadableResource aResource) static StreamSourcestatic StreamSourcecreate(InputStream aIS) static StreamSourcestatic StringStreamSourcecreate(CharSequence aXML) static StringStreamSourcestatic StreamSourcestatic StreamSourcestatic StreamSourcecreate(ByteBuffer aXML) static StreamSourcestatic DOMSource
-
Method Details
-
create
-
create
-
create
-
create
-
create
-
create
@Nonnull public static StreamSource create(@Nonnull com.helger.commons.io.resource.IReadableResource aResource) -
create
-
create
-
create
-
create
@Nonnull public static StringStreamSource create(@Nonnull char[] aXML, @Nonnegative int nOfs, @Nonnegative int nLength) -
create
-
create
@Nonnull public static StreamSource create(@Nonnull byte[] aXML, @Nonnegative int nOfs, @Nonnegative int nLength) -
create
-
create
-
create
-
create
-