Class FulltextTag

java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
net.ontopia.topicmaps.nav2.taglibs.value.BaseValueProducingTag
net.ontopia.topicmaps.nav2.taglibs.TMvalue.FulltextTag
All Implemented Interfaces:
jakarta.servlet.jsp.tagext.IterationTag, jakarta.servlet.jsp.tagext.JspTag, jakarta.servlet.jsp.tagext.Tag, Serializable, ValueProducingTagIF

public class FulltextTag extends BaseValueProducingTag
INTERNAL: Tag used for executing fulltext queries and producing ranked list of topic map objects.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected String
     
    protected String
     
    protected static org.slf4j.Logger
     
    protected String
     

    Fields inherited from class net.ontopia.topicmaps.nav2.taglibs.value.BaseValueProducingTag

    variableName

    Fields inherited from class jakarta.servlet.jsp.tagext.TagSupport

    id, pageContext

    Fields inherited from interface jakarta.servlet.jsp.tagext.IterationTag

    EVAL_BODY_AGAIN

    Fields inherited from interface jakarta.servlet.jsp.tagext.Tag

    EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    process(Collection tmObjects)
    INTERNAL: Process the input collection and return the output collection.
    void
    setIdField(String idfield)
    INTERNAL: Set fulltext index object id field.
    void
    INTERNAL: Set fulltext query.

    Methods inherited from class net.ontopia.topicmaps.nav2.taglibs.value.BaseValueProducingTag

    doEndTag, doStartTag, getInputCollection, release, setOf

    Methods inherited from class jakarta.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 Details

    • log

      protected static org.slf4j.Logger log
    • index_path

      protected String index_path
    • query

      protected String query
    • idfield

      protected String idfield
  • Constructor Details

    • FulltextTag

      public FulltextTag()
  • Method Details

    • process

      public Collection process(Collection tmObjects) throws jakarta.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:
      jakarta.servlet.jsp.JspTagException
      See Also:
    • setQuery

      public void setQuery(String query)
      INTERNAL: Set fulltext query.
    • setIdField

      public void setIdField(String idfield)
      INTERNAL: Set fulltext index object id field.