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, 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.PDTBSupImpl
fSel
 
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
PDTBArgImpl(PDTBSelection sel, PDTBArgFeatures feats)
          Creates a new instance of PDTBArgImpl
 
Method Summary
 PDTBArgFeatures getFeatures()
          Get the features
 PDTBSelection getSelection()
          Get the selection
protected  void initAttributes()
           
 void save(java.io.Writer writer)
           
 void setFeatures(PDTBArgFeatures feats)
          Set the features
 void setSelection(PDTBSelection sel)
          Set the selection
 
Methods inherited from class edu.upenn.cis.pdtb.PDTBSupImpl
getAllowsChildren, getRelation, setRelation
 
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, setRelation
 
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,
                   PDTBArgFeatures feats)
Creates a new instance of PDTBArgImpl

Method Detail

initAttributes

protected void initAttributes()
Overrides:
initAttributes in class PDTBSupImpl

getFeatures

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

Specified by:
getFeatures in interface PDTBArg

setFeatures

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

Specified by:
setFeatures in interface PDTBArg

setSelection

public void setSelection(PDTBSelection sel)
Description copied from interface: PDTBArg
Set the selection

Specified by:
setSelection in interface PDTBArg
Overrides:
setSelection in class PDTBSupImpl

getSelection

public PDTBSelection getSelection()
Description copied from interface: PDTBArg
Get the selection

Specified by:
getSelection in interface PDTBArg
Overrides:
getSelection in class PDTBSupImpl

save

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