WICOM
 All Data Structures Namespaces Files Functions Variables Pages
Public Member Functions | Protected Member Functions
UML Class Reference
Inheritance diagram for UML:
Strategy Berardi UMLcrowd

Public Member Functions

 translate ($json_str, $builder)
 
 decode ($owllink_str, $jsonbuilder)
 
 merge_answer ($json_o, $json_new)
 
- Public Member Functions inherited from Strategy
 __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)
 

Protected Member Functions

 translate_attributes ($json, $builder)
 
 translate_links ($json, $builder)
 

Additional Inherited Members

- Protected Attributes inherited from Strategy
 $qapack = null
 

Member Function Documentation

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_strA XML file.
builderA 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_strA String with a diagram representation in JSON format.
builderA 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
jsonA 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: