edu.upenn.cis.pdtb
Class PDTBRelationImpl
java.lang.Object
edu.upenn.cis.pdtb.PDTBNodeImpl
edu.upenn.cis.pdtb.PDTBRelationImpl
- All Implemented Interfaces:
- javax.swing.tree.MutableTreeNode, PDTBNode, PDTBRelation, javax.swing.tree.TreeNode
- Direct Known Subclasses:
- PDTBAltLexRelationImpl, PDTBExplicitRelationImpl, PDTBImplicitRelationImpl
- public abstract class PDTBRelationImpl
- extends PDTBNodeImpl
- implements PDTBRelation
- Author:
- nikhild
| Methods inherited from class edu.upenn.cis.pdtb.PDTBNodeImpl |
children, getChildAt, getChildCount, getIndex, getParent, getUserObject, initAttributes, 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, getChildAt, getChildCount, getIndex, getParent, isLeaf |
PDTBRelationImpl
public PDTBRelationImpl(PDTBSup sup1,
PDTBArg arg1,
PDTBArg arg2,
PDTBSup sup2)
- Creates a new instance of PDTBRelationImpl
getAllowsChildren
public boolean getAllowsChildren()
- Specified by:
getAllowsChildren in interface javax.swing.tree.TreeNode
getArg1
public PDTBArg getArg1()
- Specified by:
getArg1 in interface PDTBRelation
getArg2
public PDTBArg getArg2()
- Specified by:
getArg2 in interface PDTBRelation
setArg1
public void setArg1(PDTBArg arg1)
- Specified by:
setArg1 in interface PDTBRelation
setArg2
public void setArg2(PDTBArg arg2)
- Specified by:
setArg2 in interface PDTBRelation
getSup1
public PDTBSup getSup1()
- Specified by:
getSup1 in interface PDTBRelation
getSup2
public PDTBSup getSup2()
- Specified by:
getSup2 in interface PDTBRelation
setSup1
public void setSup1(PDTBSup sup1)
- Specified by:
setSup1 in interface PDTBRelation
setSup2
public void setSup2(PDTBSup sup2)
- Specified by:
setSup2 in interface PDTBRelation
setRelationList
public void setRelationList(PDTBRelationList parent)
- Specified by:
setRelationList in interface PDTBRelation
getRelationList
public PDTBRelationList getRelationList()
- Specified by:
getRelationList in interface PDTBRelation
save
public void save(java.io.Writer writer)
throws java.io.IOException
- Specified by:
save in class PDTBNodeImpl
- Throws:
java.io.IOException