This class is used inside the marshaller/unmarshaller to send/receive text data.
On top of CharSequence, this class has an
ability to write itself to the XmlOutput. This allows
the implementation to choose the most efficient way possible
when writing to XML (for example, it can skip the escaping
of buffer copying.)
Todo
visitor pattern support?
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public abstract String | toString()
Redeclares java. Overrides java. Returns a string containing the characters in this sequence in the same order as this sequence. |
| public abstract void | |
| public void |
| Pcdata | back to summary |
|---|---|
| protected Pcdata() Default constructor. | |
| toString | back to summary |
|---|---|
| public abstract String toString() Redeclares java. Overrides java. Doc from java. Returns a string containing the characters in this sequence in the same order as this sequence. The length of the string will be the length of this sequence.
| |
| writeTo | back to summary |
|---|---|
| public abstract void writeTo(UTF8XmlOutput output) throws IOException Writes itself to This is the most performance critical path for the marshaller, so it warrants its own method. | |
| writeTo | back to summary |
|---|---|
| public void writeTo(char[] buf, int start) Writes itself to the character array.
This method is used by most other
The caller must provide a big enough buffer that can hold
enough characters returned by the | |