Class XmlWriterWrapper
java.lang.Object
java.io.Writer
com.ctc.wstx.sw.XmlWriterWrapper
- All Implemented Interfaces:
Closeable, Flushable, Appendable, AutoCloseable
- Direct Known Subclasses:
XmlWriterWrapper.RawWrapper, XmlWriterWrapper.TextWrapper
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final classThis wrapper directs calls towriteRawmethods.private static classThis wrapper directs calls towriteCharactersmethods. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidclose()final voidflush()static XmlWriterWrapperstatic XmlWriterWrapperfinal voidwrite(char[] cbuf) abstract voidwrite(char[] cbuf, int off, int len) final voidwrite(int c) abstract voidabstract voidMethods inherited from class Writer
append, append, append, nullWriter
-
Field Details
-
mWriter
-
mBuffer
private char[] mBuffer
-
-
Constructor Details
-
XmlWriterWrapper
-
-
Method Details
-
wrapWriteRaw
-
wrapWriteCharacters
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classWriter- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Specified by:
flushin classWriter- Throws:
IOException
-
write
- Overrides:
writein classWriter- Throws:
IOException
-
write
- Specified by:
writein classWriter- Throws:
IOException
-
write
- Overrides:
writein classWriter- Throws:
IOException
-
write
- Overrides:
writein classWriter- Throws:
IOException
-
write
- Overrides:
writein classWriter- Throws:
IOException
-