    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).

##

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

##

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

##

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

  Verify that this node is correct (ie.

##

RegisteredName

     public static final String RegisteredName

  The element type name normally used in XML for this sort of element.

ClassAttName

     public static final String ClassAttName

  The name of the attribute which holds the name of the driver class.

##

xu_DatabaseDriverElement

     public xu_DatabaseDriverElement()

  Construct a database driver element with no type and no name.

xu_DatabaseDriverElement

     public xu_DatabaseDriverElement(String InputNodeName)

  Construct a database driver element with a name.

  Parameters:
    InputNodeName - The name of the element

##

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

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

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