|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xml.utils.XMLStringFactory
A concrete class that implements this interface creates XMLString objects.
Constructor Summary | |
XMLStringFactory()
|
Method Summary | |
abstract XMLString |
emptystr()
Get a cheap representation of an empty string. |
abstract XMLString |
newstr(char[] string,
int start,
int length)
Create a XMLString from a FastStringBuffer. |
abstract XMLString |
newstr(FastStringBuffer string,
int start,
int length)
Create a XMLString from a FastStringBuffer. |
abstract XMLString |
newstr(String string)
Create a new XMLString from a Java string. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XMLStringFactory()
Method Detail |
public abstract XMLString newstr(String string)
string
- Java String reference, which must be non-null.
public abstract XMLString newstr(FastStringBuffer string, int start, int length)
string
- FastStringBuffer reference, which must be non-null.start
- The start position in the array.length
- The number of characters to read from the array.
public abstract XMLString newstr(char[] string, int start, int length)
string
- FastStringBuffer reference, which must be non-null.start
- The start position in the array.length
- The number of characters to read from the array.
public abstract XMLString emptystr()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |