groovy.xml.streamingmarkupsupport
Class StreamingMarkupWriter

java.lang.Object
  extended byjava.io.Writer
      extended bygroovy.xml.streamingmarkupsupport.StreamingMarkupWriter

public class StreamingMarkupWriter
extends Writer


Field Summary
protected  CharsetEncoder encoder
           
protected  String encoding
           
protected  Writer writer
           
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
StreamingMarkupWriter(Writer writer)
           
StreamingMarkupWriter(Writer writer, String encoding)
           
 
Method Summary
 Writer attributeValue()
           
 Writer bodyText()
           
 void close()
           
 void flush()
           
 Writer unescaped()
           
 void write(char[] cbuf, int off, int len)
           
 
Methods inherited from class java.io.Writer
write, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

writer

protected final Writer writer

encoding

protected final String encoding

encoder

protected final CharsetEncoder encoder
Constructor Detail

StreamingMarkupWriter

public StreamingMarkupWriter(Writer writer,
                             String encoding)

StreamingMarkupWriter

public StreamingMarkupWriter(Writer writer)
Method Detail

close

public void close()
           throws IOException
Throws:
IOException

flush

public void flush()
           throws IOException
Throws:
IOException

write

public void write(char[] cbuf,
                  int off,
                  int len)
           throws IOException
Throws:
IOException

attributeValue

public Writer attributeValue()

bodyText

public Writer bodyText()

unescaped

public Writer unescaped()


Copyright © 2003-2007 The Codehaus. All Rights Reserved.