Salt  3.4.2
A powerful, tagset-independent and theory-neutral meta model and API for storing, manipulating, and representing nearly all types of linguistic data .
org.corpus_tools.salt.graph.IGraphFactory Interface Reference

Inherited by org.corpus_tools.salt.graph.impl.GraphFactoryImpl, and org.corpus_tools.salt.ISaltFactory.

Public Member Functions

abstract Graph< Node, Relation< Node, Node >, Layer< Node, Relation< Node, Node > > > createGraph ()
 Creates a new Graph object of type GraphImpl. More...
 
abstract Node createNode ()
 Creates a new Node object of type NodeImpl. More...
 
abstract Relation< Node, NodecreateRelation ()
 Creates a new Relation object of type RelationImpl. More...
 
abstract Label createLabel ()
 Creates a new Label object of type LabelImpl. More...
 
abstract Identifier createIdentifier (IdentifiableElement container, String id)
 Creates a new Identifier object of type IdentifierImpl. More...
 
abstract Layer< Node, Relation< Node, Node > > createLayer ()
 Creates a new Layer object. More...
 

Member Function Documentation

◆ createGraph()

abstract Graph<Node, Relation<Node, Node>, Layer<Node, Relation<Node, Node> > > org.corpus_tools.salt.graph.IGraphFactory.createGraph ( )
abstract

◆ createIdentifier()

abstract Identifier org.corpus_tools.salt.graph.IGraphFactory.createIdentifier ( IdentifiableElement  container,
String  id 
)
abstract

Creates a new Identifier object of type IdentifierImpl.

Its IdentifiableElement is set to the passed container and its id value is set to passed id.

Parameters
containerIdentifiableElement which contains this Identifier
idthe id value of the Identifier
Returns
new Identifier object

Implemented in org.corpus_tools.salt.graph.impl.GraphFactoryImpl.

◆ createLabel()

abstract Label org.corpus_tools.salt.graph.IGraphFactory.createLabel ( )
abstract

Creates a new Label object of type LabelImpl.

The value of this label is defined to be of type String. To use another value type, use one of the other create methods createLabelXXX() or the generic method createLabel(Class).

Returns
new Label object

Implemented in org.corpus_tools.salt.extensions.notification.SaltNotificationFactory, and org.corpus_tools.salt.graph.impl.GraphFactoryImpl.

◆ createLayer()

abstract Layer<Node, Relation<Node, Node> > org.corpus_tools.salt.graph.IGraphFactory.createLayer ( )
abstract

Creates a new Layer object.

A layer is a kind of a subgraph, which can contain nodes, relations and other layers.

Returns
new layer object

Implemented in org.corpus_tools.salt.extensions.notification.SaltNotificationFactory, and org.corpus_tools.salt.graph.impl.GraphFactoryImpl.

◆ createNode()

abstract Node org.corpus_tools.salt.graph.IGraphFactory.createNode ( )
abstract

◆ createRelation()

abstract Relation<Node, Node> org.corpus_tools.salt.graph.IGraphFactory.createRelation ( )
abstract