|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.xml.transform.stream.StreamSource
org.springframework.xml.transform.StringSource
public class StringSource
Convenient subclass of StreamSource
that reads from a StringReader
. The string to be read
can be set via the constructor.
Field Summary |
---|
Fields inherited from class javax.xml.transform.stream.StreamSource |
---|
FEATURE |
Constructor Summary | |
---|---|
StringSource(String content)
Initializes a new instance of the StringSource with the given string content. |
|
StringSource(String content,
String systemId)
Initializes a new instance of the StringSource with the given string content and system id. |
Method Summary |
---|
Methods inherited from class javax.xml.transform.stream.StreamSource |
---|
getInputStream, getPublicId, getReader, getSystemId, setInputStream, setPublicId, setReader, setSystemId, setSystemId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StringSource(String content)
StringSource
with the given string content.
content
- the contentpublic StringSource(String content, String systemId)
StringSource
with the given string content and system id.
content
- the contentsystemId
- a string that conforms to the URI syntax
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |