public interface ProfileValidationInterface
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)
throws java.lang.Exception
xmlProfile - a Profile encoded as an XML StringprofileId - an id to identify the Profile (value used in the report)
java.lang.Exception
boolean setProfileValidationContext(java.lang.String xmlProfileValidationContext)
throws java.lang.Exception
xmlProfileValidationContext - a ProfileValidationContext encoded as an XML String
java.lang.Exception
boolean validate()
throws java.lang.Exception
java.lang.Exception
java.lang.String getProfileValidationReport()
throws java.lang.Exception
java.lang.Exceptionjava.lang.String getLastExceptionMessage()