edu.upenn.cis.pdtb
Class PDTBExplicitRelationImpl
java.lang.Object
edu.upenn.cis.pdtb.PDTBNodeImpl
edu.upenn.cis.pdtb.PDTBRelationImpl
edu.upenn.cis.pdtb.PDTBExplicitRelationImpl
- All Implemented Interfaces:
- javax.swing.tree.MutableTreeNode, PDTBExplicitRelation, PDTBNode, PDTBRelation, javax.swing.tree.TreeNode
- public class PDTBExplicitRelationImpl
- extends PDTBRelationImpl
- implements PDTBExplicitRelation
Implementation of the PDTBExplicitRelation interface.
- Author:
- nikhild
| 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.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 |
PDTBExplicitRelationImpl
public PDTBExplicitRelationImpl(PDTBSelection sel,
PDTBExplicitRelationFeatures feats,
PDTBSup sup1,
PDTBArg arg1,
PDTBArg arg2,
PDTBSup sup2)
- Creates a new instance of PDTBRelationImpl
initAttributes
protected void initAttributes()
- Specified by:
initAttributes in class PDTBNodeImpl
getFeatures
public PDTBExplicitRelationFeatures getFeatures()
- Description copied from interface:
PDTBExplicitRelation
- Get the features
- Specified by:
getFeatures in interface PDTBExplicitRelation
setFeatures
public void setFeatures(PDTBExplicitRelationFeatures feats)
- Description copied from interface:
PDTBExplicitRelation
- Set the features
- Specified by:
setFeatures in interface PDTBExplicitRelation
setSelection
public void setSelection(PDTBSelection sel)
- Description copied from interface:
PDTBExplicitRelation
- Set the selection associated with the connective.
- Specified by:
setSelection in interface PDTBExplicitRelation
getSelection
public PDTBSelection getSelection()
- Description copied from interface:
PDTBExplicitRelation
- Get the selection associated with the connective.
- Specified by:
getSelection in interface PDTBExplicitRelation
save
public void save(java.io.Writer writer)
throws java.io.IOException
- Overrides:
save in class PDTBRelationImpl
- Throws:
java.io.IOException