|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--uk.ac.man.cs.img.owl.util.Validator
Harness to run validation. Takes a URI and attempts to validate as OWL DL. If required, detailed error reports can be generated describing exactly *why* the ontology is not in DL.
java uk.ac.man.cs.img.owl.util.Validator [options] input [output]
where the options are:
--output -o output file
--help -? Print help message
The input should be a URL. If output is
requested ( flags), then output will be written to
output if present, stdout by default.
$Id: Validator.java,v 1.5 2004/01/08 10:13:56 sean_bechhofer Exp $
| Field Summary |
| Fields inherited from interface org.semanticweb.owl.validation.OWLValidationConstants |
BUILTINREDEFINITION, CARDINALITY, COMPLEMENT, COMPLETE, COMPLEXTRANSITIVE, DATARANGE, DATATYPE, DIFFERENTINDIVIDUAL, DISJOINT, DL, EQUIVALENCE, EQUIVALENTPROPERTY, EXPRESSIONINAXIOM, EXPRESSIONINRESTRICTION, FULL, FUNCTIONAL, INDIVIDUALDATA, INDIVIDUALS, INTERSECTION, INVERSE, INVERSEFUNCTIONAL, LITE, ONEOF, OWLNAMESPACEUSED, PARTIAL, RELATEDINDIVIDUALS, SAMEINDIVIDUAL, SEPARATIONVIOLATION, SUBCLASS, SUBPROPERTY, SYMMETRIC, TRANSITIVE, UNION, UNKNOWN, UNTYPEDINDIVIDUAL, ZEROONECARDINALITY |
| Constructor Summary | |
Validator()
|
|
| Method Summary | |
Set |
getCodes()
Get the condition codes encountered during the processing |
String |
getHeaders()
Get the headers for condition codes |
boolean |
getResult()
Get the result of validation |
String |
getSummary()
Get a summary of the results |
static String |
level(int l)
|
static void |
main(String[] args)
|
void |
setLevel(int level)
Set the required level of validation |
void |
setURI(URI uri)
Set the URI to validate |
static void |
usage()
|
void |
validate()
Do the validation |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Validator()
| Method Detail |
public void setURI(URI uri)
public void setLevel(int level)
public boolean getResult()
public Set getCodes()
public String getSummary()
public String getHeaders()
public void validate()
throws OWLException
OWLExceptionpublic static void main(String[] args)
public static void usage()
public static String level(int l)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||