|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xerces.utils.ChunkyCharArray
Constructor Summary | |
---|---|
ChunkyCharArray(StringPool stringPool)
Constructor |
Method Summary | |
---|---|
int |
addString(int offset,
int length)
Add a region of this buffer to the string pool. |
int |
addSymbol(int offset,
int length)
Add a region of this buffer to the StringPool as a symbol |
void |
append(char ch)
Append a character to this buffer. |
void |
append(char[] ch,
int offset,
int length)
Append characters to this buffer. |
void |
append(ChunkyCharArray charArray,
int offset,
int length)
Append a ChunkyCharArray to this buffer. |
void |
append(java.lang.String s)
Append a String to this buffer |
int |
length()
Get the current length of the buffer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ChunkyCharArray(StringPool stringPool)
Method Detail |
public int length()
XMLEntityHandler.CharBuffer
length
in interface XMLEntityHandler.CharBuffer
org.apache.xerces.readers.XMLEntityHandler.CharBuffer
public void append(char ch)
XMLEntityHandler.CharBuffer
append
in interface XMLEntityHandler.CharBuffer
org.apache.xerces.readers.XMLEntityHandler.CharBuffer
ch
- The character.public void append(java.lang.String s)
String
to this buffers
- the string to append.public void append(char[] ch, int offset, int length)
XMLEntityHandler.CharBuffer
append
in interface XMLEntityHandler.CharBuffer
org.apache.xerces.readers.XMLEntityHandler.CharBuffer
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 void append(ChunkyCharArray charArray, int offset, int length)
ChunkyCharArray
to this buffer.charArray
- buffer to be appended.offset
- The offset within charArray of the first character.length
- The number of characters to append.public int addString(int offset, int length)
XMLEntityHandler.CharBuffer
addString
in interface XMLEntityHandler.CharBuffer
org.apache.xerces.readers.XMLEntityHandler.CharBuffer
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.public int addSymbol(int offset, int length)
StringPool
as a symboloffset
- The offset within this buffer of the first character of the stringlength
- The number of characters in the symbol
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |