| Modifier and Type | Field and Description |
|---|---|
| pack-priv int | m_length
The length of the string. |
| pack-priv int | m_start
The start position in the fsb. |
| protected String | |
| pack-priv static final long |
| Access | Constructor and Description |
|---|---|
| public | XStringForChars(char[]
FastStringBuffer object this will wrap, must be non-null. val, int The start position in the array. start, int The number of characters to read from the array. length)Construct a XNodeSet object. |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | Returns: The string this wraps or the empty string if nullOverrides com. Cast result object to a string. |
| public char | Returns: the character at the specified index of this string. The first character is at index0.the index of the character. index)Overrides com. Implements com. Returns the character at the specified index. |
| public void | dispatchAsComment(LexicalHandler
A non-null reference to a LexicalHandler. lh)Overrides com. Implements com. Directly call the comment method on the passed LexicalHandler for the string-value. |
| public void | dispatchCharactersEvents(ContentHandler
A non-null reference to a ContentHandler. ch)Overrides com. Implements com. Directly call the characters method on the passed ContentHandler for the string-value. |
| public FastStringBuffer | |
| public void | getChars(int
index of the first character in the string
to copy. srcBegin, int index after the last character in the string
to copy. srcEnd, char[] the destination array. dst, int the start offset in the destination array. dstBegin)Overrides com. Implements com. Copies characters from this string into the destination character array. |
| public boolean | Returns: true if this XMLString can return a string without creating one.Overrides com. Implements com. Tell if this object contains a java String object. |
| public int | Returns: the length of the sequence of characters represented by this object.Overrides com. Implements com. Returns the length of this string. |
| public Object | Returns: The java String representation of this object.Overrides com. Since this object is incomplete without the length and the offset, we have to convert to a string when this function is called. |
| public String | Returns: The string this wraps or the empty string if nullOverrides com. Cast result object to a string. |
| m_length | back to summary |
|---|---|
| pack-priv int m_length The length of the string. | |
| m_start | back to summary |
|---|---|
| pack-priv int m_start The start position in the fsb. | |
| m_strCache | back to summary |
|---|---|
| protected String m_strCache | |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID Hides com. | |
| XStringForChars | back to summary |
|---|---|
| public XStringForChars(char[] val, int start, int length) Construct a XNodeSet object.
| |
| XStringForChars | back to summary |
|---|---|
| private XStringForChars(String val) Construct a XNodeSet object.
| |
| appendToFsb | back to summary |
|---|---|
| public void appendToFsb(FastStringBuffer fsb) Overrides com. Cast result object to a string.
| |
| charAt | back to summary |
|---|---|
| public char charAt(int index) Overrides com. Implements com. Returns the character at the specified index. An index ranges
from
| |
| dispatchAsComment | back to summary |
|---|---|
| public void dispatchAsComment(LexicalHandler lh) throws SAXException Overrides com. Implements com. Directly call the comment method on the passed LexicalHandler for the string-value.
| |
| dispatchCharactersEvents | back to summary |
|---|---|
| public void dispatchCharactersEvents(ContentHandler ch) throws SAXException Overrides com. Implements com. Directly call the characters method on the passed ContentHandler for the string-value. Multiple calls to the ContentHandler's characters methods may well occur for a single call to this method.
| |
| fsb | back to summary |
|---|---|
| public FastStringBuffer fsb() Cast result object to a string.
| |
| getChars | back to summary |
|---|---|
| public void getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin) Overrides com. Implements com. Copies characters from this string into the destination character array.
| |
| hasString | back to summary |
|---|---|
| public boolean hasString() Overrides com. Implements com. Tell if this object contains a java String object.
| |
| length | back to summary |
|---|---|
| public int length() Overrides com. Implements com. Returns the length of this string.
| |
| object | back to summary |
|---|---|
| public Object object() Overrides com. Since this object is incomplete without the length and the offset, we have to convert to a string when this function is called.
| |
| str | back to summary |
|---|---|
| public String str() Overrides com. Cast result object to a string.
| |