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.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. More...
 
 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 ()
 { SSequentialDS::getSStart()}. More...
 
Integer getEnd ()
 { 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. More...
 
 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 ()
 { SSequentialDS::getSStart()}
 
abstract P getEnd ()
 { 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

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

Initializes an object of type SLayerImpl.

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

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

{ SSequentialDS::getSEnd()}.

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

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

{ SSequentialDS::getSStart()}.

If a text was set returns 0, null otherwise

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.