| java.lang.Object org.apache.xml.utils.XMLStringFactory org.apache.xml.utils.XMLStringFactoryDefault
XMLStringFactoryDefault | public class XMLStringFactoryDefault extends XMLStringFactory (Code) | | The default implementation of XMLStringFactory.
This implementation creates XMLStringDefault objects.
|
Method Summary | |
public XMLString | emptystr() Get a cheap representation of an empty string. | public XMLString | newstr(String string) Create a new XMLString from a Java string.
Parameters: string - Java String reference, which must be non-null. | public XMLString | newstr(FastStringBuffer fsb, int start, int length) Create a XMLString from a FastStringBuffer.
Parameters: fsb - FastStringBuffer reference, which must be non-null. Parameters: start - The start position in the array. Parameters: length - The number of characters to read from the array. | public XMLString | newstr(char[] string, int start, int length) Create a XMLString from a FastStringBuffer.
Parameters: string - FastStringBuffer reference, which must be non-null. Parameters: start - The start position in the array. Parameters: length - The number of characters to read from the array. |
emptystr | public XMLString emptystr()(Code) | | Get a cheap representation of an empty string.
An non-null reference to an XMLString that represents "". |
newstr | public XMLString newstr(String string)(Code) | | Create a new XMLString from a Java string.
Parameters: string - Java String reference, which must be non-null. An XMLString object that wraps the String reference. |
newstr | public XMLString newstr(FastStringBuffer fsb, int start, int length)(Code) | | Create a XMLString from a FastStringBuffer.
Parameters: fsb - FastStringBuffer reference, which must be non-null. Parameters: start - The start position in the array. Parameters: length - The number of characters to read from the array. An XMLString object that wraps the FastStringBuffer reference. |
newstr | public XMLString newstr(char[] string, int start, int length)(Code) | | Create a XMLString from a FastStringBuffer.
Parameters: string - FastStringBuffer reference, which must be non-null. Parameters: start - The start position in the array. Parameters: length - The number of characters to read from the array. An XMLString object that wraps the FastStringBuffer reference. |
|
|