net.sourceforge.gxl
Class GXLNode

java.lang.Object
  |
  +--net.sourceforge.gxl.GXLElement
        |
        +--net.sourceforge.gxl.GXLAttributedElement
              |
              +--net.sourceforge.gxl.GXLTypedElement
                    |
                    +--net.sourceforge.gxl.GXLGraphElement
                          |
                          +--net.sourceforge.gxl.GXLNode

public class GXLNode
extends GXLGraphElement

Represents the GXL node element.

The node element is what it sounds like, a node that can be connected with edges. Note however that edges and rels also are eligible for connecting, being a subclass of GXLGraphElement.

Children
GXLType - see GXLType.
GXLAttr - Attributes describing this node.
GXLGraph - node elements may contain graph elements, creating a hierarchical graph.

Attributes
id - Required id of this node element.

See Also:
GXLGraphElement

Constructor Summary
GXLNode(String id)
          Creates a new GXLNode element with the specified id.
 
Methods inherited from class net.sourceforge.gxl.GXLGraphElement
getConnectionAt, getConnectionCount, getGraphAt, getGraphCount
 
Methods inherited from class net.sourceforge.gxl.GXLTypedElement
getType, setType
 
Methods inherited from class net.sourceforge.gxl.GXLAttributedElement
getAttr, getAttrAt, getAttrCount, getID, setAttr, setID
 
Methods inherited from class net.sourceforge.gxl.GXLElement
add, getAttribute, getChildAt, getChildCount, getDocument, getParent, indexOf, insert, remove, setAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GXLNode

public GXLNode(String id)
Creates a new GXLNode element with the specified id.

Parameters:
id - The id of the new node.