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

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.value.BaseScopedTag
                  extended by net.ontopia.topicmaps.nav2.taglibs.TMvalue.AssociatedTag
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag, ScopeSupportIF, ValueAcceptingTagIF, ValueProducingTagIF

public class AssociatedTag
extends BaseScopedTag

INTERNAL: Value producing tag that finds all the topics associated with this the topics in the input collection, subject to some constraints.

See Also:
Serialized Form

Field Summary
protected  String assoctype
           
protected  String endrole
           
protected  boolean produceTopics
           
protected  String startrole
           
protected  String totopic
           
 
Fields inherited from class net.ontopia.topicmaps.nav2.taglibs.value.BaseScopedTag
useUserContextFilter
 
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 net.ontopia.topicmaps.nav2.core.ScopeSupportIF
DEC_APPLICABLE_IN, DEC_INTERSECTION, DEC_SUBSET, DEC_SUPERSET, DEC_WITHIN, SCOPE_ASSOCIATIONS, SCOPE_BASENAMES, SCOPE_OCCURRENCES, SCOPE_VARIANTS
 
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
AssociatedTag()
           
 
Method Summary
protected  Collection getValue(ContextManagerIF ctxtMgr, String var)
           
protected  boolean isInstanceOf(TypedIF object, Collection types)
           
 Collection process(Collection topics)
          INTERNAL: Process the input collection and return the output collection.
 void setEndrole(String endrole)
           
 void setFrom(String from)
           
 void setProduce(String produce)
           
 void setStartrole(String startrole)
           
 void setTo(String to)
           
 void setType(String type)
           
 
Methods inherited from class net.ontopia.topicmaps.nav2.taglibs.value.BaseScopedTag
getScopeDecider, getScopeFilter, setContextFilter
 
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

startrole

protected String startrole

endrole

protected String endrole

assoctype

protected String assoctype

totopic

protected String totopic

produceTopics

protected boolean produceTopics
Constructor Detail

AssociatedTag

public AssociatedTag()
Method Detail

process

public Collection process(Collection topics)
                   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

isInstanceOf

protected boolean isInstanceOf(TypedIF object,
                               Collection types)

getValue

protected Collection getValue(ContextManagerIF ctxtMgr,
                              String var)
                       throws NavigatorRuntimeException
Throws:
NavigatorRuntimeException

setStartrole

public void setStartrole(String startrole)

setEndrole

public void setEndrole(String endrole)

setType

public void setType(String type)

setFrom

public void setFrom(String from)

setTo

public void setTo(String to)

setProduce

public void setProduce(String produce)


Copyright © 2000-2012 Ontopia.