|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatg.droplet.DateTagConverter
public class DateTagConverter
Performs conversion to and from Date objects in jhtml tags.
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_VERSION
|
| Constructor Summary | |
|---|---|
DateTagConverter()
|
|
| Method Summary | |
|---|---|
java.lang.String |
convertObjectToString(DynamoHttpServletRequest pRequest,
java.lang.Object pValue,
java.util.Properties pAttributes)
Converts the supplied Object value to a String value. |
java.lang.Object |
convertStringToObject(DynamoHttpServletRequest pRequest,
java.lang.String pValue,
java.util.Properties pAttributes)
Converts the supplied String value to an Object value. |
java.lang.String |
getName()
Returns the unique name for the TagConverter. |
TagAttributeDescriptor[] |
getTagAttributeDescriptors()
Returns the list of TagAttributeDescriptors which are used by this converter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.lang.String CLASS_VERSION
| Constructor Detail |
|---|
public DateTagConverter()
| Method Detail |
|---|
public TagAttributeDescriptor[] getTagAttributeDescriptors()
TagConverter
getTagAttributeDescriptors in interface TagConverterpublic java.lang.String getName()
TagConverter
getName in interface TagConverter
public java.lang.Object convertStringToObject(DynamoHttpServletRequest pRequest,
java.lang.String pValue,
java.util.Properties pAttributes)
throws TagConversionException
TagConverter
convertStringToObject in interface TagConverterpRequest - the request object for this conversion. This object
can be null if the conversion is not performed in the context of
a request.pValue - The original String value to be converted.pAttributes - The list of attributes in the tag that is invoking
this converter.
TagConversionException - if the conversion failed.
public java.lang.String convertObjectToString(DynamoHttpServletRequest pRequest,
java.lang.Object pValue,
java.util.Properties pAttributes)
throws TagConversionException
TagConverter
convertObjectToString in interface TagConverterpRequest - the request this conversion applies to. You can use
this request to obtain the RequestLocale to localize the conversion
process. This can be null if the conversion is not performed in
the context of a request.pValue - the Object value to be converted to a StringpAttributes - the set of attributes supplied in this tag
declaration.
TagConversionException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||