|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.caucho.xsl.StringSource
Source for an input string.
Field Summary | |
static java.lang.String |
FEATURE
The feature name to tell if the transformer can handle stream input. |
Constructor Summary | |
StringSource()
Zero-arg constructor. |
|
StringSource(java.lang.String source)
Create a StringSource with a given string. |
|
StringSource(java.lang.String source,
java.lang.String systemId)
Create a StringSource with a given string and systemId. |
Method Summary | |
java.lang.String |
getPublicId()
Returns the public identifier (URL). |
java.lang.String |
getString()
Returns the source string. |
java.lang.String |
getSystemId()
Returns the system identifier (URL). |
void |
setPublicId(java.lang.String publicId)
Sets the public identifier (URL). |
void |
setString(java.lang.String is)
Sets the source string stream. |
void |
setSystemId(java.io.File file)
Sets the system identifier (URL) from a File. |
void |
setSystemId(java.lang.String systemId)
Sets the system identifier (URL). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String FEATURE
Constructor Detail |
public StringSource()
public StringSource(java.lang.String source)
source
- the source string.public StringSource(java.lang.String source, java.lang.String systemId)
source
- the source string.systemId
- the URL representing the string location.Method Detail |
public java.lang.String getString()
public void setString(java.lang.String is)
public java.lang.String getSystemId()
getSystemId
in interface Source
javax.xml.transform.Source
public void setSystemId(java.lang.String systemId)
setSystemId
in interface Source
javax.xml.transform.Source
systemId
- set the system id as a URLpublic void setSystemId(java.io.File file)
public java.lang.String getPublicId()
public void setPublicId(java.lang.String publicId)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |