Salt  3.3.6-SNAPSHOT
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

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
static SaltProject org.corpus_tools.salt.SaltFactory.createSaltProject ( )
static

Creates a new SaltProject.

Returns
new SaltProject object
static SAnnotation org.corpus_tools.salt.SaltFactory.createSAnnotation ( )
static

Creates a new SAnnotation object of type SAnnotation.

Returns
new SAnnotation object
static SCatAnnotation org.corpus_tools.salt.SaltFactory.createSCatAnnotation ( )
static

Creates a new SCatAnnotation object.

Returns
new SCatAnnotation object
static SCorpus org.corpus_tools.salt.SaltFactory.createSCorpus ( )
static

Creates a new SCorpus object.

Returns
new SCorpus object
static SCorpusDocumentRelation org.corpus_tools.salt.SaltFactory.createSCorpusDocumentRelation ( )
static

Creates a new SCorpusDocumentRelation object.

Returns
new SCorpusDocumentRelation object
static SCorpusGraph org.corpus_tools.salt.SaltFactory.createSCorpusGraph ( )
static

Creates a new SCorpusGraph object.

Returns
new SCorpusGraph object
static SCorpusRelation org.corpus_tools.salt.SaltFactory.createSCorpusRelation ( )
static

Creates a new SCorpusRelation object.

Returns
new SCorpusRelation object
static SDocument org.corpus_tools.salt.SaltFactory.createSDocument ( )
static

Creates a new SDocument object.

Returns
new SDocument object
static SDocumentGraph org.corpus_tools.salt.SaltFactory.createSDocumentGraph ( )
static

Creates a new SDocumentGraph object.

Returns
new SDocumentGraph object
static SDominanceRelation org.corpus_tools.salt.SaltFactory.createSDominanceRelation ( )
static

Creates a new SDominanceRelation object.

Returns
new SDominanceRelation object
static SFeature org.corpus_tools.salt.SaltFactory.createSFeature ( )
static

Creates a new SFeature object of type SFeature.

Returns
new SFeature object
static SGraph org.corpus_tools.salt.SaltFactory.createSGraph ( )
static

Creates a new SGraph object of type SGraph.

Returns
new SGraph object
static SLayer org.corpus_tools.salt.SaltFactory.createSLayer ( )
static

Creates a new SLayer object of type SLayer.

Returns
new SLayer object
static SLemmaAnnotation org.corpus_tools.salt.SaltFactory.createSLemmaAnnotation ( )
static

Creates a new SLemmaAnnotation object.

Returns
new SLemmaAnnotation object
static SMedialDS org.corpus_tools.salt.SaltFactory.createSMedialDS ( )
static

Creates a new SMedialDS object.

Returns
new SMedialDS object
static SMedialRelation org.corpus_tools.salt.SaltFactory.createSMedialRelation ( )
static

Creates a new SMedialRelation object.

Returns
new SMedialRelation object
static SMetaAnnotation org.corpus_tools.salt.SaltFactory.createSMetaAnnotation ( )
static

Creates a new SMetaAnnotation object of type SMetaAnnotation.

Returns
new SMetaAnnotation object
static SNode org.corpus_tools.salt.SaltFactory.createSNode ( )
static

Creates a new SNode object of type SNode.

Returns
new SNode object
static SOrderRelation org.corpus_tools.salt.SaltFactory.createSOrderRelation ( )
static

Creates a new SOrderRelation object.

Returns
new SOrderRelation object
static SPointingRelation org.corpus_tools.salt.SaltFactory.createSPointingRelation ( )
static

Creates a new SPointingRelation object.

Returns
new SPointingRelation object
static SPOSAnnotation org.corpus_tools.salt.SaltFactory.createSPOSAnnotation ( )
static

Creates a new SPOSAnnotation object.

Returns
new SPOSAnnotation object
static SProcessingAnnotation org.corpus_tools.salt.SaltFactory.createSProcessingAnnotation ( )
static

Creates a new SProcessingAnnotation object of type SProcessingAnnotation.

Returns
new SProcessingAnnotation object
static SRelation<SNode, SNode> org.corpus_tools.salt.SaltFactory.createSRelation ( )
static

Creates a new SRelation object of type SRelation.

Returns
new SRelation object
static SSentenceAnnotation org.corpus_tools.salt.SaltFactory.createSSentenceAnnotation ( )
static

Creates a new SSentenceAnnotation object.

Returns
new SSentenceAnnotation object
static SSpan org.corpus_tools.salt.SaltFactory.createSSpan ( )
static

Creates a new SSpan object.

Returns
new SSpan object
static SSpanningRelation org.corpus_tools.salt.SaltFactory.createSSpanningRelation ( )
static

Creates a new SSpanningRelation object.

Returns
new SSpanningRelation object
static SStructure org.corpus_tools.salt.SaltFactory.createSStructure ( )
static

Creates a new SStructure object.

Returns
new SStructure object
static STextualDS org.corpus_tools.salt.SaltFactory.createSTextualDS ( )
static

Creates a new STextualDS object.

Returns
new STextualDS object
static STextualRelation org.corpus_tools.salt.SaltFactory.createSTextualRelation ( )
static

Creates a new STextualRelation object.

Returns
new STextualRelation object
static STimeline org.corpus_tools.salt.SaltFactory.createSTimeline ( )
static

Creates a new STimeline object.

Returns
new STimeline object
static STimelineRelation org.corpus_tools.salt.SaltFactory.createSTimelineRelation ( )
static

Creates a new STimelineRelation object.

Returns
new STimelineRelation object
static SToken org.corpus_tools.salt.SaltFactory.createSToken ( )
static

Creates a new SToken object.

Returns
new SToken object
static STypeAnnotation org.corpus_tools.salt.SaltFactory.createSTypeAnnotation ( )
static

Creates a new STypeAnnotation object.

Returns
new STypeAnnotation object
static SWordAnnotation org.corpus_tools.salt.SaltFactory.createSWordAnnotation ( )
static

Creates a new SWordAnnotation object.

Returns
new SWordAnnotation object
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.
static void org.corpus_tools.salt.SaltFactory.setFactory ( ISaltFactory  factory)
static

Returns the internal factory to create Salt objects.

Parameters
factoryinternal factory