|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.diameter.packet.AvpValidatorUtilGeneric
com.ibm.diameter.packet.AvpValidatorUtilTime
public class AvpValidatorUtilTime
Class to validate an AVP of type Time. The Time format represents the number of seconds since 0h on 1 January 1900.
Field Summary | |
---|---|
static int |
REQUIRED_LENGTH
|
static int |
REQUIRED_LENGTH_VS
|
Fields inherited from class com.ibm.diameter.packet.AvpValidatorUtilGeneric |
---|
MINIMUM_LENGTH, MINIMUM_LENGTH_VS |
Fields inherited from interface com.ibm.diameter.packet.AvpValidatorUtil |
---|
UNKNOWN_AVP, VALID_AVP |
Constructor Summary | |
---|---|
AvpValidatorUtilTime()
|
Method Summary | |
---|---|
int |
validate(Avp avp,
boolean vendorSpecific)
Performs validation of the AVP |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int REQUIRED_LENGTH
public static final int REQUIRED_LENGTH_VS
Constructor Detail |
---|
public AvpValidatorUtilTime()
Method Detail |
---|
public int validate(Avp avp, boolean vendorSpecific)
AvpValidatorUtil
validate
in interface AvpValidatorUtil
validate
in class AvpValidatorUtilGeneric
avp
- The AVP to be validatedvendorSpecific
- true if this is a Vendor-Specific AVP, otherwise false
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |