org.apache.servicemix.jbi.jaxp
Class StringSource
java.lang.Object
javax.xml.transform.stream.StreamSource
org.apache.servicemix.jbi.jaxp.StringSource
- All Implemented Interfaces:
- java.io.Serializable, javax.xml.transform.Source
public class StringSource
- extends javax.xml.transform.stream.StreamSource
- implements java.io.Serializable
A helper class which provides a JAXP Source
from a String which can
be read as many times as required.
- Version:
- $Revision: 564607 $
- See Also:
- Serialized Form
Fields inherited from class javax.xml.transform.stream.StreamSource |
FEATURE |
Constructor Summary |
StringSource(java.lang.String text)
|
StringSource(java.lang.String text,
java.lang.String systemId)
|
StringSource(java.lang.String text,
java.lang.String systemId,
java.lang.String encoding)
|
Methods inherited from class javax.xml.transform.stream.StreamSource |
getPublicId, getSystemId, setInputStream, setPublicId, setReader, setSystemId, setSystemId |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
StringSource
public StringSource(java.lang.String text)
StringSource
public StringSource(java.lang.String text,
java.lang.String systemId)
StringSource
public StringSource(java.lang.String text,
java.lang.String systemId,
java.lang.String encoding)
getInputStream
public java.io.InputStream getInputStream()
- Overrides:
getInputStream
in class javax.xml.transform.stream.StreamSource
getReader
public java.io.Reader getReader()
- Overrides:
getReader
in class javax.xml.transform.stream.StreamSource
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getText
public java.lang.String getText()
Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.