| java.lang.Object org.jibx.runtime.impl.USASCIIEscaper
USASCIIEscaper | public class USASCIIEscaper implements ICharacterEscaper(Code) | | Handler for writing ASCII output stream. This code is specifically for XML
1.0 and would require changes for XML 1.1 (to handle the added legal
characters, rather than throwing an exception).
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 |
|
|