org.apache.taglibs.xtags.xpath
Class TemplateTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by org.apache.taglibs.xtags.xpath.AbstractBodyTag
              extended by org.apache.taglibs.xtags.xpath.TemplateTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag

public class TemplateTag
extends AbstractBodyTag

The body of this tag defines a stylesheet which is implemented via calling a JSP include.

Author:
James Strachan
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
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
TemplateTag()
           
 
Method Summary
protected  org.dom4j.rule.Action createAction()
           
protected  org.dom4j.rule.Pattern createPattern(java.lang.String xpath)
           
protected  org.dom4j.rule.Rule createRule()
           
 int doAfterBody()
           
 int doStartTag()
           
 org.dom4j.rule.Action getAction()
          Getter for property action.
 java.lang.String getJsp()
          Getter for property jsp.
 java.lang.String getName()
          Getter for property name.
 double getPriority()
          Getter for property priority.
 org.dom4j.rule.Rule getRule()
          Getter for property rule.
 StylesheetTag getStylesheetTag()
          Getter for property stylesheetTag.
 boolean isAvt()
          Getter for property avt.
 void release()
           
 void setAction(org.dom4j.rule.Action action)
          Setter for property action.
 void setAvt(boolean avt)
          Setter for property avt.
 void setJsp(java.lang.String jsp)
          Setter for property jsp.
 void setMatch(java.lang.String match)
           
 void setMode(java.lang.String mode)
          Setter for property mode.
 void setName(java.lang.String name)
          Setter for property name.
 void setPriority(double priority)
          Setter for property priority.
 void setRule(org.dom4j.rule.Rule rule)
          Setter for property rule.
 
Methods inherited from class org.apache.taglibs.xtags.xpath.AbstractBodyTag
handleException, logError, logError, logInfo
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doEndTag, doInitBody, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
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 javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Constructor Detail

TemplateTag

public TemplateTag()
Method Detail

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.BodyTagSupport
Throws:
javax.servlet.jsp.JspException

doAfterBody

public int doAfterBody()
                throws javax.servlet.jsp.JspException
Specified by:
doAfterBody in interface javax.servlet.jsp.tagext.IterationTag
Overrides:
doAfterBody in class javax.servlet.jsp.tagext.BodyTagSupport
Throws:
javax.servlet.jsp.JspException

release

public void release()
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class javax.servlet.jsp.tagext.BodyTagSupport

isAvt

public boolean isAvt()
Getter for property avt.

Returns:
Value of property avt.

setAvt

public void setAvt(boolean avt)
Setter for property avt.

Parameters:
avt - New value of property avt.

setMatch

public void setMatch(java.lang.String match)

getPriority

public double getPriority()
Getter for property priority.

Returns:
Value of property priority.

setPriority

public void setPriority(double priority)
Setter for property priority.

Parameters:
priority - New value of property priority.

getName

public java.lang.String getName()
Getter for property name.

Returns:
Value of property name.

setName

public void setName(java.lang.String name)
Setter for property name.

Parameters:
name - New value of property name.

getStylesheetTag

public StylesheetTag getStylesheetTag()
Getter for property stylesheetTag.

Returns:
Value of property stylesheetTag.

getAction

public org.dom4j.rule.Action getAction()
Getter for property action.

Returns:
Value of property action.

setAction

public void setAction(org.dom4j.rule.Action action)
Setter for property action.

Parameters:
action - New value of property action.

setMode

public void setMode(java.lang.String mode)
Setter for property mode.

Parameters:
mode - New value of property mode.

getJsp

public java.lang.String getJsp()
Getter for property jsp.

Returns:
Value of property jsp.

setJsp

public void setJsp(java.lang.String jsp)
Setter for property jsp.

Parameters:
jsp - New value of property jsp.

getRule

public org.dom4j.rule.Rule getRule()
Getter for property rule.

Returns:
Value of property rule.

setRule

public void setRule(org.dom4j.rule.Rule rule)
Setter for property rule.

Parameters:
rule - New value of property rule.

createRule

protected org.dom4j.rule.Rule createRule()

createPattern

protected org.dom4j.rule.Pattern createPattern(java.lang.String xpath)

createAction

protected org.dom4j.rule.Action createAction()


Copyright ? 2000-2004 The Apache Software Foundation. All Rights Reserved.