Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.xml.utils
Class XMLStringFactoryDefault  view XMLStringFactoryDefault download XMLStringFactoryDefault.java

java.lang.Object
  extended byorg.apache.xml.utils.XMLStringFactory
      extended byorg.apache.xml.utils.XMLStringFactoryDefault

public class XMLStringFactoryDefault
extends XMLStringFactory

The default implementation of XMLStringFactory. This implementation creates XMLStringDefault objects.


Field Summary
private static XMLStringDefault EMPTY_STR
           
 
Constructor Summary
XMLStringFactoryDefault()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY_STR

private static final XMLStringDefault EMPTY_STR
Constructor Detail

XMLStringFactoryDefault

public XMLStringFactoryDefault()
Method Detail

newstr

public XMLString newstr(java.lang.String string)
Create a new XMLString from a Java string.

Specified by:
newstr in class XMLStringFactory

newstr

public XMLString newstr(FastStringBuffer fsb,
                        int start,
                        int length)
Create a XMLString from a FastStringBuffer.

Specified by:
newstr in class XMLStringFactory

newstr

public XMLString newstr(char[] string,
                        int start,
                        int length)
Create a XMLString from a FastStringBuffer.

Specified by:
newstr in class XMLStringFactory

emptystr

public XMLString emptystr()
Get a cheap representation of an empty string.

Specified by:
emptystr in class XMLStringFactory