Home » displaytag-1.1.1-src » org » displaytag » util » [javadoc | source]
org.displaytag.util
public class: ParamEncoder [javadoc | source]
java.lang.Object
   org.displaytag.util.ParamEncoder

All Implemented Interfaces:
    Serializable

Simple utility class for encoding parameter names.
Constructor:
 public ParamEncoder(String idAttribute) 
    Generates a new parameter encoder for the table with the given id.
    Parameters:
    idAttribute - value of "id" attribute
Method from org.displaytag.util.ParamEncoder Summary:
encodeParameterName,   isParameterEncoded
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.displaytag.util.ParamEncoder Detail:
 public String encodeParameterName(String paramName) 
    encode a parameter name prepending calculated parameterIdentifier.
 public boolean isParameterEncoded(String paramName) 
    Check if the given parameter has been encoded using paramEncoder. It actually check if the parameter name starts with the calculated parameterIdentifier. Null safe (a null string returns false).