org.codehaus.groovy.sandbox.markup
Class StreamingMarkupWriter

java.lang.Object
  extended byjava.io.Writer
      extended byorg.codehaus.groovy.sandbox.markup.StreamingMarkupWriter

public class StreamingMarkupWriter
extends java.io.Writer


Field Summary
private  java.io.Writer attributeWriter
           
private  java.io.Writer bodyWriter
           
protected  java.io.Writer delegate
           
private  int encodingLimit
           
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
StreamingMarkupWriter(java.io.Writer delegate)
           
 
Method Summary
 java.io.Writer attributeValue()
           
 java.io.Writer bodyText()
           
 void close()
           
 void flush()
           
 java.io.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

delegate

protected final java.io.Writer delegate

encodingLimit

private final int encodingLimit
See Also:
Constant Field Values

bodyWriter

private final java.io.Writer bodyWriter

attributeWriter

private final java.io.Writer attributeWriter
Constructor Detail

StreamingMarkupWriter

public StreamingMarkupWriter(java.io.Writer delegate)
Method Detail

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException

flush

public void flush()
           throws java.io.IOException
Throws:
java.io.IOException

write

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

attributeValue

public java.io.Writer attributeValue()

bodyText

public java.io.Writer bodyText()

unescaped

public java.io.Writer unescaped()


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