Public Types

cogitant.base.IOHandler Interface Reference

Input/Output handler. More...

List of all members.

Public Types

enum  Format {
  AUTO, BCGCT, LINEARFORM, CGIF,
  COGXML, FIG, COGXML2, RDFXML,
  RDFN3, XMLSPECIAL
}
 

File formats.

More...
enum  ConfigPropertyBool {
  KEEPGRAPHOBJECTIDENTIFIERS, AUTOCREATETYPES, AUTOCREATEINDIVIDUALS, IGNOREREDECLARATIONINDIVIDUALS,
  AUTOWRITESUPPORTINDIVIDUALS
}
 

I/O Configuration.

More...

Detailed Description

Input/Output handler.


Member Enumeration Documentation

I/O Configuration.

See also:
cogitant.base.Environment.setIOConfig().
Enumerator:
KEEPGRAPHOBJECTIDENTIFIERS 

Keep object identifiers (from input files) in the Property.IDENTIFIER property.

Note that identifiers are not kept while reading a rule or an individual graph: a rule or individual graph may be applied several times on a given graph, so the obtained graph may contain several nodes with the same identifier if nodes coming from rules/individual graphs have an identifier. default : false.

AUTOCREATETYPES 

Auto create concept/relation/nesting/data types when reading graph/rules.

default : false.

AUTOCREATEINDIVIDUALS 

Auto create individuals types when reading graph/rules.

default : false.

IGNOREREDECLARATIONINDIVIDUALS 

Ignore new declarations of previously defined individuals while loading a support.

default : false.

AUTOWRITESUPPORTINDIVIDUALS 

Write a support with declarations of individuals when a graph/rule is written.

default : false.

File formats.

Enumerator:
AUTO 

Automatic format or no format.

BCGCT 

BCGCT.

LINEARFORM 

Linear form.

CGIF 

CGIF.

COGXML 

CoGXML.

FIG 

XFig.

COGXML2 

CoGXML2.

RDFXML 

RDF/XML.

RDFN3 

RDF-N3.

XMLSPECIAL 

XML autodetext (COGXML, COGXML2, RDFXML).