com.hp.hpl.deli
Class UAProfValidatorImpl

java.lang.Object
  extended bycom.hp.hpl.deli.UAProfValidatorImpl
All Implemented Interfaces:
com.hp.hpl.jena.rdf.model.RDFErrorHandler

public class UAProfValidatorImpl
extends java.lang.Object
implements com.hp.hpl.jena.rdf.model.RDFErrorHandler

This class uses Jena to validate a profile using the schemas it references

Author:
Charles Smith HP Labs Bristol

Field Summary
(package private)  boolean currentProfileValidRDF
           
(package private)  int invalidProfiles
           
(package private)  int invalidRDF
           
private  com.hp.hpl.jena.rdf.arp.JenaReader myARPReader
           
(package private)  boolean profileValidFlag
           
(package private)  boolean truststamp
           
(package private)  int unreachableProfiles
           
(package private)  int validProfiles
           
 
Constructor Summary
(package private) UAProfValidatorImpl()
           
 
Method Summary
 void error(java.lang.Exception e)
           
 void fatalError(java.lang.Exception e)
           
(package private)  boolean process(java.lang.String profile)
           
(package private)  void results()
           
(package private)  void setTruststamp(boolean _truststamp)
           
 void warning(java.lang.Exception e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

validProfiles

int validProfiles

invalidProfiles

int invalidProfiles

unreachableProfiles

int unreachableProfiles

invalidRDF

int invalidRDF

currentProfileValidRDF

boolean currentProfileValidRDF

profileValidFlag

boolean profileValidFlag

truststamp

boolean truststamp

myARPReader

private com.hp.hpl.jena.rdf.arp.JenaReader myARPReader
Constructor Detail

UAProfValidatorImpl

UAProfValidatorImpl()
Method Detail

setTruststamp

void setTruststamp(boolean _truststamp)

process

boolean process(java.lang.String profile)

results

void results()

warning

public void warning(java.lang.Exception e)
Specified by:
warning in interface com.hp.hpl.jena.rdf.model.RDFErrorHandler

error

public void error(java.lang.Exception e)
Specified by:
error in interface com.hp.hpl.jena.rdf.model.RDFErrorHandler

fatalError

public void fatalError(java.lang.Exception e)
Specified by:
fatalError in interface com.hp.hpl.jena.rdf.model.RDFErrorHandler