edu.upenn.cis.pdtb
Class PDTBAltLexRelationImpl
java.lang.Object
edu.upenn.cis.pdtb.PDTBNodeImpl
edu.upenn.cis.pdtb.PDTBRelationImpl
edu.upenn.cis.pdtb.PDTBAltLexRelationImpl
- All Implemented Interfaces:
- javax.swing.tree.MutableTreeNode, PDTBAltLexRelation, PDTBNode, PDTBRelation, javax.swing.tree.TreeNode
- public class PDTBAltLexRelationImpl
- extends PDTBRelationImpl
- implements PDTBAltLexRelation
Implementation of the PDTBAltLexRelation 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 |
PDTBAltLexRelationImpl
public PDTBAltLexRelationImpl(PDTBSelection sel,
PDTBAltLexRelationFeatures 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 PDTBAltLexRelationFeatures getFeatures()
- Description copied from interface:
PDTBAltLexRelation
- Get the features
- Specified by:
getFeatures in interface PDTBAltLexRelation
setFeatures
public void setFeatures(PDTBAltLexRelationFeatures feats)
- Description copied from interface:
PDTBAltLexRelation
- Set the features.
- Specified by:
setFeatures in interface PDTBAltLexRelation
setSelection
public void setSelection(PDTBSelection sel)
- Description copied from interface:
PDTBAltLexRelation
- Set the selection correponding to the phrase establishing the relation.
- Specified by:
setSelection in interface PDTBAltLexRelation
getSelection
public PDTBSelection getSelection()
- Description copied from interface:
PDTBAltLexRelation
- Get the selection associated with the phrase establishing the relation.
- Specified by:
getSelection in interface PDTBAltLexRelation
save
public void save(java.io.Writer writer)
throws java.io.IOException
- Overrides:
save in class PDTBRelationImpl
- Throws:
java.io.IOException