|
| translate ($json_str, $builder) |
|
| decode ($owllink_str, $jsonbuilder) |
|
| merge_answer ($json_o, $json_new) |
|
| __construct () |
|
| translate ($json, $build) |
|
| decode ($owl, $jsonbuild) |
|
| translate_queries ($json, $builder) |
|
| analize_answer ($reasoner_query, $reasoner_answer, $owl2) |
|
| get_answer () |
|
| compare_subsumptions ($json_o, $json_new, $jsonbuilder) |
|
| merge_answer ($json_o, $json_new) |
|
decode |
( |
|
$owllink_str, |
|
|
|
$jsonbuilder |
|
) |
| |
Translate an OWLlink into a JSON depending how can the ontology be drawn.
- Each Class is a Class concept in DL.
- Subclasses just generalize their direct superclasses or TOP.
- Parameters
-
owllink_str | A XML file. |
builder | A Wicom subclass instance. |
- See also
- Translator class for description about the JSON format.
- Todo:
- Here coding a XML parser for ontologies and UML.
merge_answer |
( |
|
$json_o, |
|
|
|
$json_new |
|
) |
| |
translate |
( |
|
$json_str, |
|
|
|
$builder |
|
) |
| |
Translate a JSON String into another format depending on the given Builder.
- Each Class is a Class concept in DL.
- Subclasses just generalize their direct superclasses or TOP.
- Parameters
-
json_str | A String with a diagram representation in JSON format. |
builder | A Wicom subclass instance. |
- See also
- Translator class for description about the JSON format.
translate_attributes |
( |
|
$json, |
|
|
|
$builder |
|
) |
| |
|
abstractprotected |
translate_links |
( |
|
$json, |
|
|
|
$builder |
|
) |
| |
|
abstractprotected |
Translate only the links from a JSON string with links using the given builder.
- Parameters
-
json | A JSON object, the result from a decoded JSON String. |
- Returns
- false if no "links" part has been provided.
The documentation for this class was generated from the following file:
- web-src/wicom/translator/strategies/uml.php