|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsalsa.corpora.elements.Part
public class Part
Represents the 'part' section of a SalsaXML corpus.
Constructor Summary | |
---|---|
Part(java.lang.String word,
Id id)
Default constructor that takes the values of the 'word' and 'id' attributes as arguments. |
Method Summary | |
---|---|
Id |
getId()
Returns the Id . |
java.lang.String |
getWord()
Returns the value of 'word'. |
static java.lang.String |
getXmltag()
Returns the XML element name of Part , i. e. |
void |
setId(Id id)
Sets the Id . |
void |
setWord(java.lang.String word)
Sets the value of 'word'. |
java.lang.String |
toString()
Returns a recursively created XML representation of this Part . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Part(java.lang.String word, Id id)
word
- id
- Method Detail |
---|
public Id getId()
Id
.
public java.lang.String getWord()
public static java.lang.String getXmltag()
Part
, i. e. 'part'.
public void setId(Id id)
Id
.
id
- the id to setpublic void setWord(java.lang.String word)
word
- the word to setpublic java.lang.String toString()
Part
.
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |