com.acsinet_solutions.cetia4.tags.support
Class TagTools

java.lang.Object
  extended by com.acsinet_solutions.cetia4.tags.support.TagTools

public final class TagTools
extends java.lang.Object

Tag related miscelaneous tools.

Author:
Santiago Arriaga

Constructor Summary
TagTools()
           
 
Method Summary
static java.util.Map<java.lang.String,java.lang.String> asMap(java.lang.Object obj)
          Evaluate an object and return it as a Map of Strings versus Strings.
static void writeFixedTag(javax.servlet.jsp.JspWriter writer, java.lang.String name, java.lang.Object value, java.lang.Object text)
          This method writes a fixed tag that is a combination of a hidden tag an a simple display value
static void writeHiddenTag(javax.servlet.jsp.JspWriter writer, java.lang.String name, java.lang.Object value)
          This method writes a fixed tag that is a combination of a hidden tag an a simple display value
static void writeSelectTag(javax.servlet.jsp.JspWriter writer, org.apache.ecs.html.Select select, java.lang.String selected, java.util.Map<java.lang.String,java.lang.String> catalog)
          This method writes a select tag, using the given values
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagTools

public TagTools()
Method Detail

writeSelectTag

public static final void writeSelectTag(javax.servlet.jsp.JspWriter writer,
                                        org.apache.ecs.html.Select select,
                                        java.lang.String selected,
                                        java.util.Map<java.lang.String,java.lang.String> catalog)
                                 throws java.io.IOException
This method writes a select tag, using the given values

Throws:
java.io.IOException

writeHiddenTag

public static void writeHiddenTag(javax.servlet.jsp.JspWriter writer,
                                  java.lang.String name,
                                  java.lang.Object value)
                           throws java.io.IOException
This method writes a fixed tag that is a combination of a hidden tag an a simple display value

Throws:
java.io.IOException

writeFixedTag

public static void writeFixedTag(javax.servlet.jsp.JspWriter writer,
                                 java.lang.String name,
                                 java.lang.Object value,
                                 java.lang.Object text)
                          throws java.io.IOException
This method writes a fixed tag that is a combination of a hidden tag an a simple display value

Throws:
java.io.IOException

asMap

public static final java.util.Map<java.lang.String,java.lang.String> asMap(java.lang.Object obj)
                                                                    throws javax.servlet.jsp.JspException
Evaluate an object and return it as a Map of Strings versus Strings. A new modifiable map is always returned.

Throws:
javax.servlet.jsp.JspException