public interface ProfileValidation
This interface provides a simple interface for validating a profile. This interface is intended for use in a web-service environment. Parameters and return values are intentionally made to be simple objects.
| Method Summary | |
|---|---|
java.lang.String |
getLastExceptionMessage()
Get the messsage of the last exception caught |
java.lang.String |
getProfileValidationReport()
Get the ProfileValidationReport associated with the previous validation |
boolean |
setProfile(java.lang.String xmlProfile,
java.lang.String profileId)
Set the Profile |
boolean |
setProfileValidationContext(java.lang.String xmlProfileValidationContext)
Set the ProfileValidationContext |
boolean |
validate()
Validate the Profile using the ProfileValidationContext. |
| Method Detail |
|---|
boolean setProfile(java.lang.String xmlProfile,
java.lang.String profileId)
xmlProfile - a Profile encoded as an XML StringprofileId - an id to identify the Profile (value used in the report)
boolean setProfileValidationContext(java.lang.String xmlProfileValidationContext)
xmlProfileValidationContext - a ProfileValidationContext encoded as an XML String
boolean validate()
java.lang.String getProfileValidationReport()
java.lang.String getLastExceptionMessage()