public abstract class XMLStringFactory
extends java.lang.Object
Constructor and Description |
---|
XMLStringFactory() |
Modifier and Type | Method and Description |
---|---|
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(java.lang.String string)
Create a new XMLString from a Java string.
|
public abstract XMLString newstr(java.lang.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()
Copyright © 2014 Apache XML Project. All Rights Reserved.