groovy.xml.streamingmarkupsupport
Class StreamingMarkupWriter
java.lang.Object
java.io.Writer
groovy.xml.streamingmarkupsupport.StreamingMarkupWriter
- All Implemented Interfaces:
- Closeable, Flushable, Appendable
public class StreamingMarkupWriter
- extends Writer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
writer
protected final Writer writer
encoding
protected final String encoding
encoder
protected final CharsetEncoder encoder
StreamingMarkupWriter
public StreamingMarkupWriter(Writer writer,
String encoding)
StreamingMarkupWriter
public StreamingMarkupWriter(Writer writer)
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Specified by:
close
in class Writer
- Throws:
IOException
flush
public void flush()
throws IOException
- Specified by:
flush
in interface Flushable
- Specified by:
flush
in class Writer
- Throws:
IOException
write
public void write(int c)
throws IOException
- Overrides:
write
in class Writer
- Throws:
IOException
write
public void write(char[] cbuf,
int off,
int len)
throws IOException
- Specified by:
write
in class Writer
- Throws:
IOException
attributeValue
public Writer attributeValue()
bodyText
public Writer bodyText()
unescaped
public Writer unescaped()
getEncoding
public String getEncoding()
Copyright © 2003-2008 The Codehaus. All Rights Reserved.