|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object aigames.soccer.application.Validator
Constructor Summary | |
Validator(java.lang.String schemaFileName)
Validator constructor. |
Method Summary | |
java.lang.String |
getStatus()
Get validation status. |
boolean |
validate(org.dom4j.Document message)
Message validation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Validator(java.lang.String schemaFileName) throws org.iso_relax.verifier.VerifierConfigurationException, org.xml.sax.SAXException, java.io.IOException
schemaFileName
- path to the schema file
org.iso_relax.verifier.VerifierConfigurationException
- Thrown on verifier configuration error.
org.xml.sax.SAXException
- Thrown if schema is invalid.
java.io.IOException
- Thrown if schema is not found.Method Detail |
public boolean validate(org.dom4j.Document message) throws java.lang.Exception
message
-
java.lang.Exception
- Thrown when validation fails.public java.lang.String getStatus()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |