commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Zatko <zatko...@comcast.net>
Subject [Digester] Handling Null values
Date Mon, 22 Nov 2004 18:06:43 GMT
I am trying to parse a document which has a Timestamp element which may 
or may not be null. Does anyone know how to setup the addCallMethod to 
handle this situation?

The one i've tried is as follows:

digester.addCallMethod(root + orderClass + 
"/payments/payment/expiration-date", "setExpirationDate", 0, new 
String[] {"java.sql.Timestamp"});

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message