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.SaltFactory Class Reference

Static Public Member Functions

static ISaltFactory getFactory ()
 Sets the internal factory to create Salt objects. More...
 
static void setFactory (ISaltFactory factory)
 Returns the internal factory to create Salt objects. More...
 
static Identifier createIdentifier (IdentifiableElement container, String id)
 Creates a new Identifier object of type IdentifierImpl. More...
 
static SGraph createSGraph ()
 Creates a new SGraph object of type SGraph. More...
 
static SNode createSNode ()
 Creates a new SNode object of type SNode. More...
 
static SRelation< SNode, SNodecreateSRelation ()
 Creates a new SRelation object of type SRelation. More...
 
static SAnnotation createSAnnotation ()
 Creates a new SAnnotation object of type SAnnotation. More...
 
static SMetaAnnotation createSMetaAnnotation ()
 Creates a new SMetaAnnotation object of type SMetaAnnotation. More...
 
static SProcessingAnnotation createSProcessingAnnotation ()
 Creates a new SProcessingAnnotation object of type SProcessingAnnotation. More...
 
static SFeature createSFeature ()
 Creates a new SFeature object of type SFeature. More...
 
static SLayer createSLayer ()
 Creates a new SLayer object of type SLayer. More...
 
static SaltProject createSaltProject ()
 Creates a new SaltProject. More...
 
static SCorpus createSCorpus ()
 Creates a new SCorpus object. More...
 
static SDocument createSDocument ()
 Creates a new SDocument object. More...
 
static SCorpusRelation createSCorpusRelation ()
 Creates a new SCorpusRelation object. More...
 
static SCorpusDocumentRelation createSCorpusDocumentRelation ()
 Creates a new SCorpusDocumentRelation object. More...
 
static SCorpusGraph createSCorpusGraph ()
 Creates a new SCorpusGraph object. More...
 
static SDocumentGraph createSDocumentGraph ()
 Creates a new SDocumentGraph object. More...
 
static SSpanningRelation createSSpanningRelation ()
 Creates a new SSpanningRelation object. More...
 
static SDominanceRelation createSDominanceRelation ()
 Creates a new SDominanceRelation object. More...
 
static SPointingRelation createSPointingRelation ()
 Creates a new SPointingRelation object. More...
 
static SOrderRelation createSOrderRelation ()
 Creates a new SOrderRelation object. More...
 
static STextualRelation createSTextualRelation ()
 Creates a new STextualRelation object. More...
 
static STimelineRelation createSTimelineRelation ()
 Creates a new STimelineRelation object. More...
 
static SMedialRelation createSMedialRelation ()
 Creates a new SMedialRelation object. More...
 
static SSpan createSSpan ()
 Creates a new SSpan object. More...
 
static SStructure createSStructure ()
 Creates a new SStructure object. More...
 
static STextualDS createSTextualDS ()
 Creates a new STextualDS object. More...
 
static SMedialDS createSMedialDS ()
 Creates a new SMedialDS object. More...
 
static STimeline createSTimeline ()
 Creates a new STimeline object. More...
 
static SToken createSToken ()
 Creates a new SToken object. More...
 
static SCatAnnotation createSCatAnnotation ()
 Creates a new SCatAnnotation object. More...
 
static SPOSAnnotation createSPOSAnnotation ()
 Creates a new SPOSAnnotation object. More...
 
static SLemmaAnnotation createSLemmaAnnotation ()
 Creates a new SLemmaAnnotation object. More...
 
static STypeAnnotation createSTypeAnnotation ()
 Creates a new STypeAnnotation object. More...
 
static SWordAnnotation createSWordAnnotation ()
 Creates a new SWordAnnotation object. More...
 
static SSentenceAnnotation createSSentenceAnnotation ()
 Creates a new SSentenceAnnotation object. More...
 

Member Function Documentation

◆ createIdentifier()

static Identifier org.corpus_tools.salt.SaltFactory.createIdentifier ( IdentifiableElement  container,
String  id 
)
static

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

◆ createSaltProject()

static SaltProject org.corpus_tools.salt.SaltFactory.createSaltProject ( )
static

Creates a new SaltProject.

Returns
new SaltProject object

◆ createSAnnotation()

static SAnnotation org.corpus_tools.salt.SaltFactory.createSAnnotation ( )
static

Creates a new SAnnotation object of type SAnnotation.

Returns
new SAnnotation object

◆ createSCatAnnotation()

static SCatAnnotation org.corpus_tools.salt.SaltFactory.createSCatAnnotation ( )
static

Creates a new SCatAnnotation object.

Returns
new SCatAnnotation object

◆ createSCorpus()

static SCorpus org.corpus_tools.salt.SaltFactory.createSCorpus ( )
static

Creates a new SCorpus object.

Returns
new SCorpus object

◆ createSCorpusDocumentRelation()

static SCorpusDocumentRelation org.corpus_tools.salt.SaltFactory.createSCorpusDocumentRelation ( )
static

Creates a new SCorpusDocumentRelation object.

Returns
new SCorpusDocumentRelation object

◆ createSCorpusGraph()

static SCorpusGraph org.corpus_tools.salt.SaltFactory.createSCorpusGraph ( )
static

Creates a new SCorpusGraph object.

Returns
new SCorpusGraph object

◆ createSCorpusRelation()

static SCorpusRelation org.corpus_tools.salt.SaltFactory.createSCorpusRelation ( )
static

Creates a new SCorpusRelation object.

Returns
new SCorpusRelation object

◆ createSDocument()

static SDocument org.corpus_tools.salt.SaltFactory.createSDocument ( )
static

Creates a new SDocument object.

Returns
new SDocument object

◆ createSDocumentGraph()

