net.ontopia.topicmaps.nav2.taglibs.value
Class BaseScopedTag

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
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag, ScopeSupportIF, ValueAcceptingTagIF, ValueProducingTagIF
Direct Known Subclasses:
AssociatedTag, AssociationsTag, NamesTag, OccurrencesTag, RolesTag, VariantsTag

public abstract class BaseScopedTag
extends BaseValueProducingAndAcceptingTag
implements ScopeSupportIF

INTERNAL: Abstract Base class for value producing and accepting tags which are taking the context filter into account.

See Also:
Serialized Form

Field Summary
protected  boolean 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
BaseScopedTag()
           
 
Method Summary
 DeciderIF getScopeDecider(int scopeType)
          INTERNAL: Get FilterIF object which provides the possibility to decide if one topic map objects belongs to the wanted scope.
 FilterIF getScopeFilter(int scopeType)
          INTERNAL: Get FilterIF object which provides the possibility to filter out topic map objects of a collection which have not the wanted scope.
 void setContextFilter(String contextFilter)
          INTERNAL: sets up if the tag should use the context filter which is implict contained in the user session.
 
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
 
Methods inherited from interface net.ontopia.topicmaps.nav2.core.ValueProducingTagIF
process
 

Field Detail

useUserContextFilter

protected boolean useUserContextFilter
Constructor Detail

BaseScopedTag

public BaseScopedTag()
Method Detail

getScopeDecider

public DeciderIF getScopeDecider(int scopeType)
INTERNAL: Get FilterIF object which provides the possibility to decide if one topic map objects belongs to the wanted scope. Default is to use the IntersectionOfContextDecider.

See Also:
IntersectionOfContextDecider, WithinScopeDecider

getScopeFilter

public FilterIF getScopeFilter(int scopeType)
INTERNAL: Get FilterIF object which provides the possibility to filter out topic map objects of a collection which have not the wanted scope.


setContextFilter

public void setContextFilter(String contextFilter)
INTERNAL: sets up if the tag should use the context filter which is implict contained in the user session. Default behaviour is to not use the user context filter. Allowed values are:



Copyright © 2000-2012 Ontopia.