| org.jibx.runtime.ICharacterEscaper
All known Subclasses: org.jibx.runtime.impl.UTF8Escaper, org.jibx.runtime.impl.ISO88591Escaper, org.jibx.runtime.impl.USASCIIEscaper,
ICharacterEscaper | public interface ICharacterEscaper (Code) | | Escaper for character data to be written to output document. This allows
special character encodings to be handled appropriately on output. It's used
by the generic output handler class during document marshalling.
author: Dennis M. Sosnoski version: 1.0 |
writeAttribute | public void writeAttribute(String text, Writer writer) throws IOException(Code) | | Write attribute value with character entity substitutions. This assumes
that attributes use the regular quote ('"') delimitor.
Parameters: text - attribute value text Parameters: writer - sink for output text throws: IOException - on error writing to document |
writeCData | public void writeCData(String text, Writer writer) throws IOException(Code) | | Write CDATA to document. This writes the beginning and ending sequences
for a CDATA section as well as the actual text, verifying that only
characters allowed by the encoding are included in the text.
Parameters: text - content value text Parameters: writer - sink for output text throws: IOException - on error writing to document |
writeContent | public void writeContent(String text, Writer writer) throws IOException(Code) | | Write content value with character entity substitutions.
Parameters: text - content value text Parameters: writer - sink for output text throws: IOException - on error writing to document |
|
|