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.impl.GraphFactoryImpl Class Reference

Inherits org.corpus_tools.salt.graph.IGraphFactory.

Inherited by org.corpus_tools.salt.impl.SaltFactoryImpl.

Public Member Functions

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

Member Function Documentation

◆ createGraph()

Graph<Node, Relation<Node, Node>, Layer<Node, Relation<Node, Node> > > org.corpus_tools.salt.graph.impl.GraphFactoryImpl.createGraph ( )

◆ createIdentifier()

Identifier org.corpus_tools.salt.graph.impl.GraphFactoryImpl.createIdentifier ( IdentifiableElement  container,
String  id 
)

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

Implements org.corpus_tools.salt.graph.IGraphFactory.

◆ createLabel()

Label org.corpus_tools.salt.graph.impl.GraphFactoryImpl.createLabel ( )

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

Implements org.corpus_tools.salt.graph.IGraphFactory.

Reimplemented in org.corpus_tools.salt.extensions.notification.SaltNotificationFactory.

◆ createLayer()

Layer<Node, Relation<Node, Node> > org.corpus_tools.salt.graph.impl.GraphFactoryImpl.createLayer ( )

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

Implements org.corpus_tools.salt.graph.IGraphFactory.

Reimplemented in org.corpus_tools.salt.extensions.notification.SaltNotificationFactory.

◆ createNode()

Node org.corpus_tools.salt.graph.impl.GraphFactoryImpl.createNode ( )

Creates a new Node object of type NodeImpl.

Returns
new Node object

Implements org.corpus_tools.salt.graph.IGraphFactory.

Reimplemented in org.corpus_tools.salt.extensions.notification.SaltNotificationFactory.

◆ createRelation()

Relation<Node, Node> org.corpus_tools.salt.graph.impl.GraphFactoryImpl.createRelation ( )