railo.runtime.tag
Class Collection

java.lang.Object
  extended by railo.runtime.ext.tag.TagImpl
      extended by railo.runtime.tag.Collection
All Implemented Interfaces:
javax.servlet.jsp.tagext.Tag

public final class Collection
extends TagImpl

Allows you to create and administer Collections.


Field Summary
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
Collection()
           
 
Method Summary
 int doEndTag()
           
 int doStartTag()
           
 void release()
           
 void setAction(String action)
          set the value action Specifies the action to perform.
 void setCategories(boolean categories)
           
 void setCollection(String collection)
          set the value collection Specifies a collection name or an alias if action = "map"
 void setEngine(String engine)
           
 void setLanguage(String language)
          set the value language
 void setName(String name)
          set the value name
 void setPath(String strPath)
          set the value path
static String validateLanguage(String language)
           
 
Methods inherited from class railo.runtime.ext.tag.TagImpl
getParent, required, required, required, required, setPageContext, setPageContext, setParent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Collection

public Collection()
Method Detail

release

public void release()
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class TagImpl

setCategories

public void setCategories(boolean categories)
Parameters:
categories - the categories to set
Throws:
ApplicationException

setAction

public void setAction(String action)
set the value action Specifies the action to perform.

Parameters:
action - value to set

setEngine

public void setEngine(String engine)

setPath

public void setPath(String strPath)
             throws PageException
set the value path

Parameters:
path - value to set
Throws:
PageException

setCollection

public void setCollection(String collection)
set the value collection Specifies a collection name or an alias if action = "map"

Parameters:
collection - value to set

setName

public void setName(String name)
set the value name

Parameters:
name - value to set

setLanguage

public void setLanguage(String language)
set the value language

Parameters:
language - value to set

validateLanguage

public static String validateLanguage(String language)

doStartTag

public int doStartTag()
               throws PageException
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class TagImpl
Throws:
PageException

doEndTag

public int doEndTag()
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class TagImpl


Copyright © 2012 Railo