org.mentawai.tag.html
Class HTMLTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by org.mentawai.tag.util.PrintTag
              extended by org.mentawai.tag.html.HTMLTag
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
Base, Form, Input, ListCheckbox, ListRadio, Select, Submit, TextArea

public abstract class HTMLTag
extends PrintTag

Author:
Sergio Oliveira
See Also:
Serialized Form

Field Summary
protected  boolean cript
           
 
Fields inherited from class org.mentawai.tag.util.PrintTag
action, application, loc, maxToPrint, noHTML, req, res, session
 
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
HTMLTag()
           
 
Method Summary
protected  boolean contains(int[] values, int x)
           
protected  boolean contains(String[] values, String x)
           
protected  Object findObject(String name)
           
protected  Object findObject(String name, boolean tryBoolean, boolean inputFirst)
           
protected  String findValue(String name)
           
protected  String findValue(String name, boolean tryBoolean, boolean inputFirst)
           
protected  String[] findValues(String name)
           
protected  String[] findValues(String name, boolean tryBoolean, boolean inputFirst)
           
protected  String getExtraAttributes()
           
protected  String processCriptedName(String v)
           
protected  String processCriptValue(String s)
           
 void setCript(boolean cript)
           
 void setExtra(String extra)
           
 void setSeparator(String separator)
           
 
Methods inherited from class org.mentawai.tag.util.PrintTag
doEndTag, doStartTag, getBody, getBooleanValue, getSessionObj, getStringToPrint, getValue, getValue, getValue, getValue, getValue, setMax, setNoHTML
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, 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
 

Field Detail

cript

protected boolean cript
Constructor Detail

HTMLTag

public HTMLTag()
Method Detail

setCript

public void setCript(boolean cript)

setExtra

public void setExtra(String extra)

setSeparator

public void setSeparator(String separator)

processCriptValue

protected String processCriptValue(String s)
Parameters:
s - tag that its values will be cripted
Returns:
html with values cripteds

processCriptedName

protected String processCriptedName(String v)
Parameters:
v - tag that its name will be changed to cript pattern
Returns:
html with name cripted

getExtraAttributes

protected String getExtraAttributes()

findObject

protected Object findObject(String name)

findObject

protected Object findObject(String name,
                            boolean tryBoolean,
                            boolean inputFirst)

findValue

protected String findValue(String name)

findValue

protected String findValue(String name,
                           boolean tryBoolean,
                           boolean inputFirst)

contains

protected boolean contains(int[] values,
                           int x)

contains

protected boolean contains(String[] values,
                           String x)

findValues

protected String[] findValues(String name)

findValues

protected String[] findValues(String name,
                              boolean tryBoolean,
                              boolean inputFirst)


Copyright © 2013. All Rights Reserved.