com.ejie.r01f.taglibs.xtags
Class ObjectTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.servlet.jsp.tagext.BodyTagSupport
          extended bycom.ejie.r01f.taglibs.xtags.BaseXTag
              extended bycom.ejie.r01f.taglibs.xtags.ObjectTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class ObjectTag
extends BaseXTag

Clase base para los elementos de un formulario html como ejemplo de utilización ver el siguiente ejemplo: .... .... ... .... .... Para obtener este xml se utilizarán por ejemplo la siguiente estructura de xtags: Todo esto se refleja en un objeto XTag en memoria que almacena la información necesaria para generar JavaScript. La estructura de un XTag se ve en los siguientes ejemplos: proyecto.interlocutor.nombre seria. XTag (proyecto - objeto) XTag (Interlocutor - objeto) XTag (nombre - propiedad) XTag (direccion - propiedad) En el caso de una lista: proyecto.presupuestos.presupuesto.valor XTag (proyecto - objeto) XTagElement (Presupuestos - lista) XTag (Presupuesto - objeto) XTag (Valor - propiedad)

See Also:
Serialized Form

Field Summary
 
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
ObjectTag()
           
 
Method Summary
 int doAfterBody()
          Process the body of this tag.
 int doEndTag()
          Process the end of this tag.
 int doStartTag()
          Process the start of this tag.
 void release()
          Libera recursos
 
Methods inherited from class com.ejie.r01f.taglibs.xtags.BaseXTag
getCheck, getFullPathName, getGenerateHTML, getGenerateJS, getId, getIsAttribute, getIsCDATA, getName, getXmlElemName, setCheck, setGenerateHTML, setGenerateJS, setId, setIsAttribute, setIsCDATA, setName, setXmlElemName
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doInitBody, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Constructor Detail

ObjectTag

public ObjectTag()
Method Detail

release

public void release()
Libera recursos

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

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Process the start of this tag.

Throws:
javax.servlet.jsp.JspException - if a JSP exception has occurred

doAfterBody

public int doAfterBody()
Process the body of this tag.


doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Process the end of this tag.

Throws:
javax.servlet.jsp.JspException - if a JSP exception has occurred