public class XMLStringFactoryDefault extends XMLStringFactory
| Constructor and Description |
|---|
XMLStringFactoryDefault() |
| Modifier and Type | Method and Description |
|---|---|
XMLString |
emptystr()
Get a cheap representation of an empty string.
|
XMLString |
newstr(char[] string,
int start,
int length)
Create a XMLString from a FastStringBuffer.
|
XMLString |
newstr(FastStringBuffer fsb,
int start,
int length)
Create a XMLString from a FastStringBuffer.
|
XMLString |
newstr(java.lang.String string)
Create a new XMLString from a Java string.
|
public XMLString newstr(java.lang.String string)
newstr in class XMLStringFactorystring - Java String reference, which must be non-null.public XMLString newstr(FastStringBuffer fsb, int start, int length)
newstr in class XMLStringFactoryfsb - 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 XMLString newstr(char[] string, int start, int length)
newstr in class XMLStringFactorystring - 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 XMLString emptystr()
emptystr in class XMLStringFactoryCopyright © 2014 Apache XML Project. All Rights Reserved.