org.apache.camel.converter.jaxp
Class StringSource
java.lang.Object
javax.xml.transform.stream.StreamSource
org.apache.camel.converter.jaxp.StringSource
- All Implemented Interfaces:
- Serializable, Source
public class StringSource
- extends StreamSource
- implements Serializable
A helper class which provides a JAXP Source
from a String which can
be read as many times as required.
- Version:
- $Revision: 36635 $
- See Also:
- Serialized Form
StringSource
public StringSource(String text)
StringSource
public StringSource(String text,
String systemId)
StringSource
public StringSource(String text,
String systemId,
String encoding)
getInputStream
public InputStream getInputStream()
- Overrides:
getInputStream
in class StreamSource
getReader
public Reader getReader()
- Overrides:
getReader
in class StreamSource
toString
public String toString()
- Overrides:
toString
in class Object
getText
public String getText()
Copyright © 2008 IONA Open Source Community. All Rights Reserved.