com.mkdoc.tag
Class AbstractQueryTag

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

public abstract class AbstractQueryTag
extends AbstractApplicationProfileTag

An abstract superclass for preparing store access.

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

Field Summary
protected static StoreManager manager
          The query 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
AbstractQueryTag()
           
 
Method Summary
protected  void configureStoreManager()
          Configure the RDF store for service.
 java.lang.String getQueryUrl()
          Get the query URL attribute.
 void setQueryUrl(java.lang.String url)
          Encode the query URL attribute.
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, doStartTag, 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
 

Field Detail

manager

protected static StoreManager manager
The query manager

Since:
Version 0.1 2005-11-18
Constructor Detail

AbstractQueryTag

public AbstractQueryTag()
Method Detail

configureStoreManager

protected final void configureStoreManager()
                                    throws javax.servlet.jsp.JspException
Configure the RDF store for service.

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

setQueryUrl

public final void setQueryUrl(java.lang.String url)
Encode the query URL attribute.

Parameters:
url - A query URL for the form, relative to the server root.
Since:
Version 0.1 2005-11-18

getQueryUrl

public final java.lang.String getQueryUrl()
Get the query URL attribute.

Returns:
An encoded query URL for the request.
Since:
Version 0.8 2005-09-12