|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is used to store and retrieve character sequences. The primary use is for a literal data buffer where we can construct the values for literal entity replacement text. When all of the characters for the replacement text have been added to the buffer, the contents are added to the string pool for later use in constructing a StringReader if the entity is referenced.
This class is based on an implementation from the Apache XML Project. In future releases the XML parser, XSLT processor, and associated classes will likely be updated to be based on a later version of the Apache implementations. Since Apache does not guarantee backwards compatibility between versions of their software, we cannot guarantee backwards compatibility of any of the classes contained in the weblogic.apache package or sub-packages.
Method Summary | |
int |
addString(int offset,
int length)
Add a region of this buffer to the string pool. |
void |
append(char ch)
Append a character to this buffer. |
void |
append(char[] chars,
int offset,
int length)
Append characters to this buffer. |
int |
length()
Get the current length of the buffer. |
Method Detail |
public void append(char ch)
ch
- The character.public void append(char[] chars, int offset, int length)
chars
- The char array containing the characters.offset
- The offset within the char array of the first character to append.length
- The number of characters to append.public int length()
public int addString(int offset, int length)
offset
- The offset within this buffer of the first character of the string.length
- The number of characters in the string.StringPool
handle of the string.
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs60 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |