edu.upenn.cis.pdtb
Class PDTBAltLexRelationFeaturesImpl

java.lang.Object
  extended byedu.upenn.cis.pdtb.PDTBFeaturesImpl
      extended byedu.upenn.cis.pdtb.PDTBAltLexRelationFeaturesImpl
All Implemented Interfaces:
PDTBAltLexRelationFeatures, PDTBFeatures

public class PDTBAltLexRelationFeaturesImpl
extends PDTBFeaturesImpl
implements PDTBAltLexRelationFeatures

Implementation of the PDTBAltLexRelationFeatures interface.

Author:
nikhild

Field Summary
 
Fields inherited from interface edu.upenn.cis.pdtb.PDTBAltLexRelationFeatures
SemanticClassAttributeQName
 
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
PDTBAltLexRelationFeaturesImpl(java.lang.String source, java.lang.String factuality, java.lang.String polarity, java.lang.String semanticClass)
          Creates a new instance of PDTBExplicitRelationFeaturesImpl
 
Method Summary
 java.lang.String getSemanticClass()
          Returns the value of the semantic class
 void save(java.io.Writer writer)
           
 void updateAttributesOnNode()
          Adds the semantic class attribute to the ownerNode
 
Methods inherited from class edu.upenn.cis.pdtb.PDTBFeaturesImpl
getFactuality, getPDTBNode, getPolarity, getSource, setPDTBNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.upenn.cis.pdtb.PDTBFeatures
getFactuality, getPDTBNode, getPolarity, getSource, setPDTBNode
 

Constructor Detail

PDTBAltLexRelationFeaturesImpl

public PDTBAltLexRelationFeaturesImpl(java.lang.String source,
                                      java.lang.String factuality,
                                      java.lang.String polarity,
                                      java.lang.String semanticClass)
Creates a new instance of PDTBExplicitRelationFeaturesImpl

Method Detail

updateAttributesOnNode

public void updateAttributesOnNode()
Adds the semantic class attribute to the ownerNode

Specified by:
updateAttributesOnNode in interface PDTBFeatures
Overrides:
updateAttributesOnNode in class PDTBFeaturesImpl

getSemanticClass

public java.lang.String getSemanticClass()
Description copied from interface: PDTBAltLexRelationFeatures
Returns the value of the semantic class

Specified by:
getSemanticClass in interface PDTBAltLexRelationFeatures

save

public void save(java.io.Writer writer)
          throws java.io.IOException
Overrides:
save in class PDTBFeaturesImpl
Throws:
java.io.IOException