|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.tudarmstadt.ukp.jwktl.api.entry.Quotation
@Persistent public class Quotation
A quotation consists of a quotation source and a list of real quotations.
For example:
quotation source:2001 — Eoin Colfer, Artemis Fowl, p 221
quotations:Then you could say that the doorway exploded. But the particular verb doesn't do the action justice. Rather, it shattered into infinitesimal pieces.
Constructor Summary | |
---|---|
Quotation()
Initializes the list of text lines. |
Method Summary | |
---|---|
void |
addLine(IWikiString line)
Add a quotation line, i.e. the text of a quotation. |
List<IWikiString> |
getLines()
Returns the text of the quotation as a list of IWikiString s. |
IWikiString |
getSource()
Returns the source of the quotation. |
void |
setSource(IWikiString source)
Assigns the given WikiString as the source of the quotation,
i.e. its author and publishing reference. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Quotation()
Method Detail |
---|
public IWikiString getSource()
IQuotation
getSource
in interface IQuotation
public void setSource(IWikiString source)
WikiString
as the source of the quotation,
i.e. its author and publishing reference.
public void addLine(IWikiString line)
public List<IWikiString> getLines()
IQuotation
IWikiString
s.
getLines
in interface IQuotation
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |