public static class XmlExport.Escaper
extends java.lang.Object
implements org.codehaus.stax2.io.EscapingWriterFactory
| Constructor and Description |
|---|
Escaper() |
| Modifier and Type | Method and Description |
|---|---|
java.io.Writer |
createEscapingWriterFor(java.io.OutputStream os,
java.lang.String enc)
Method called to create an instance of escaping writer that will output to the specified stream,
using the specified encoding, and escaping necessary characters (depending on both type
[attr, element text] and encoding).
|
java.io.Writer |
createEscapingWriterFor(java.io.Writer writer,
java.lang.String enc)
Method called to create an instance of escaping writer that will output to the specified stream,
using the specified encoding, and escaping necessary characters (depending on both type
[attr, element text] and encoding).
|
public java.io.Writer createEscapingWriterFor(java.io.OutputStream os,
java.lang.String enc)
throws java.io.UnsupportedEncodingException
createEscapingWriterFor in interface org.codehaus.stax2.io.EscapingWriterFactoryos - Underlying stream that the encoding writer should use for output.enc - Encoding to use, as specified by the stream writer (based on information application has
passed).java.io.UnsupportedEncodingExceptionpublic java.io.Writer createEscapingWriterFor(java.io.Writer writer,
java.lang.String enc)
throws java.io.UnsupportedEncodingException
createEscapingWriterFor in interface org.codehaus.stax2.io.EscapingWriterFactorywriter - Underlying writer that the encoding writer should output.enc - Encoding to use, as specified by the stream writer (based on information application has
passed).java.io.UnsupportedEncodingException