|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.upenn.cis.pdtb.PDTBFeaturesImpl
Implementation of the PDTBFeatures interface.
| Field Summary |
| Fields inherited from interface edu.upenn.cis.pdtb.PDTBFeatures |
Factual, FactualityAttributeQName, FactualVal, NegativePolarityVal, NonFactual, NonFactualVal, NullFactual, NullFactualVal, PolarityAttributeQName, PolarityNegative, PolarityPositive, PositivePolarityVal, SourceAttributeQName, SourceInherited, SourceInheritedVal, SourceOther, SourceOtherVal, SourceWriter, SourceWriterVal |
| Constructor Summary | |
PDTBFeaturesImpl(java.lang.String source,
java.lang.String factuality,
java.lang.String polarity)
Creates a new instance of PDTBFeaturesImpl |
|
| Method Summary | |
int |
getFactuality()
Get the factuality. |
PDTBNode |
getPDTBNode()
Get the node on with which these features are associated. |
int |
getPolarity()
Get the polarity. |
int |
getSource()
Get the source. |
void |
save(java.io.Writer writer)
|
void |
setPDTBNode(PDTBNode node)
Set the node with which these features are associated. |
void |
updateAttributesOnNode()
Update the attributes on the node to the string values of these features. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PDTBFeaturesImpl(java.lang.String source,
java.lang.String factuality,
java.lang.String polarity)
| Method Detail |
public PDTBNode getPDTBNode()
PDTBFeatures
getPDTBNode in interface PDTBFeaturespublic int getFactuality()
PDTBFeatures
getFactuality in interface PDTBFeaturespublic int getPolarity()
PDTBFeatures
getPolarity in interface PDTBFeaturespublic int getSource()
PDTBFeatures
getSource in interface PDTBFeaturespublic void setPDTBNode(PDTBNode node)
PDTBFeatures
setPDTBNode in interface PDTBFeaturespublic void updateAttributesOnNode()
PDTBFeatures
updateAttributesOnNode in interface PDTBFeatures
public void save(java.io.Writer writer)
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||