com.mkdoc.tag
Class StoreBrowseTag

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--com.mkdoc.tag.AbstractXhtmlTag
              |
              +--com.mkdoc.tag.AbstractApplicationProfileTag
                    |
                    +--com.mkdoc.tag.AbstractQueryTag
                          |
                          +--com.mkdoc.tag.StoreBrowseTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class StoreBrowseTag
extends AbstractQueryTag

Browse an RDF store by application profile categories.

Version:
0.1 2005-11-18
Author:
Philip Shaw
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.mkdoc.tag.AbstractQueryTag
manager
 
Fields inherited from class com.mkdoc.tag.AbstractApplicationProfileTag
profile
 
Fields inherited from class com.mkdoc.tag.AbstractXhtmlTag
END_ATTR_TAG, OPEN_TD, OPEN_TH, OPEN_TR, SHUT_LABEL, SHUT_TD, SHUT_TH, SHUT_TR
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext, parent
 
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
StoreBrowseTag()
           
 
Method Summary
 int doStartTag()
          Parse a query and output the results.
protected  void init()
          Configure the RDF store manager.
 
Methods inherited from class com.mkdoc.tag.AbstractQueryTag
configureStoreManager, getQueryUrl, setQueryUrl
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, 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

StoreBrowseTag

public StoreBrowseTag()
Method Detail

init

protected final void init()
                   throws javax.servlet.jsp.JspException
Configure the RDF store manager.

Throws:
javax.servlet.jsp.JspException - If the store cannot be loaded.
Since:
Version 0.1 2005-11-18

doStartTag

public final int doStartTag()
                     throws javax.servlet.jsp.JspException
Parse a query and output the results.

The appropriate content type should be set in the JSP template.

Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport
Returns:
The skip body message.
Throws:
javax.servlet.jsp.JspException - If there is a problem issuing a server error response.
Since:
Version 0.1 2005-11-18