modnlp.tc.dstruct
public class ParsedNewsItem extends java.lang.Object
Constructor and Description |
---|
ParsedNewsItem()
Deprecated.
|
ParsedNewsItem(java.lang.String text,
java.lang.String id)
Deprecated.
|
ParsedNewsItem(java.util.Vector categs,
java.lang.String text,
java.lang.String id)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addCategory(java.lang.String topic)
Deprecated.
|
void |
addText(java.lang.String text)
Deprecated.
|
java.util.Enumeration |
getCategories()
Deprecated.
|
java.util.Vector |
getCategVector()
Deprecated.
|
java.lang.String |
getId()
Deprecated.
Get the value of id.
|
java.lang.String |
getText()
Deprecated.
|
boolean |
isOfCategory(java.lang.String cat)
Deprecated.
|
void |
setId(java.lang.String v)
Deprecated.
Set the value of id.
|
void |
setText(java.lang.String text)
Deprecated.
|
java.lang.String |
toString()
Deprecated.
|
public ParsedNewsItem(java.util.Vector categs, java.lang.String text, java.lang.String id)
public ParsedNewsItem(java.lang.String text, java.lang.String id)
public ParsedNewsItem()
public void addCategory(java.lang.String topic)
public void addText(java.lang.String text)
public java.util.Enumeration getCategories()
public java.util.Vector getCategVector()
public java.lang.String getText()
public void setText(java.lang.String text)
public boolean isOfCategory(java.lang.String cat)
public java.lang.String getId()
public void setId(java.lang.String v)
v
- Value to assign to id.public java.lang.String toString()
toString
in class java.lang.Object