Package org.apache.camel.util.xml
Class SourceCache
java.lang.Object
javax.xml.transform.stream.StreamSource
org.apache.camel.util.xml.StringSource
org.apache.camel.util.xml.SourceCache
- All Implemented Interfaces:
Externalizable
,Serializable
,Source
,org.apache.camel.StreamCache
StreamCache
implementation for StringSource
s- See Also:
-
Field Summary
Fields inherited from class javax.xml.transform.stream.StreamSource
FEATURE
Fields inherited from interface org.apache.camel.StreamCache
DEFAULT_SPOOL_THRESHOLD
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.camel.util.xml.StringSource
getEncoding, getInputStream, getReader, getText, readExternal, toString, writeExternal
Methods inherited from class javax.xml.transform.stream.StreamSource
getPublicId, getSystemId, isEmpty, setInputStream, setPublicId, setReader, setSystemId, setSystemId
-
Constructor Details
-
SourceCache
-
-
Method Details
-
reset
public void reset()- Specified by:
reset
in interfaceorg.apache.camel.StreamCache
-
writeTo
- Specified by:
writeTo
in interfaceorg.apache.camel.StreamCache
- Throws:
IOException
-
copy
- Specified by:
copy
in interfaceorg.apache.camel.StreamCache
- Throws:
IOException
-
inMemory
public boolean inMemory()- Specified by:
inMemory
in interfaceorg.apache.camel.StreamCache
-
length
public long length()- Specified by:
length
in interfaceorg.apache.camel.StreamCache
-