Package com.helger.xml.transform
Class CachingTransformStreamSource
java.lang.Object
javax.xml.transform.stream.StreamSource
com.helger.xml.transform.CachingTransformStreamSource
- All Implemented Interfaces:
Source
Source that ensures that the passed
InputStream is copied. This is achieved by copying the content in a
NonBlockingByteArrayInputStream.- Author:
- Philip Helger
-
Field Summary
Fields inherited from class javax.xml.transform.stream.StreamSource
FEATURE -
Constructor Summary
ConstructorsConstructorDescriptionCachingTransformStreamSource(com.helger.commons.io.IHasInputStream aIIS) CachingTransformStreamSource(com.helger.commons.io.IHasInputStream aIIS, String sSystemID) CachingTransformStreamSource(com.helger.commons.io.resource.IReadableResource aResource) CachingTransformStreamSource(InputStream aIS, String sSystemID) -
Method Summary
Methods inherited from class javax.xml.transform.stream.StreamSource
getInputStream, getPublicId, getReader, getSystemId, isEmpty, setInputStream, setPublicId, setReader, setSystemId, setSystemId
-
Constructor Details
-
CachingTransformStreamSource
public CachingTransformStreamSource(@Nonnull com.helger.commons.io.resource.IReadableResource aResource) -
CachingTransformStreamSource
-
CachingTransformStreamSource
-
CachingTransformStreamSource
-
CachingTransformStreamSource
public CachingTransformStreamSource(@Nullable @WillClose InputStream aIS, @Nullable String sSystemID)
-
-
Method Details