railo.commons.io
Class BodyContentStack

java.lang.Object
  extended by railo.commons.io.BodyContentStack

public final class BodyContentStack
extends Object

Stack for the Body Content Objects


Constructor Summary
BodyContentStack()
          Default Constructor
 
Method Summary
 CFMLWriter getBase()
           
 boolean getDevNull()
           
 DevNullBodyContent getDevNullBodyContent()
           
 javax.servlet.jsp.JspWriter getWriter()
           
 void init(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse rsp, boolean suppresswhitespace, boolean closeConn, boolean showVersion, boolean contentLength, boolean allowCompression)
          initialize the BodyContentStack
 javax.servlet.jsp.JspWriter pop()
          pop a BodyContent from Stack
 javax.servlet.jsp.tagext.BodyContent push()
          push a new BodyContent to Stack
 void release()
          release the BodyContentStack
 void setDevNull(boolean doDevNull)
          set if actuell BodyContent is DevNull or not
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BodyContentStack

public BodyContentStack()
Default Constructor

Method Detail

init

public void init(javax.servlet.http.HttpServletRequest req,
                 javax.servlet.http.HttpServletResponse rsp,
                 boolean suppresswhitespace,
                 boolean closeConn,
                 boolean showVersion,
                 boolean contentLength,
                 boolean allowCompression)
initialize the BodyContentStack

Parameters:
rsp -

release

public void release()
release the BodyContentStack


push

public javax.servlet.jsp.tagext.BodyContent push()
push a new BodyContent to Stack

Returns:
new BodyContent

pop

public javax.servlet.jsp.JspWriter pop()
pop a BodyContent from Stack

Returns:
BodyContent poped

setDevNull

public void setDevNull(boolean doDevNull)
set if actuell BodyContent is DevNull or not

Parameters:
doDevNull -

getWriter

public javax.servlet.jsp.JspWriter getWriter()
Returns:
returns actuell writer

getDevNull

public boolean getDevNull()
Returns:
returns DevNull Object

getDevNullBodyContent

public DevNullBodyContent getDevNullBodyContent()
Returns:
returns DevNull Object

getBase

public CFMLWriter getBase()
Returns:
Returns the base.


Copyright © 2012 Railo