com.hp.hpl.jena.ontology.tidy
Interface CheckerResults

All Known Implementing Classes:
Checker, StreamingChecker

public interface CheckerResults

This interface provides the shared operations on the in-memory Checker and the StreamingChecker. Most of these are to do with getting the results out of the syntax checker. The ways of the invoking the two checkers diverge.

Author:
jjc

Method Summary
 Iterator getErrors()
          Answer an Iterator over SyntaxProblem's which are errors found by the syntax checker.
 Iterator getProblems()
          Answer an Iterator over SyntaxProblem's which are errors or warnings found by the syntax checker.
 String getSubLanguage()
          Which subLanguage is this document in.
 void setOptimizeMemory(boolean big)
          If set, the syntax checker will conserve space at the expense of the quality of the SyntaxProblem.longDescription() of errors.
 

Method Detail

getErrors

Iterator getErrors()
Answer an Iterator over SyntaxProblem's which are errors found by the syntax checker. If the liteFlag was set in the constructor then all OWL DL and OWL Full constructs are errors. If the liteFlag was not set, then only OWL Full constructs are errors.


getProblems

Iterator getProblems()
Answer an Iterator over SyntaxProblem's which are errors or warnings found by the syntax checker.


getSubLanguage

String getSubLanguage()
Which subLanguage is this document in.

Returns:
"Lite", "DL" or "Full".

setOptimizeMemory

void setOptimizeMemory(boolean big)
If set, the syntax checker will conserve space at the expense of the quality of the SyntaxProblem.longDescription() of errors.

Parameters:
big -


Copyright © 2000, 2001, 2002, 2003, 2004 Hewlett-Packard Development Company, LP