edu.uoc.pfc.j2ee.jalonsod.mtp.request.taglib
Class GetProperty

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by edu.uoc.pfc.j2ee.jalonsod.mtp.request.taglib.GetProperty
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class GetProperty
extends javax.servlet.jsp.tagext.TagSupport

File: GetProperty.java Created: 2012-05-15 Support class for getProperty tag. Reads a property from a Java Bean stored in the page context.

Author:
José Alonso de Motta
See Also:
Serialized Form

Field Summary
private  java.lang.String attribute
           
private  java.lang.String property
           
private static long serialVersionUID
           
 
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
GetProperty()
           
 
Method Summary
 int doEndTag()
           
 int doStartTag()
           
 java.lang.String getAttribute()
           
 java.lang.String getProperty()
           
 void setAttribute(java.lang.String attribute)
           
 void setProperty(java.lang.String property)
           
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, 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

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

attribute

private java.lang.String attribute

property

private java.lang.String property
Constructor Detail

GetProperty

public GetProperty()
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.TagSupport
Throws:
javax.servlet.jsp.JspException

doEndTag

public int doEndTag()
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class javax.servlet.jsp.tagext.TagSupport

getAttribute

public java.lang.String getAttribute()

setAttribute

public void setAttribute(java.lang.String attribute)

getProperty

public java.lang.String getProperty()

setProperty

public void setProperty(java.lang.String property)