net.ontopia.topicmaps.nav2.taglibs.TMvalue
Class InstancesTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by net.ontopia.topicmaps.nav2.taglibs.value.BaseValueProducingTag
          extended by net.ontopia.topicmaps.nav2.taglibs.value.BaseValueProducingAndAcceptingTag
              extended by net.ontopia.topicmaps.nav2.taglibs.TMvalue.InstancesTag
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag, ValueAcceptingTagIF, ValueProducingTagIF

public class InstancesTag
extends BaseValueProducingAndAcceptingTag

INTERNAL: Value Producing Tag for finding all the instances of all the objects in a collection.

See Also:
Serialized Form

Field Summary
protected  String instancesAs
           
static String KIND_ALL
           
static String KIND_ASSOC
           
static String KIND_OCC
           
static String KIND_ROLE
           
static String KIND_TOPIC
           
 
Fields inherited from class net.ontopia.topicmaps.nav2.taglibs.value.BaseValueProducingAndAcceptingTag
contextTag, inputCollection
 
Fields inherited from class net.ontopia.topicmaps.nav2.taglibs.value.BaseValueProducingTag
variableName
 
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
InstancesTag()
           
 
Method Summary
protected  ClassInstanceIndexIF getIndex(TopicIF topic)
           
 Collection process(Collection tmObjects)
          INTERNAL: Process the input collection and return the output collection.
 void setAs(String as)
           
 
Methods inherited from class net.ontopia.topicmaps.nav2.taglibs.value.BaseValueProducingAndAcceptingTag
accept, doEndTag, doStartTag, getInputCollection
 
Methods inherited from class net.ontopia.topicmaps.nav2.taglibs.value.BaseValueProducingTag
release, setOf
 
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
 

Field Detail

KIND_ALL

public static final String KIND_ALL
See Also:
Constant Field Values

KIND_TOPIC

public static final String KIND_TOPIC
See Also:
Constant Field Values

KIND_OCC

public static final String KIND_OCC
See Also:
Constant Field Values

KIND_ASSOC

public static final String KIND_ASSOC
See Also:
Constant Field Values

KIND_ROLE

public static final String KIND_ROLE
See Also:
Constant Field Values

instancesAs

protected String instancesAs
Constructor Detail

InstancesTag

public InstancesTag()
Method Detail

process

public Collection process(Collection tmObjects)
                   throws javax.servlet.jsp.JspTagException
Description copied from interface: ValueProducingTagIF
INTERNAL: Process the input collection and return the output collection. This collection will afterwards typically be passed up to the parent tag, which should be a value-accepting tag.

Throws:
javax.servlet.jsp.JspTagException
See Also:
BaseValueProducingTag

setAs

public void setAs(String as)
           throws NavigatorRuntimeException
Throws:
NavigatorRuntimeException

getIndex

protected ClassInstanceIndexIF getIndex(TopicIF topic)


Copyright © 2000-2012 Ontopia.