public interface CharSequenceConsumer
Modifier and Type | Method and Description |
---|---|
default CharSequenceConsumer |
cat(char c)
Process a single character.
|
CharSequenceConsumer |
cat(java.lang.CharSequence chars)
Process a supplied character sequence
|
default void |
close()
Complete the writing of characters to the result.
|
default void |
open()
Initial processing.
|
default void open() throws XPathException
XPathException
- if processing fails for any reasonCharSequenceConsumer cat(java.lang.CharSequence chars) throws XPathException
chars
- the characters to be processedXPathException
- if processing fails for any reasondefault CharSequenceConsumer cat(char c) throws XPathException
cat(CharSequence)
.c
- the character to be processedXPathException
- if processing fails for any reasondefault void close() throws XPathException
XPathException
- if processing fails for any reasonCopyright (c) 2004-2022 Saxonica Limited. All rights reserved.