edu.upenn.cis.pdtb
Class PDTBImplicitRelationImpl

java.lang.Object
  extended byedu.upenn.cis.pdtb.PDTBNodeImpl
      extended byedu.upenn.cis.pdtb.PDTBRelationImpl
          extended byedu.upenn.cis.pdtb.PDTBImplicitRelationImpl
All Implemented Interfaces:
javax.swing.tree.MutableTreeNode, PDTBImplicitRelation, PDTBNode, PDTBRelation, javax.swing.tree.TreeNode

public class PDTBImplicitRelationImpl
extends PDTBRelationImpl
implements PDTBImplicitRelation

Implementation of the PDTBImplicitRelation interface.

Author:
nikhild, geraud

Nested Class Summary
 
Nested classes inherited from class edu.upenn.cis.pdtb.PDTBNodeImpl
PDTBNodeImpl.PDTBAttributeImpl
 
Field Summary
 
Fields inherited from class edu.upenn.cis.pdtb.PDTBNodeImpl
fAttributes, fAttributesComparator, fAttributesPriorityComparator
 
Fields inherited from interface edu.upenn.cis.pdtb.PDTBNode
AltLexRelationQName, Arg1QName, Arg2QName, EntityRelationQName, ExplicitRelationQName, ImplicitRelationQName, NoRelationQName, RelationListQName, Sup1QName, Sup2QName
 
Constructor Summary
PDTBImplicitRelationImpl(PDTBInferenceSite infSite, PDTBImplicitRelationFeatures feats, PDTBSup sup1, PDTBArg arg1, PDTBArg arg2, PDTBSup sup2)
          Creates a new instance of PDTBImplicitRelationImpl
 
Method Summary
 PDTBImplicitRelationFeatures getFeatures()
          Get the features.
 PDTBInferenceSite getInferenceSite()
          Get the site of inference of the implicit relation.
protected  void initAttributes()
           
 void save(java.io.Writer writer)
           
 void setFeatures(PDTBImplicitRelationFeatures feats)
          Set the features.
 void setInferenceSite(PDTBInferenceSite infSite)
          Set the site of inference of the implicit relation.
 
Methods inherited from class edu.upenn.cis.pdtb.PDTBRelationImpl
getAllowsChildren, getArg1, getArg2, getRelationList, getSup1, getSup2, setArg1, setArg2, setRelationList, setSup1, setSup2
 
Methods inherited from class edu.upenn.cis.pdtb.PDTBNodeImpl
children, getChildAt, getChildCount, getIndex, getParent, getUserObject, insert, isLeaf, pdtbAddFirstChild, pdtbAddLastChild, pdtbGetAttributes, pdtbGetFirstChild, pdtbGetLastChild, pdtbGetLocalName, pdtbGetNamespaceUri, pdtbGetNextSibling, pdtbGetPreviousSibling, pdtbGetQName, pdtbRemoveAttribute, pdtbSetAttribute, pdtbSetName, pdtbSetNextSibling, pdtbSetPreviousSibling, remove, remove, removeFromParent, setParent, setUserObject
 
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.PDTBRelation
getArg1, getArg2, getRelationList, getSup1, getSup2, setArg1, setArg2, setRelationList, setSup1, setSup2
 
Methods inherited from interface edu.upenn.cis.pdtb.PDTBNode
getUserObject, pdtbAddFirstChild, pdtbAddLastChild, pdtbGetAttributes, pdtbGetFirstChild, pdtbGetLastChild, pdtbGetLocalName, pdtbGetNamespaceUri, pdtbGetNextSibling, pdtbGetPreviousSibling, pdtbGetQName, pdtbRemoveAttribute, pdtbSetAttribute, pdtbSetName, pdtbSetNextSibling, pdtbSetPreviousSibling
 
Methods inherited from interface javax.swing.tree.MutableTreeNode
insert, remove, remove, removeFromParent, setParent, setUserObject
 
Methods inherited from interface javax.swing.tree.TreeNode
children, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, isLeaf
 

Constructor Detail

PDTBImplicitRelationImpl

public PDTBImplicitRelationImpl(PDTBInferenceSite infSite,
                                PDTBImplicitRelationFeatures feats,
                                PDTBSup sup1,
                                PDTBArg arg1,
                                PDTBArg arg2,
                                PDTBSup sup2)
Creates a new instance of PDTBImplicitRelationImpl

Method Detail

initAttributes

protected void initAttributes()
Specified by:
initAttributes in class PDTBNodeImpl

getFeatures

public PDTBImplicitRelationFeatures getFeatures()
Description copied from interface: PDTBImplicitRelation
Get the features.

Specified by:
getFeatures in interface PDTBImplicitRelation

getInferenceSite

public PDTBInferenceSite getInferenceSite()
Description copied from interface: PDTBImplicitRelation
Get the site of inference of the implicit relation.

Specified by:
getInferenceSite in interface PDTBImplicitRelation

setFeatures

public void setFeatures(PDTBImplicitRelationFeatures feats)
Description copied from interface: PDTBImplicitRelation
Set the features.

Specified by:
setFeatures in interface PDTBImplicitRelation

setInferenceSite

public void setInferenceSite(PDTBInferenceSite infSite)
Description copied from interface: PDTBImplicitRelation
Set the site of inference of the implicit relation.

Specified by:
setInferenceSite in interface PDTBImplicitRelation

save

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