it.imolinfo.jbi4corba.jbi.processor.transform
Class StringSource

java.lang.Object
  extended by javax.xml.transform.stream.StreamSource
      extended by it.imolinfo.jbi4corba.jbi.processor.transform.StringSource
All Implemented Interfaces:
Serializable, Source

public class StringSource
extends StreamSource
implements Serializable

Taken from servicemix-core.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.xml.transform.stream.StreamSource
FEATURE
 
Constructor Summary
StringSource(String text)
          Instantiates a new string source.
StringSource(String text, String systemId)
          Instantiates a new string source.
StringSource(String text, String systemId, String encoding)
          Instantiates a new string source.
 
Method Summary
 InputStream getInputStream()
          Gets the InptStream.
 Reader getReader()
          Gets the Reader.
 String getText()
          Gets the text.
 String toString()
          The Source as String.
 
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
 

Constructor Detail

StringSource

public StringSource(String text)
Instantiates a new string source.

Parameters:
text - The StringSource text

StringSource

public StringSource(String text,
                    String systemId)
Instantiates a new string source.

Parameters:
text - The StringSource text
systemId - The SystemId

StringSource

public StringSource(String text,
                    String systemId,
                    String encoding)
Instantiates a new string source.

Parameters:
text - The StringSource text
systemId - The SystemId
encoding - The encoding
Method Detail

getInputStream

public InputStream getInputStream()
Gets the InptStream.

Overrides:
getInputStream in class StreamSource
Returns:
The Source InputStream

getReader

public Reader getReader()
Gets the Reader.

Overrides:
getReader in class StreamSource
Returns:
te source Reader

toString

public String toString()
The Source as String.

Overrides:
toString in class Object
Returns:
the Source as String

getText

public String getText()
Gets the text.

Returns:
the text


Copyright © 2005-2010 Imola Informatica. All Rights Reserved.