Home » tiles-2.2.1-src » org.apache.tiles.jsp » context » [javadoc | source]
org.apache.tiles.jsp.context
public final class: JspUtil [javadoc | source]
java.lang.Object
   org.apache.tiles.jsp.context.JspUtil
Utility class for working within a Jsp environment.
Field Summary
public static final  String COMPOSE_STACK_ATTRIBUTE_NAME    The name of the attribute that will contain the compose stack. 
Method from org.apache.tiles.jsp.context.JspUtil Summary:
evaluateFragment,   evaluateFragmentAsString,   getComposeStack,   getContainer,   getContainer,   getCurrentContainer,   getScope,   isForceInclude,   setContainer,   setContainer,   setCurrentContainer,   setCurrentContainer,   setForceInclude
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.tiles.jsp.context.JspUtil Detail:
 public static  void evaluateFragment(JspFragment fragment) throws JspException, IOException 
    Evaluates the fragment (invokes it with a null Writer) if not null.
 public static String evaluateFragmentAsString(JspFragment fragment) throws JspException, IOException 
    Evaluates the fragment and returns its content as a string.
 public static ArrayStack<Object> getComposeStack(JspContext context) 
    Returns the compose stack, that is used by the tags to compose definitions, attributes, etc.
 public static TilesContainer getContainer(JspContext context) 
    Returns the default Tiles container.
 public static TilesContainer getContainer(JspContext context,
    String key) 
    Returns a specific Tiles container.
 public static TilesContainer getCurrentContainer(JspContext context) 
    Returns the current container that has been set, or the default one.
 public static int getScope(String scopeName) throws TilesJspException 
    Converts the scope name into its corresponding PageContext constant value.
 public static boolean isForceInclude(JspContext context) 
    Returns true if forced include of the result is needed.
 public static  void setContainer(JspContext context,
    TilesContainer container) 
    Configures the default container to be used in the application.
 public static  void setContainer(JspContext context,
    TilesContainer container,
    String key) 
    Configures the container to be used in the application.
 public static  void setCurrentContainer(JspContext context,
    String key) 
    Sets the current container to use in web pages.
 public static  void setCurrentContainer(JspContext context,
    TilesContainer container) 
    Sets the current container to use in web pages.
 public static  void setForceInclude(JspContext context,
    boolean forceInclude) 
    Sets the option that enables the forced include of the response.