Package com.ctc.wstx.sw
Class XmlWriterWrapper.RawWrapper
- java.lang.Object
-
- java.io.Writer
-
- com.ctc.wstx.sw.XmlWriterWrapper
-
- com.ctc.wstx.sw.XmlWriterWrapper.RawWrapper
-
- All Implemented Interfaces:
java.io.Closeable
,java.io.Flushable
,java.lang.Appendable
,java.lang.AutoCloseable
- Enclosing class:
- XmlWriterWrapper
private static final class XmlWriterWrapper.RawWrapper extends XmlWriterWrapper
This wrapper directs calls towriteRaw
methods. Thus, it is a "vanilla" writer, and no escaping is done.
-
-
Field Summary
-
Fields inherited from class com.ctc.wstx.sw.XmlWriterWrapper
mWriter
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
RawWrapper(XmlWriter writer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
write(char[] cbuf, int off, int len)
void
write(java.lang.String str)
void
write(java.lang.String str, int off, int len)
-
Methods inherited from class com.ctc.wstx.sw.XmlWriterWrapper
close, flush, wrapWriteCharacters, wrapWriteRaw, write, write
-
-
-
-
Constructor Detail
-
RawWrapper
protected RawWrapper(XmlWriter writer)
-
-
Method Detail
-
write
public void write(char[] cbuf, int off, int len) throws java.io.IOException
- Specified by:
write
in classXmlWriterWrapper
- Throws:
java.io.IOException
-
write
public void write(java.lang.String str, int off, int len) throws java.io.IOException
- Specified by:
write
in classXmlWriterWrapper
- Throws:
java.io.IOException
-
write
public final void write(java.lang.String str) throws java.io.IOException
- Specified by:
write
in classXmlWriterWrapper
- Throws:
java.io.IOException
-
-