public class XMLStringSource extends java.lang.Object implements XMLSource
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
data |
Constructor and Description |
---|
XMLStringSource(java.lang.String data) |
Modifier and Type | Method and Description |
---|---|
char |
charAt(int offset)
A character at a specific offset in the source
|
int |
length()
The length (number of characters) in the source
|
java.lang.String |
substring(int start,
int end)
A piece of text between two offsets.
|