edu.upenn.cis.pdtb
Class PDTBFeaturesImpl

java.lang.Object
  extended byedu.upenn.cis.pdtb.PDTBFeaturesImpl
All Implemented Interfaces:
PDTBFeatures
Direct Known Subclasses:
PDTBArgFeaturesImpl, PDTBConnFeaturesImpl

public abstract class PDTBFeaturesImpl
extends java.lang.Object
implements PDTBFeatures

Implementation of the PDTBFeatures interface.

Author:
nikhild, geraud

Field Summary
protected  PDTBSelection fSel
           
 
Fields inherited from interface edu.upenn.cis.pdtb.PDTBFeatures
options
 
Constructor Summary
PDTBFeaturesImpl()
           
 
Method Summary
 EnumFeature.EnumIndex getDeterminancy()
          Get the determinancy
 PDTBNode getPDTBNode()
          Get the node on with which these features are associated.
 EnumFeature.EnumIndex getPolarity()
          Get the polarity.
 PDTBSelection getSelection()
          Set the selection
 EnumFeature.EnumIndex getSource()
          Get the source.
 EnumFeature.EnumIndex getType()
          Get the factuality.
abstract  void save(java.io.Writer writer)
           
 void setDeterminancy(EnumFeature.EnumIndex i)
           
 void setPDTBNode(PDTBNode node)
          Set the node with which these features are associated.
 void setPolarity(EnumFeature.EnumIndex i)
           
 void setSelection(PDTBSelection sel)
          Get the selection
 void setSource(EnumFeature.EnumIndex i)
           
 void setType(EnumFeature.EnumIndex i)
           
abstract  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
 

Field Detail

fSel

protected PDTBSelection fSel
Constructor Detail

PDTBFeaturesImpl

public PDTBFeaturesImpl()
Method Detail

getPDTBNode

public PDTBNode getPDTBNode()
Description copied from interface: PDTBFeatures
Get the node on with which these features are associated.

Specified by:
getPDTBNode in interface PDTBFeatures

getSource

public EnumFeature.EnumIndex getSource()
Description copied from interface: PDTBFeatures
Get the source.

Specified by:
getSource in interface PDTBFeatures

getType

public EnumFeature.EnumIndex getType()
Description copied from interface: PDTBFeatures
Get the factuality.

Specified by:
getType in interface PDTBFeatures

getPolarity

public EnumFeature.EnumIndex getPolarity()
Description copied from interface: PDTBFeatures
Get the polarity.

Specified by:
getPolarity in interface PDTBFeatures

getDeterminancy

public EnumFeature.EnumIndex getDeterminancy()
Description copied from interface: PDTBFeatures
Get the determinancy

Specified by:
getDeterminancy in interface PDTBFeatures

setSource

public void setSource(EnumFeature.EnumIndex i)
Specified by:
setSource in interface PDTBFeatures

setType

public void setType(EnumFeature.EnumIndex i)
Specified by:
setType in interface PDTBFeatures

setPolarity

public void setPolarity(EnumFeature.EnumIndex i)
Specified by:
setPolarity in interface PDTBFeatures

setDeterminancy

public void setDeterminancy(EnumFeature.EnumIndex i)
Specified by:
setDeterminancy in interface PDTBFeatures

setSelection

public void setSelection(PDTBSelection sel)
Description copied from interface: PDTBFeatures
Get the selection

Specified by:
setSelection in interface PDTBFeatures

getSelection

public PDTBSelection getSelection()
Description copied from interface: PDTBFeatures
Set the selection

Specified by:
getSelection in interface PDTBFeatures

setPDTBNode

public void setPDTBNode(PDTBNode node)
Description copied from interface: PDTBFeatures
Set the node with which these features are associated.

Specified by:
setPDTBNode in interface PDTBFeatures

updateAttributesOnNode

public abstract void updateAttributesOnNode()
Description copied from interface: PDTBFeatures
Update the attributes on the node to the string values of these features.

Specified by:
updateAttributesOnNode in interface PDTBFeatures

save

public abstract void save(java.io.Writer writer)
                   throws java.io.IOException
Throws:
java.io.IOException