Package net.sf.saxon.tree.tiny
Interface AppendableCharSequence
-
- All Superinterfaces:
java.lang.CharSequence
- All Known Implementing Classes:
FastStringBuffer,LargeStringBuffer
public interface AppendableCharSequence extends java.lang.CharSequenceDefines a CharSequence to which characters can be appended
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AppendableCharSequencecat(char c)Append a single character to this CharSequenceAppendableCharSequencecat(java.lang.CharSequence chars)Append characters to this CharSequencevoidsetLength(int length)Set the length.
-
-
-
Method Detail
-
cat
AppendableCharSequence cat(java.lang.CharSequence chars)
Append characters to this CharSequence- Parameters:
chars- the characters to be appended- Returns:
- the concatenated results
-
cat
AppendableCharSequence cat(char c)
Append a single character to this CharSequence- Parameters:
c- the character to be appended- Returns:
- the concatenated results
-
setLength
void setLength(int length)
Set the length. If this exceeds the current length, this method is a no-op. If this is less than the current length, characters beyond the specified point are deleted.- Parameters:
length- the new length
-
-