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

Inherits org.corpus_tools.salt.common.impl.SSequentialDSImpl< String, Integer >, and org.corpus_tools.salt.common.STextualDS.

Public Member Functions

 STextualDSImpl ()
 Initializes an object of type SLayerImpl.
 
 STextualDSImpl (Node delegate)
 Initializes an object of type SLayerImpl. More...
 
String getText ()
 
void setText (String newSText)
 
SDocumentGraph getGraph ()
 Returns the document structure object which contains this element.
Returns
document structure

 
void setGraph (@SuppressWarnings("rawtypes") Graph graph)
 
Integer getStart ()
 {@inheritDoc SSequentialDS::getSStart()}. More...
 
Integer getEnd ()
 {@inheritDoc SSequentialDS::getSEnd()}. More...
 
List< STokentokenize ()
 Bug fix 69. More...
 
- Public Member Functions inherited from org.corpus_tools.salt.common.impl.SSequentialDSImpl< String, Integer >
 SSequentialDSImpl ()
 Initializes an object of type SLayerImpl.
 
 SSequentialDSImpl (Node delegate)
 Initializes an object of type SLayerImpl. More...
 
getData ()
 
void setData (D newSData)
 
SDocumentGraph getGraph ()
 
void setGraph ( @SuppressWarnings("rawtypes") Graph graph)
 
abstract P getStart ()
 {@inheritDoc SSequentialDS::getSStart()}
 
abstract P getEnd ()
 {@inheritDoc SSequentialDS::getSStart()}
 
- Public Member Functions inherited from org.corpus_tools.salt.common.SSequentialDS< String, Integer >
getData ()
 
void setData (D value)
 
getStart ()
 
getEnd ()
 

Constructor & Destructor Documentation

◆ STextualDSImpl()

org.corpus_tools.salt.common.impl.STextualDSImpl.STextualDSImpl ( Node  delegate)

Initializes an object of type SLayerImpl.

If delegate is not null, all functions of this method are delegated to the delegate object. Setting delegate makes this object to a container.

Parameters
adelegate object of the same type.

Member Function Documentation

◆ getEnd()

Integer org.corpus_tools.salt.common.impl.STextualDSImpl.getEnd ( )

{@inheritDoc SSequentialDS::getSEnd()}.

If a text was set returns it's length, null otherwise

◆ getStart()

Integer org.corpus_tools.salt.common.impl.STextualDSImpl.getStart ( )

{@inheritDoc SSequentialDS::getSStart()}.

If a text was set returns 0, null otherwise

◆ tokenize()

List<SToken> org.corpus_tools.salt.common.impl.STextualDSImpl.tokenize ( )

Bug fix 69.

Implements fast access to tokenization of a STextualDS. Simply duplicates the functionality of SDocumentGraphImpl#tokenize(), but only with respect to this object.

Implements org.corpus_tools.salt.common.STextualDS.