|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xml.utils.XMLStringFactory
org.apache.xpath.objects.XMLStringFactoryImpl
public class XMLStringFactoryImpl
Class XMLStringFactoryImpl creates XString versions of XMLStrings.
| Field Summary | |
|---|---|
private static XMLStringFactory |
m_xstringfactory
The XMLStringFactory to pass to DTM construction. |
| Constructor Summary | |
|---|---|
XMLStringFactoryImpl()
|
|
| Method Summary | |
|---|---|
XMLString |
emptystr()
Get a cheap representation of an empty string. |
static XMLStringFactory |
getFactory()
Get the XMLStringFactory to pass to DTM construction. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static XMLStringFactory m_xstringfactory
| Constructor Detail |
|---|
public XMLStringFactoryImpl()
| Method Detail |
|---|
public static XMLStringFactory getFactory()
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 XMLStringFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||