Package org.apache.camel.util.xml
Class BytesSource
java.lang.Object
javax.xml.transform.stream.StreamSource
org.apache.camel.util.xml.BytesSource
- All Implemented Interfaces:
Serializable
,Source
A helper class which provides a JAXP
Source
from a byte[] which can be read as
many times as required.- See Also:
-
Field Summary
Fields inherited from class javax.xml.transform.stream.StreamSource
FEATURE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class javax.xml.transform.stream.StreamSource
getPublicId, getSystemId, isEmpty, setInputStream, setPublicId, setReader, setSystemId, setSystemId
-
Constructor Details
-
BytesSource
public BytesSource(byte[] data) -
BytesSource
-
-
Method Details
-
getInputStream
- Overrides:
getInputStream
in classStreamSource
-
getReader
- Overrides:
getReader
in classStreamSource
-
getData
public byte[] getData() -
toString
-