Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.aendvari.tethys.tag.logic
Class OperatorTag  view OperatorTag download OperatorTag.java

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended bycom.aendvari.tethys.tag.data.DataTag
          extended bycom.aendvari.tethys.tag.context.ContextTag
              extended bycom.aendvari.tethys.tag.model.ModelTreeTag
                  extended bycom.aendvari.tethys.tag.logic.LogicTag
                      extended bycom.aendvari.tethys.tag.logic.OperatorTag
All Implemented Interfaces:
com.aendvari.tethys.tag.context.ContextAncestorTag, com.aendvari.tethys.tag.data.DataAncestorTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, com.aendvari.tethys.tag.model.ModelTreeAncestorTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
EqualsTag, GreaterEqualTag, GreaterThanTag, LessEqualTag, LessThanTag

public abstract class OperatorTag
extends LogicTag

Base class for operator tags.


Nested Class Summary
static interface OperatorTag.Type
           
 
Field Summary
private  java.lang.String actualValue
          value derived from the "path"
private  boolean operatorResponse
          true/false to represent the operator response
private  java.lang.String type
          type of the operator string/number
private  java.lang.String value
          value to compare with
 
Fields inherited from class com.aendvari.tethys.tag.logic.LogicTag
response
 
Fields inherited from class com.aendvari.tethys.tag.model.ModelTreeTag
modelContext, modelContextMethod, path
 
Fields inherited from class com.aendvari.tethys.tag.context.ContextTag
context
 
Fields inherited from class com.aendvari.tethys.tag.data.DataTag
dataScope, name
 
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
OperatorTag()
           
 
Method Summary
 int doStartTag()
          Default processing of the start tag, returning SKIP_BODY.
 java.lang.String getActualValue()
           
 boolean getOperatorResponse()
           
 java.lang.String getType()
           
 java.lang.String getValue()
           
 boolean isNumberType()
           
 boolean isStringType()
           
 void release()
          Release all allocated resources.
 void setActualValue(java.lang.String actualValue)
           
 void setOperatorResponse(boolean operatorResponse)
           
 void setType(java.lang.String type)
           
 void setValue(java.lang.String value)
           
 
Methods inherited from class com.aendvari.tethys.tag.logic.LogicTag
createResponse
 
Methods inherited from class com.aendvari.tethys.tag.model.ModelTreeTag
establishModelContext, getModelContext, getModelNode, getParentModelContext, getPath, setPath
 
Methods inherited from class com.aendvari.tethys.tag.context.ContextTag
determineContext, getContext, getParentContext, setContext
 
Methods inherited from class com.aendvari.tethys.tag.data.DataTag
getDataScope, getName, setDataScope, setName
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, 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 Detail

value

private java.lang.String value
value to compare with


actualValue

private java.lang.String actualValue
value derived from the "path"


type

private java.lang.String type
type of the operator string/number


operatorResponse

private boolean operatorResponse
true/false to represent the operator response

Constructor Detail

OperatorTag

public OperatorTag()
Method Detail

getValue

public java.lang.String getValue()

setValue

public void setValue(java.lang.String value)

getActualValue

public java.lang.String getActualValue()

setActualValue

public void setActualValue(java.lang.String actualValue)

getType

public java.lang.String getType()

setType

public void setType(java.lang.String type)

getOperatorResponse

public boolean getOperatorResponse()

setOperatorResponse

public void setOperatorResponse(boolean operatorResponse)
                         throws javax.servlet.jsp.JspTagException

isStringType

public boolean isStringType()

isNumberType

public boolean isNumberType()

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspTagException
Description copied from class: javax.servlet.jsp.tagext.TagSupport
Default processing of the start tag, returning SKIP_BODY.


release

public void release()
Release all allocated resources.

Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class LogicTag