A B C D E F G I M R S T W

A

appendContent(char[], int, int) - Method in class BasicElement
Append to the content of the element
appendContent(String) - Method in class BasicElement
Append to the content of the element

B

BasicElement - class BasicElement.
A Class that represents an XML element and its contents
BasicElement() - Constructor for class BasicElement
Construct a Basic Element
BasicElement(long, String, long) - Constructor for class BasicElement
Construct a Basic Element
BasicElement(String, long) - Constructor for class BasicElement
Construct a Basic Element

C

characters(char[], int, int) - Method in class DBSAXHandler
SAX Handler that is called for each XML text node

D

DBReader - class DBReader.
A Class that creates an XML text document from a query to a relational DB containing a DOM representation
DBReader(String, String, String) - Constructor for class DBReader
construct a DBReader instance.
DBSAXElement - class DBSAXElement.
A Class that represents an XML element and its contents and can write its own representation to a database connection
DBSAXElement(Connection, String, long) - Constructor for class DBSAXElement
Construct a new element instance
DBSAXHandler - class DBSAXHandler.
A database aware Class implementing callback bethods for the SAX parser to call when processing the XML stream and generating events
DBSAXHandler(Connection) - Constructor for class DBSAXHandler
Construct an instance of the handler class
DBSAXWriter - class DBSAXWriter.
A Class that reads in an XML text document and write its contents to a database connection using SAX
DBSAXWriter(String, String, String, String) - Constructor for class DBSAXWriter
construct a new instance of the class to write an XML file to the database
DBSimpleQuery - class DBSimpleQuery.
A Class that searches a relational DB for elements and attributes that have free text matches to the query string.
DBSimpleQuery(String, String, String) - Constructor for class DBSimpleQuery
construct an instance of the DBSimpleQuery class Generally, one would call the findRootNodes() routine after creating an instance to specify the query to search for
doGet(HttpServletRequest, HttpServletResponse) - Method in class MetaCatServlet
Handle "GET" method requests from HTTP clients
doPost(HttpServletRequest, HttpServletResponse) - Method in class MetaCatServlet
Handle "POST" method requests from HTTP clients

E

endElement(NSName) - Method in class DBSAXHandler
SAX Handler that is called at the end of each XML element

F

fileToURL(File) - Static method in class DBSAXWriter
Utility method to convert a file handle into a URL
findRootNodes(String) - Method in class DBSimpleQuery
routine to search the elements and attributes looking to match query

G

getAttribute(String) - Method in class BasicElement
Get an attribute value by name
getAttributes() - Method in class BasicElement
Get the attributes as a string
getContent() - Method in class BasicElement
Get the content of the element
getElementID() - Method in class BasicElement
Get the id of this element
getParentID() - Method in class BasicElement
Get the parent id of this element
getTagName() - Method in class BasicElement
Get the name of this element

I

ignorableWhitespace(char[], int, int) - Method in class DBSAXHandler
SAX Handler that is called for each XML text node that is Ignorable white space
init(ServletConfig) - Method in class MetaCatServlet
Initialize the servlet by creating appropriate database connections

M

main(String[]) - Static method in class DBSAXWriter
the main routine used to test the DBSAXWriter utility.
main(String[]) - Static method in class DBReader
main routine used for testing.
main(String[]) - Static method in class DBSimpleQuery
the main routine used to test the DBSimpleQuery utility.
MetaCatServlet - class MetaCatServlet.
A metadata catalog server implemented as a Java Servlet
MetaCatServlet() - Constructor for class MetaCatServlet
 

R

ReaderElement - class ReaderElement.
A Class that represents an XML element and its contents, and can build itself from a database connection
ReaderElement(Connection) - Constructor for class ReaderElement
Construct a new ReaderElement instance
ReaderElement(Connection, long) - Constructor for class ReaderElement
Construct a new ReaderElement instance
ReaderElement(Connection, long, long, String, String) - Constructor for class ReaderElement
Construct a new ReaderElement instance
readXMLDocument(long) - Method in class DBReader
Create an XML document from the database starting with the element having element_id nodeid

S

setAttribute(String, String) - Method in class BasicElement
Add a new attribute to this element, or set its value
setAttribute(String, String) - Method in class DBSAXElement
Add a new attribute to this element, or set its value
setElementID(long) - Method in class BasicElement
Set the id of this element
setParentID(long) - Method in class BasicElement
Set the parent id of this element
setTagName(String) - Method in class BasicElement
Set the tagname of this element
startElement(NSName, SAXAttrList) - Method in class DBSAXHandler
SAX Handler that is called at the start of each XML element

T

toString() - Method in class BasicElement
convert the element to a string representation for display
toString() - Method in class ReaderElement
String representation for display purposes (recursively descends through children to create an XML subtree)

W

writeContentToDB() - Method in class DBSAXElement
Write the element content to the db connection

A B C D E F G I M R S T W