|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.daml.validator.Validator
Field Summary | |
int |
maxIndications
The maximum number of indications to show. |
static java.lang.String |
version
Version of the validator |
Constructor Summary | |
Validator()
|
|
Validator(java.lang.String preferenceFile)
|
|
Validator(java.lang.String[] args)
Create Validator and parse arguments. |
Method Summary | |
void |
addModel(com.hp.hpl.mesa.rdf.jena.model.Model model)
Adds RDF Model to the set of models used to validate against. |
void |
addURL(java.lang.String url,
boolean recurse)
|
void |
addURL(java.net.URL url,
boolean recurse)
Load URL to create a RDF Model and add that to the set of models to validate against. |
java.lang.String |
dropFileExtension(java.lang.String uri)
|
void |
initialize()
Initialize the validator by clearing out any previously loaded models. |
static void |
initializeDAMLModel(DAMLModelImpl m)
Associate predicates with the semantics of the DAML model |
static void |
main(java.lang.String[] args)
Main method for running the Validator as an application. |
void |
reset()
Resets the indications and clears the backing model used to validate against. |
void |
run()
Starts the validation process. |
static void |
usage()
|
void |
validate(com.hp.hpl.mesa.rdf.jena.model.Model validateModel,
java.lang.String uri)
Starts the validation process. |
void |
validateConsistentNamespaces(com.hp.hpl.mesa.rdf.jena.model.Model validateModel,
DAMLModelImpl overallModel)
Check the namespaces in the validateModel to see if they are identical to other namespaces with or without the file extension. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static java.lang.String version
public int maxIndications
Constructor Detail |
public Validator(java.lang.String[] args)
public Validator(java.lang.String preferenceFile) throws java.lang.Exception
public Validator() throws java.lang.Exception
Method Detail |
public static void usage()
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public void initialize()
public void reset()
public void run() throws java.lang.Exception
java.lang.Exception
public static void initializeDAMLModel(DAMLModelImpl m)
public void addModel(com.hp.hpl.mesa.rdf.jena.model.Model model) throws com.hp.hpl.mesa.rdf.jena.model.RDFException
com.hp.hpl.mesa.rdf.jena.model.RDFException
public void addURL(java.net.URL url, boolean recurse) throws com.hp.hpl.mesa.rdf.jena.model.RDFException
com.hp.hpl.mesa.rdf.jena.model.RDFException
public void addURL(java.lang.String url, boolean recurse) throws com.hp.hpl.mesa.rdf.jena.model.RDFException
com.hp.hpl.mesa.rdf.jena.model.RDFException
public void validateConsistentNamespaces(com.hp.hpl.mesa.rdf.jena.model.Model validateModel, DAMLModelImpl overallModel)
public java.lang.String dropFileExtension(java.lang.String uri)
public void validate(com.hp.hpl.mesa.rdf.jena.model.Model validateModel, java.lang.String uri) throws com.hp.hpl.mesa.rdf.jena.model.RDFException
com.hp.hpl.mesa.rdf.jena.model.RDFException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |