net.ontopia.topicmaps.nav2.taglibs.output
Class LinkTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by net.ontopia.topicmaps.nav2.taglibs.output.BaseOutputProducingTag
          extended by net.ontopia.topicmaps.nav2.taglibs.output.LinkTag
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag, OutputProducingTagIF

public class LinkTag
extends BaseOutputProducingTag

INTERNAL: Output Producing Tag for writing out the URI of an object. All characters listed as non-safe in RFC 2396 are escaped using URI %-escapes.

See Also:
URLEncoder, Serialized Form

Field Summary
 
Fields inherited from class net.ontopia.topicmaps.nav2.taglibs.output.BaseOutputProducingTag
contextTag, escapeEntities, numberOfElements, suppressEmptyCollection, 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
LinkTag()
           
 
Method Summary
 void generateOutput(javax.servlet.jsp.JspWriter out, Iterator iter)
          INTERNAL: Generate information extracted from the input collection provided access by specified iterator.
 void generateOutput(javax.servlet.jsp.JspWriter out, Object elem)
           
 void setGenerator(String classname)
           
 void setTemplate(String templateStr)
           
 
Methods inherited from class net.ontopia.topicmaps.nav2.taglibs.output.BaseOutputProducingTag
doEndTag, doStartTag, getCollectionSize, print2Writer, release, setEscapeEntities, setOf, setSuppressEmptyCollection
 
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

LinkTag

public LinkTag()
Method Detail

generateOutput

public final void generateOutput(javax.servlet.jsp.JspWriter out,
                                 Iterator iter)
                          throws javax.servlet.jsp.JspTagException,
                                 IOException
Description copied from interface: OutputProducingTagIF
INTERNAL: Generate information extracted from the input collection provided access by specified iterator. This is expected to be written to the JspWriter object.

Specified by:
generateOutput in interface OutputProducingTagIF
Specified by:
generateOutput in class BaseOutputProducingTag
Throws:
javax.servlet.jsp.JspTagException
IOException

generateOutput

public final void generateOutput(javax.servlet.jsp.JspWriter out,
                                 Object elem)
                          throws javax.servlet.jsp.JspTagException,
                                 IOException
Throws:
javax.servlet.jsp.JspTagException
IOException

setTemplate

public final void setTemplate(String templateStr)

setGenerator

public final void setGenerator(String classname)
                        throws NavigatorRuntimeException
Throws:
NavigatorRuntimeException


Copyright © 2000-2012 Ontopia.