edu.upenn.cis.pdtb
Class PDTBArgImpl

java.lang.Object
  extended byedu.upenn.cis.pdtb.PDTBNodeImpl
      extended byedu.upenn.cis.pdtb.PDTBSupImpl
          extended byedu.upenn.cis.pdtb.PDTBArgImpl
All Implemented Interfaces:
javax.swing.tree.MutableTreeNode, PDTBArg, PDTBNode, PDTBSup, javax.swing.tree.TreeNode

public class PDTBArgImpl
extends PDTBSupImpl
implements PDTBArg

Implementation of the PDTBArg interface

Author:
nikhild

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.PDTBSupImpl
fSel
 
Fields inherited from class edu.upenn.cis.pdtb.PDTBNodeImpl
fAttributes, fAttributesComparator
 
Fields inherited from interface edu.upenn.cis.pdtb.PDTBNode
AltLexRelationQName, Arg1QName, Arg2QName, EntityRelationQName, ExplicitRelationQName, ImplicitRelationQName, NoRelationQName, RelationListQName, Sup1QName, Sup2QName
 
Constructor Summary
PDTBArgImpl(PDTBSelection sel, PDTBFeatures feats)
          Creates a new instance of PDTBArgImpl
 
Method Summary
 PDTBFeatures getFeatures()
          Get the features
protected  void initAttributes()
           
 void save(java.io.Writer writer)
           
 void setFeatures(PDTBFeatures feats)
          Set the features
 
Methods inherited from class edu.upenn.cis.pdtb.PDTBSupImpl
getAllowsChildren, getRelation, getSelection, setRelation, setSelection
 
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.PDTBSup
getRelation, getSelection, setRelation, setSelection
 
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

PDTBArgImpl

public PDTBArgImpl(PDTBSelection sel,
                   PDTBFeatures feats)
Creates a new instance of PDTBArgImpl

Method Detail

initAttributes

protected void initAttributes()
Overrides:
initAttributes in class PDTBSupImpl

getFeatures

public PDTBFeatures getFeatures()
Description copied from interface: PDTBArg
Get the features

Specified by:
getFeatures in interface PDTBArg

setFeatures

public void setFeatures(PDTBFeatures feats)
Description copied from interface: PDTBArg
Set the features

Specified by:
setFeatures in interface PDTBArg

save

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