com.crionics.jpdf.signer
Class ValidationResult
java.lang.Object
com.crionics.jpdf.signer.ValidationResult
public final class ValidationResult
- extends java.lang.Object
Gives information about a signature validation. The object can have three
states: VALID, WARNING and ERROR. Each state is associated a descrition.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
VALID
public static final int VALID
- See Also:
- Constant Field Values
WARNING
public static final int WARNING
- See Also:
- Constant Field Values
ERROR
public static final int ERROR
- See Also:
- Constant Field Values
ValidationResult
public ValidationResult(int theLevel,
int theMsg)
getLevel
public int getLevel()
- Returns:
- Returns the valiation result level: VALID, WARNING or ERROR
getMessage
public java.lang.String getMessage()
- Returns:
- Returns the msg associated with the validation.
getMessageCode
public int getMessageCode()
- Returns a unique number to identify an error message
- Returns:
- the message code - the message code can be used to identify an
message type it won't change in the future.
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 1999-2007 Crionics. All Rights Reserved.