org.apache.xml.utils
public class XMLStringFactoryDefault extends XMLStringFactory
Method Summary | |
---|---|
XMLString | emptystr()
Get a cheap representation of an empty string.
|
XMLString | newstr(String string)
Create a new XMLString from a Java string.
|
XMLString | newstr(FastStringBuffer fsb, int start, int length)
Create a XMLString from a FastStringBuffer.
|
XMLString | newstr(char[] string, int start, int length)
Create a XMLString from a FastStringBuffer.
|
Returns: An non-null reference to an XMLString that represents "".
Parameters: string Java String reference, which must be non-null.
Returns: An XMLString object that wraps the String reference.
Parameters: fsb FastStringBuffer reference, which must be non-null. start The start position in the array. length The number of characters to read from the array.
Returns: An XMLString object that wraps the FastStringBuffer reference.
Parameters: 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.
Returns: An XMLString object that wraps the FastStringBuffer reference.