edu.upenn.cis.pdtb
Interface PDTBNode

All Superinterfaces:
javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode
All Known Subinterfaces:
PDTBAltLexRelation, PDTBArg, PDTBEntityRelation, PDTBExplicitRelation, PDTBImplicitRelation, PDTBNoRelation, PDTBRelation, PDTBRelationList, PDTBSup
All Known Implementing Classes:
PDTBAltLexRelationImpl, PDTBArgImpl, PDTBEntityRelationImpl, PDTBExplicitRelationImpl, PDTBImplicitRelationImpl, PDTBNodeImpl, PDTBNoRelationImpl, PDTBRelationImpl, PDTBRelationListImpl, PDTBSupImpl

public interface PDTBNode
extends javax.swing.tree.MutableTreeNode

Base class of all PDTBNodes. Extends the swing TreeNode interface for easy display, and adds methods to interact with the Jaxen XPath API. The mutation methods here are for internal use only, with the exception of pdtbAddFirstChild, and pdtbAddLastChild. For other mutation operations, methods from the MutableTreeNode interface should be used.

Author:
nikhild
See Also:
PDTBNavigator

Field Summary
static java.lang.String AltLexRelationQName
           
static java.lang.String Arg1QName
           
static java.lang.String Arg2QName
           
static java.lang.String EntityRelationQName
           
static java.lang.String ExplicitRelationQName
           
static java.lang.String ImplicitRelationQName
           
static java.lang.String NoRelationQName
           
static java.lang.String RelationListQName
           
static java.lang.String Sup1QName
           
static java.lang.String Sup2QName
           
 
Method Summary
 java.lang.Object getUserObject()
           
 void pdtbAddFirstChild(PDTBNode firstChild)
           
 void pdtbAddLastChild(PDTBNode lastChild)
           
 java.util.Enumeration pdtbGetAttributes()
           
 PDTBNode pdtbGetFirstChild()
           
 PDTBNode pdtbGetLastChild()
           
 java.lang.String pdtbGetLocalName()
           
 java.lang.String pdtbGetNamespaceUri()
           
 PDTBNode pdtbGetNextSibling()
           
 PDTBNode pdtbGetPreviousSibling()
           
 java.lang.String pdtbGetQName()
           
 void pdtbRemoveAttribute(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qName)
           
 void pdtbSetAttribute(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qName, java.lang.String prefix, java.lang.String value)
           
 void pdtbSetName(java.lang.String namespaceUri, java.lang.String localName, java.lang.String qName)
           
 void pdtbSetNextSibling(PDTBNode node)
           
 void pdtbSetPreviousSibling(PDTBNode node)
           
 
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
 

Field Detail

RelationListQName

public static final java.lang.String RelationListQName
See Also:
Constant Field Values

ExplicitRelationQName

public static final java.lang.String ExplicitRelationQName
See Also:
Constant Field Values

ImplicitRelationQName

public static final java.lang.String ImplicitRelationQName
See Also:
Constant Field Values

AltLexRelationQName

public static final java.lang.String AltLexRelationQName
See Also:
Constant Field Values

EntityRelationQName

public static final java.lang.String EntityRelationQName
See Also:
Constant Field Values

NoRelationQName

public static final java.lang.String NoRelationQName
See Also:
Constant Field Values

Arg1QName

public static final java.lang.String Arg1QName
See Also:
Constant Field Values

Arg2QName

public static final java.lang.String Arg2QName
See Also:
Constant Field Values

Sup1QName

public static final java.lang.String Sup1QName
See Also:
Constant Field Values

Sup2QName

public static final java.lang.String Sup2QName
See Also:
Constant Field Values
Method Detail

pdtbGetPreviousSibling

public PDTBNode pdtbGetPreviousSibling()

pdtbGetNextSibling

public PDTBNode pdtbGetNextSibling()

pdtbSetNextSibling

public void pdtbSetNextSibling(PDTBNode node)

pdtbSetPreviousSibling

public void pdtbSetPreviousSibling(PDTBNode node)

pdtbGetFirstChild

public PDTBNode pdtbGetFirstChild()

pdtbAddFirstChild

public void pdtbAddFirstChild(PDTBNode firstChild)

pdtbGetLastChild

public PDTBNode pdtbGetLastChild()

pdtbAddLastChild

public void pdtbAddLastChild(PDTBNode lastChild)

pdtbSetAttribute

public void pdtbSetAttribute(java.lang.String namespaceURI,
                             java.lang.String localName,
                             java.lang.String qName,
                             java.lang.String prefix,
                             java.lang.String value)

pdtbRemoveAttribute

public void pdtbRemoveAttribute(java.lang.String namespaceURI,
                                java.lang.String localName,
                                java.lang.String qName)

pdtbGetAttributes

public java.util.Enumeration pdtbGetAttributes()

getUserObject

public java.lang.Object getUserObject()

pdtbGetNamespaceUri

public java.lang.String pdtbGetNamespaceUri()

pdtbGetLocalName

public java.lang.String pdtbGetLocalName()

pdtbGetQName

public java.lang.String pdtbGetQName()

pdtbSetName

public void pdtbSetName(java.lang.String namespaceUri,
                        java.lang.String localName,
                        java.lang.String qName)