|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsalsa.corpora.elements.Sentence
public class Sentence
Represents the 's' section in a SalsaXML corpus.
Constructor Summary | |
---|---|
Sentence(Id id)
Default constructor that takes the sentence 'id' as an argument. |
Method Summary | |
---|---|
Graph |
getGraph()
Returns the Graph . |
Id |
getId()
Returns the Id . |
Matches |
getMatches()
Returns the Matches . |
Semantics |
getSem()
Returns the Semantics . |
java.lang.String |
getSource()
Returns the value of 'source'. |
static java.lang.String |
getXmltag()
Returns the XML element name of Sentece , i. e. |
void |
setGraph(Graph graph)
Sets the Graph . |
void |
setId(Id id)
Sets the Id . |
void |
setMatches(Matches matches)
Sets the Matches . |
void |
setSem(Semantics sem)
Sets the Semantics . |
void |
setSource(java.lang.String source)
Sets the value of 'source'. |
java.lang.String |
toString()
Returns a recursively created XML representation of this Sentence . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Sentence(Id id)
id
- Method Detail |
---|
public Graph getGraph()
Graph
.
public Id getId()
Id
.
public Matches getMatches()
Matches
.
public Semantics getSem()
Semantics
.
public java.lang.String getSource()
public static java.lang.String getXmltag()
Sentece
, i. e. 's'.
public void setGraph(Graph graph)
Graph
.
graph
- the graph to setpublic void setId(Id id)
Id
.
id
- the id to setpublic void setMatches(Matches matches)
Matches
.
matches
- the matches to setpublic void setSem(Semantics sem)
Semantics
.
sem
- the sem to setpublic void setSource(java.lang.String source)
source
- the source to setpublic java.lang.String toString()
Sentence
.
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |