|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsalsa.corpora.elements.Splitword
public class Splitword
Represents the 'splitword' section in a SalsaXML corpus.
Constructor Summary | |
---|---|
Splitword(Id id)
Default constructor that takes the Id (from the 'idref' attribute)
as an argument. |
Method Summary | |
---|---|
void |
addPart(Part newPart)
Adds a new Part to this Splitword . |
Id |
getId()
Returns the Id (from the 'idref' attribute). |
java.util.ArrayList<Part> |
getParts()
Returns the list of Part elements of this Splitword . |
static java.lang.String |
getXmltag()
Returns the XML element name of Splitword , i. e. |
void |
setId(Id id)
Sets the Id (from the 'idref' attribute). |
java.lang.String |
toString()
Returns a recursively created XML representation of this Splitword . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Splitword(Id id)
Id
(from the 'idref' attribute)
as an argument.
id
- Method Detail |
---|
public void addPart(Part newPart)
Part
to this Splitword
.
public Id getId()
Id
(from the 'idref' attribute).
public java.util.ArrayList<Part> getParts()
Part
elements of this Splitword
.
public static java.lang.String getXmltag()
Splitword
, i. e. 'splitword'.
public void setId(Id id)
Id
(from the 'idref' attribute).
id
- the id to setpublic java.lang.String toString()
Splitword
.
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |