Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.base.tags
Class PaginatorCallbackWriter

java.lang.Object
  extended by java.io.Writer
      extended by com.jivesoftware.base.tags.PaginatorCallbackWriter
All Implemented Interfaces:
freemarker.template.TransformControl, java.io.Closeable, java.io.Flushable, java.lang.Appendable

public class PaginatorCallbackWriter
extends java.io.Writer
implements freemarker.template.TransformControl


Field Summary
 
Fields inherited from class java.io.Writer
lock
 
Fields inherited from interface freemarker.template.TransformControl
END_EVALUATION, EVALUATE_BODY, REPEAT_EVALUATION, SKIP_BODY
 
Constructor Summary
PaginatorCallbackWriter(com.opensymphony.webwork.components.Component bean, java.io.Writer writer)
           
 
Method Summary
 int afterBody()
           
 void close()
           
 void flush()
           
 com.opensymphony.webwork.components.Component getBean()
           
 void onError(java.lang.Throwable throwable)
           
 int onStart()
           
 void write(char[] cbuf, int off, int len)
           
 
Methods inherited from class java.io.Writer
append, append, append, write, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PaginatorCallbackWriter

public PaginatorCallbackWriter(com.opensymphony.webwork.components.Component bean,
                               java.io.Writer writer)
Method Detail

close

public void close()
           throws java.io.IOException
Specified by:
close in interface java.io.Closeable
Specified by:
close in class java.io.Writer
Throws:
java.io.IOException

flush

public void flush()
           throws java.io.IOException
Specified by:
flush in interface java.io.Flushable
Specified by:
flush in class java.io.Writer
Throws:
java.io.IOException

write

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

onStart

public int onStart()
            throws freemarker.template.TemplateModelException,
                   java.io.IOException
Specified by:
onStart in interface freemarker.template.TransformControl
Throws:
freemarker.template.TemplateModelException
java.io.IOException

afterBody

public int afterBody()
              throws freemarker.template.TemplateModelException,
                     java.io.IOException
Specified by:
afterBody in interface freemarker.template.TransformControl
Throws:
freemarker.template.TemplateModelException
java.io.IOException

onError

public void onError(java.lang.Throwable throwable)
             throws java.lang.Throwable
Specified by:
onError in interface freemarker.template.TransformControl
Throws:
java.lang.Throwable

getBean

public com.opensymphony.webwork.components.Component getBean()

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.