All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class xu.xu_DatabaseDriverElement

java.lang.Object
   |
   +----com.sun.java.swing.tree.DefaultMutableTreeNode
           |
           +----xg.xg_Node
                   |
                   +----xg.xg_Element
                           |
                           +----xu.xu_DatabaseDriverElement

public class xu_DatabaseDriverElement
extends xg_Element
An XML element to represent a JDBC database driver. Its purpose is to load a database driver (when its verify() method is called).


Variable Index

 o ClassAttName
The name of the attribute which holds the name of the driver class.
 o RegisteredName
The element type name normally used in XML for this sort of element.

Constructor Index

 o xu_DatabaseDriverElement()
Construct a database driver element with no type and no name.
 o xu_DatabaseDriverElement(String)
Construct a database driver element with a name.

Method Index

 o getSummaryString()
Get a summary descriptive string suitable for display in the tree view or elsewhere.
 o toString()
Return a string representation of the element (intended for use as debug output).
 o verify()

Verify that this node is correct (ie.

Variables

 o RegisteredName
 public static final String RegisteredName
The element type name normally used in XML for this sort of element.

 o ClassAttName
 public static final String ClassAttName
The name of the attribute which holds the name of the driver class.

Constructors

 o xu_DatabaseDriverElement
 public xu_DatabaseDriverElement()
Construct a database driver element with no type and no name.

 o xu_DatabaseDriverElement
 public xu_DatabaseDriverElement(String InputNodeName)
Construct a database driver element with a name.

Parameters:
InputNodeName - The name of the element

Methods

 o verify
 public void verify() throws xg_VerificationException

Verify that this node is correct (ie. internally correct and/or consistent with other nodes - such as its parent). The node is OK if it possesses a 'Class' attribute which names a valid database driver class.

Throws: xg_VerificationException
Description of verification problem
Overrides:
verify in class xg_Node
 o getSummaryString
 public String getSummaryString()
Get a summary descriptive string suitable for display in the tree view or elsewhere.

Returns:
A description suitable for display in the tree view
Overrides:
getSummaryString in class xg_Node
 o toString
 public String toString()
Return a string representation of the element (intended for use as debug output).

Returns:
String representing the node's name.
Overrides:
toString in class xg_Element

All Packages  Class Hierarchy  This Package  Previous  Next  Index