static SDocumentGraph org.corpus_tools.salt.SaltFactory.createSDocumentGraph ( )
static

Creates a new SDocumentGraph object.

Returns
new SDocumentGraph object

◆ createSDominanceRelation()

static SDominanceRelation org.corpus_tools.salt.SaltFactory.createSDominanceRelation ( )
static

Creates a new SDominanceRelation object.

Returns
new SDominanceRelation object

◆ createSFeature()

static SFeature org.corpus_tools.salt.SaltFactory.createSFeature ( )
static

Creates a new SFeature object of type SFeature.

Returns
new SFeature object

◆ createSGraph()

static SGraph org.corpus_tools.salt.SaltFactory.createSGraph ( )
static

Creates a new SGraph object of type SGraph.

Returns
new SGraph object

◆ createSLayer()

static SLayer org.corpus_tools.salt.SaltFactory.createSLayer ( )
static

Creates a new SLayer object of type SLayer.

Returns
new SLayer object

◆ createSLemmaAnnotation()

static SLemmaAnnotation org.corpus_tools.salt.SaltFactory.createSLemmaAnnotation ( )
static

Creates a new SLemmaAnnotation object.

Returns
new SLemmaAnnotation object

◆ createSMedialDS()

static SMedialDS org.corpus_tools.salt.SaltFactory.createSMedialDS ( )
static

Creates a new SMedialDS object.

Returns
new SMedialDS object

◆ createSMedialRelation()

static SMedialRelation org.corpus_tools.salt.SaltFactory.createSMedialRelation ( )
static

Creates a new SMedialRelation object.

Returns
new SMedialRelation object

◆ createSMetaAnnotation()

static SMetaAnnotation org.corpus_tools.salt.SaltFactory.createSMetaAnnotation ( )
static

Creates a new SMetaAnnotation object of type SMetaAnnotation.

Returns
new SMetaAnnotation object

◆ createSNode()

static SNode org.corpus_tools.salt.SaltFactory.createSNode ( )
static

Creates a new SNode object of type SNode.

Returns
new SNode object

◆ createSOrderRelation()

static SOrderRelation org.corpus_tools.salt.SaltFactory.createSOrderRelation ( )
static

Creates a new SOrderRelation object.

Returns
new SOrderRelation object

◆ createSPointingRelation()

static SPointingRelation org.corpus_tools.salt.SaltFactory.createSPointingRelation ( )
static

Creates a new SPointingRelation object.

Returns
new SPointingRelation object

◆ createSPOSAnnotation()

static SPOSAnnotation org.corpus_tools.salt.SaltFactory.createSPOSAnnotation ( )
static

Creates a new SPOSAnnotation object.

Returns
new SPOSAnnotation object

◆ createSProcessingAnnotation()

static SProcessingAnnotation org.corpus_tools.salt.SaltFactory.createSProcessingAnnotation ( )
static

Creates a new SProcessingAnnotation object of type SProcessingAnnotation.

Returns
new SProcessingAnnotation object

◆ createSRelation()

static SRelation<SNode, SNode> org.corpus_tools.salt.SaltFactory.createSRelation ( )
static

Creates a new SRelation object of type SRelation.

Returns
new SRelation object

◆ createSSentenceAnnotation()

static SSentenceAnnotation org.corpus_tools.salt.SaltFactory.createSSentenceAnnotation ( )
static

Creates a new SSentenceAnnotation object.

Returns
new SSentenceAnnotation object

◆ createSSpan()

static SSpan org.corpus_tools.salt.SaltFactory.createSSpan ( )
static

Creates a new SSpan object.

Returns
new SSpan object

◆ createSSpanningRelation()

static SSpanningRelation org.corpus_tools.salt.SaltFactory.createSSpanningRelation ( )
static

Creates a new SSpanningRelation object.

Returns
new SSpanningRelation object

◆ createSStructure()

static SStructure org.corpus_tools.salt.SaltFactory.createSStructure ( )
static

Creates a new SStructure object.

Returns
new SStructure object

◆ createSTextualDS()

static STextualDS org.corpus_tools.salt.SaltFactory.createSTextualDS ( )
static

Creates a new STextualDS object.

Returns
new STextualDS object

◆ createSTextualRelation()

static STextualRelation org.corpus_tools.salt.SaltFactory.createSTextualRelation ( )
static

Creates a new STextualRelation object.

Returns
new STextualRelation object

◆ createSTimeline()

static STimeline org.corpus_tools.salt.SaltFactory.createSTimeline ( )
static

Creates a new STimeline object.

Returns
new STimeline object

◆ createSTimelineRelation()

static STimelineRelation org.corpus_tools.salt.SaltFactory.createSTimelineRelation ( )
static

Creates a new STimelineRelation object.

Returns
new STimelineRelation object

◆ createSToken()

static SToken org.corpus_tools.salt.SaltFactory.createSToken ( )
static

Creates a new SToken object.

Returns
new SToken object

◆ createSTypeAnnotation()

static STypeAnnotation org.corpus_tools.salt.SaltFactory.createSTypeAnnotation ( )
static

Creates a new STypeAnnotation object.

Returns
new STypeAnnotation object

◆ createSWordAnnotation()

static SWordAnnotation org.corpus_tools.salt.SaltFactory.createSWordAnnotation ( )
static

Creates a new SWordAnnotation object.

Returns
new SWordAnnotation object

◆ getFactory()

static ISaltFactory org.corpus_tools.salt.SaltFactory.getFactory ( )
static

Sets the internal factory to create Salt objects.

You can inject an own factory with this method.

Returns
the internal factory.

◆ setFactory()

static void org.corpus_tools.salt.SaltFactory.setFactory ( ISaltFactory  factory)
static

Returns the internal factory to create Salt objects.

Parameters
factoryinternal factory