net.ontopia.topicmaps.nav2.taglibs.logic
Class SetTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by net.ontopia.topicmaps.nav2.taglibs.logic.SetTag
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag, ValueAcceptingTagIF

public class SetTag
extends javax.servlet.jsp.tagext.TagSupport
implements ValueAcceptingTagIF

INTERNAL: Logic Tag for establishing the outermost lexical scope in which computation happens.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
SetTag()
           
 
Method Summary
 void accept(Collection value)
          Accepts input collection and make it accessible for tag.
 int doEndTag()
          Process the end tag.
 int doStartTag()
          Process the start tag for this instance.
protected  Comparator getComparator()
           
protected  Comparator getComparatorInstance(String classname)
           
 void release()
          reset the state of the Tag.
 void setComparator(String classname)
           
 void setName(String name)
           
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetTag

public SetTag()
Method Detail

doStartTag

public int doStartTag()
Process the start tag for this instance.

Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport

doEndTag

public int doEndTag()
Process the end tag.

Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class javax.servlet.jsp.tagext.TagSupport

release

public void release()
reset the state of the Tag.

Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class javax.servlet.jsp.tagext.TagSupport

setName

public void setName(String name)

setComparator

public void setComparator(String classname)
                   throws NavigatorRuntimeException
Throws:
NavigatorRuntimeException

accept

public void accept(Collection value)
Description copied from interface: ValueAcceptingTagIF
Accepts input collection and make it accessible for tag.

Specified by:
accept in interface ValueAcceptingTagIF

getComparator

protected Comparator getComparator()
                            throws Exception
Throws:
Exception

getComparatorInstance

protected Comparator getComparatorInstance(String classname)
                                    throws NavigatorRuntimeException
Throws:
NavigatorRuntimeException


Copyright © 2000-2012 Ontopia.