|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.droplet.NullableTagConverter
public class NullableTagConverter
This converter allows a property value to be set to null by returning the special SET_TO_NULL value for an empty String.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
Constructor Summary | |
---|---|
NullableTagConverter()
|
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 NullableTagConverter()
Method Detail |
---|
public TagAttributeDescriptor[] getTagAttributeDescriptors()
TagConverter
getTagAttributeDescriptors
in interface TagConverter
public 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 TagConverter
pRequest
- 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 TagConverter
pRequest
- 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 |