WICOM
 All Data Structures Namespaces Files Functions Variables Pages
Public Member Functions | Data Fields
WidocoConnector Class Reference
Inheritance diagram for WidocoConnector:
Connector

Public Member Functions

 run ($input_string)
 
 check_files ($temporal_path, $widoco_path, $file_path)
 
- Public Member Functions inherited from Connector
 __construct ()
 
 run ($document)
 
 reset ()
 
 get_col_answers ()
 

Data Fields

const PROGRAM_CMD = "widoco.jar"
 
const PROGRAM_PARAMS_ONTO = " -ontFile "
 
const PROGRAM_PARAMS_FOLDER = " -outFolder "
 
const PROGRAM_PARAMS_REWRITE = " -rewriteAll "
 
const PROGRAM_PARAMS_METADATA = " -confFile "
 

Additional Inherited Members

- Protected Attributes inherited from Connector
 $col_answers = []
 

Member Function Documentation

check_files (   $temporal_path,
  $widoco_path,
  $file_path 
)

Check for program and input file existance and proper permissions.

Returns
true always
Exceptions
Exceptionwith proper message if any problem is founded.
run (   $input_string)

Execute Widoco with the given $document as input. Widoco needs to be invoked from a writable folder in order to create temporal path so that crowd should move to the current folder before invoking Widoco "cd $temporal_path"

Field Documentation

const PROGRAM_CMD = "widoco.jar"

Widoco command executes with all its parameters. Widoco generates the documentation for an OWL 2 ontology.

const PROGRAM_PARAMS_FOLDER = " -outFolder "
const PROGRAM_PARAMS_METADATA = " -confFile "
const PROGRAM_PARAMS_ONTO = " -ontFile "
const PROGRAM_PARAMS_REWRITE = " -rewriteAll "

The documentation for this class was generated from the following file: