A B C D E F G I M N P R S T U V W X

A

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

B

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

C

characters(char[], int, int) - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that is called for each XML text node
comment(String) - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler called once for each comment found: node that comment may occur before or after the root element.

D

DBDTDHandler - class edu.ucsb.nceas.metacat.DBDTDHandler.
A database aware Class implementing DTDHandler interface for the SAX parser to call when processing the XML stream and intercepting notations and unparsed entities
DBDTDHandler(Connection) - Constructor for class edu.ucsb.nceas.metacat.DBDTDHandler
Construct an instance of the DBDTDHandler clas
DBEntityResolver - class edu.ucsb.nceas.metacat.DBEntityResolver.
A database aware Class implementing EntityResolver interface for the SAX parser to call when processing the XML stream and intercepting any external entities (including the external DTD subset and external parameter entities, if any) before including them.
DBEntityResolver(Connection) - Constructor for class edu.ucsb.nceas.metacat.DBEntityResolver
Construct an instance of the DBEntityResolver clas
dbg(int) - Method in class edu.ucsb.nceas.metacat.DBTransform
 
DBReader - class edu.ucsb.nceas.metacat.DBReader.
A Class that creates an XML text document from a query to a relational DB containing a DOM representation
DBReader.DoctypeInfo - class edu.ucsb.nceas.metacat.DBReader.DoctypeInfo.
A utility class that encapsulates document type information
DBReader.DoctypeInfo(DBReader, String, String, String) - Constructor for class edu.ucsb.nceas.metacat.DBReader.DoctypeInfo
Constructor
DBReader(Connection) - Constructor for class edu.ucsb.nceas.metacat.DBReader
construct a DBReader instance.
DBSAXDocument - class edu.ucsb.nceas.metacat.DBSAXDocument.
A Class that writes an XML document main data to a database connection
DBSAXDocument(Connection, long, String, String) - Constructor for class edu.ucsb.nceas.metacat.DBSAXDocument
Construct a new document instance
DBSAXElement - class edu.ucsb.nceas.metacat.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, int) - Constructor for class edu.ucsb.nceas.metacat.DBSAXElement
Construct a new element instance
DBSAXHandler - class edu.ucsb.nceas.metacat.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 edu.ucsb.nceas.metacat.DBSAXHandler
Construct an instance of the handler class
DBSAXWriter - class edu.ucsb.nceas.metacat.DBSAXWriter.
A Class that reads in an XML text document and write its contents to a database connection using SAX
DBSAXWriter(Reader, Connection) - Constructor for class edu.ucsb.nceas.metacat.DBSAXWriter
construct a new instance of the class to write an XML file to the database
DBSAXWriter(String, Connection) - Constructor for class edu.ucsb.nceas.metacat.DBSAXWriter
 
DBSimpleQuery - class edu.ucsb.nceas.metacat.DBSimpleQuery.
A Class that searches a relational DB for elements and attributes that have free text matches to the query string.
DBSimpleQuery(Connection) - Constructor for class edu.ucsb.nceas.metacat.DBSimpleQuery
construct an instance of the DBSimpleQuery class
DBTransform - class edu.ucsb.nceas.metacat.DBTransform.
A Class that transforms XML documents utitlizing XSL style sheets
DBTransform(Connection) - Constructor for class edu.ucsb.nceas.metacat.DBTransform
construct a DBTransform instance.
doGet(HttpServletRequest, HttpServletResponse) - Method in class edu.ucsb.nceas.metacat.MetaCatServlet
Handle "GET" method requests from HTTP clients
doPost(HttpServletRequest, HttpServletResponse) - Method in class edu.ucsb.nceas.metacat.MetaCatServlet
Handle "POST" method requests from HTTP clients

E

edu.ucsb.nceas.metacat - package edu.ucsb.nceas.metacat
 
endDoctype() - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that receives notification of end of DTD All events in DTDHandler about all unparsed entities and the event in EntityResolver for the DTD file declaration appear between setDoctype and endDoctype.
endDocument() - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that receives notification of end of the document
endElement(NSName) - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that is called at the end of each XML element

F

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

G

GenericXMLValidate - class edu.ucsb.nceas.metacat.GenericXMLValidate.
Name: GenericXMLValidate.java Purpose: A Class that validates XML documents This class is designed to be 'parser independent i.e.
GenericXMLValidate(Parser) - Constructor for class edu.ucsb.nceas.metacat.GenericXMLValidate
 
GenericXMLValidate(Parser, String) - Constructor for class edu.ucsb.nceas.metacat.GenericXMLValidate
 
getAttribute(String) - Method in class edu.ucsb.nceas.metacat.BasicElement
Get an attribute value by name
getAttributes() - Method in class edu.ucsb.nceas.metacat.BasicElement
Get the attributes as a string
getContent() - Method in class edu.ucsb.nceas.metacat.BasicElement
Get the content of the element
getDocname() - Method in class edu.ucsb.nceas.metacat.DBReader.DoctypeInfo
get the document name
getDoctype() - Method in class edu.ucsb.nceas.metacat.DBReader.DoctypeInfo
get the document type
getDoctypeInfo(long) - Method in class edu.ucsb.nceas.metacat.DBReader
Look up the document type information from the database
getElementID() - Method in class edu.ucsb.nceas.metacat.BasicElement
Get the id of this element
getNodeIndex() - Method in class edu.ucsb.nceas.metacat.BasicElement
Get nodeIndex of the element
getParentID() - Method in class edu.ucsb.nceas.metacat.BasicElement
Get the parent id of this element
getRootNode(long) - Method in class edu.ucsb.nceas.metacat.DBReader
Get the root node id for an XML document given a document id
getSystemID() - Method in class edu.ucsb.nceas.metacat.DBReader.DoctypeInfo
get the system identifier
getSystemId(String, String, String) - Method in class edu.ucsb.nceas.metacat.DBTransform
Lookup a stylesheet reference from the db catalog
getTagName() - Method in class edu.ucsb.nceas.metacat.BasicElement
Get the name of this element
getTitle() - Method in class edu.ucsb.nceas.metacat.DBSAXDocument
Get the document title

I

ignorableWhitespace(char[], int, int) - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that is called for each XML text node that is Ignorable white space
incChildNum() - Method in class edu.ucsb.nceas.metacat.BasicElement
increase childNum when new child for the element is created
init(ServletConfig) - Method in class edu.ucsb.nceas.metacat.MetaCatServlet
Initialize the servlet by creating appropriate database connections

M

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

N

notationDecl(String, String, String) - Method in class edu.ucsb.nceas.metacat.DBDTDHandler
Notation declarations are not signaled

P

processingInstruction(String, String) - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
 

R

ReaderElement - class edu.ucsb.nceas.metacat.ReaderElement.
A Class that represents an XML element and its contents, and can build itself from a database connection
ReaderElement(Connection) - Constructor for class edu.ucsb.nceas.metacat.ReaderElement
Construct a new ReaderElement instance
ReaderElement(Connection, long) - Constructor for class edu.ucsb.nceas.metacat.ReaderElement
Construct a new ReaderElement instance
ReaderElement(Connection, long, long, String, String) - Constructor for class edu.ucsb.nceas.metacat.ReaderElement
Construct a new ReaderElement instance
readXMLDocument(long) - Method in class edu.ucsb.nceas.metacat.DBReader
Create an XML document from the database starting with the element having element_id nodeid
resolveEntity(String, String) - Method in class edu.ucsb.nceas.metacat.DBEntityResolver
The Parser call this method before opening any external entity except the top-level document entity (including the external DTD subset, external entities referenced within the DTD, and external entities referenced within the document element)
returnErrors() - Method in class edu.ucsb.nceas.metacat.GenericXMLValidate
 

S

setAttribute(String, String) - Method in class edu.ucsb.nceas.metacat.BasicElement
Add a new attribute to this element, or set its value
setAttribute(String, String) - Method in class edu.ucsb.nceas.metacat.DBSAXElement
Add a new attribute to this element, or set its value
setDoctype(DTD) - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that receives notification of DTD.
setElementID(long) - Method in class edu.ucsb.nceas.metacat.BasicElement
Set the id of this element
setParentID(long) - Method in class edu.ucsb.nceas.metacat.BasicElement
Set the parent id of this element
setTagName(String) - Method in class edu.ucsb.nceas.metacat.BasicElement
Set the tagname of this element
setTitle(String) - Method in class edu.ucsb.nceas.metacat.DBSAXDocument
Set the document title
setTitleFromChildElement() - Method in class edu.ucsb.nceas.metacat.DBSAXDocument
Look up the title of the first child element named "title" and record it as the document title
startDocument() - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that receives notification of beginning of the document
startElement(NSName, SAXAttrList) - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that is called at the start of each XML element

T

toString() - Method in class edu.ucsb.nceas.metacat.BasicElement
convert the element to a string representation for display
toString() - Method in class edu.ucsb.nceas.metacat.ReaderElement
String representation for display purposes (recursively descends through children to create an XML subtree)
transformXMLDocument(String, String, String, PrintWriter) - Method in class edu.ucsb.nceas.metacat.DBTransform
Transform an XML document using the stylesheet reference from the db

U

unparsedEntityDecl(String, String, String, String) - Method in class edu.ucsb.nceas.metacat.DBDTDHandler
All are reported after startDocument and before first startElement event

V

validate(String) - Method in class edu.ucsb.nceas.metacat.GenericXMLValidate
 
validateString(String) - Method in class edu.ucsb.nceas.metacat.GenericXMLValidate
 
validating - Variable in class edu.ucsb.nceas.metacat.XMLValidate
 

W

writeContentToDB() - Method in class edu.ucsb.nceas.metacat.DBSAXElement
Write the element content to the db connection

X

XMLValidate - class edu.ucsb.nceas.metacat.XMLValidate.
XMLValidate.java Purpose: A Class that validates XML documents This class is uses a specific parser and calls the GenericXMLValidate class to do the actual validation Copyright: 2000 Regents of the University of California and the National Center for Ecological Analysis and Synthesis April 28, 2000
XMLValidate(String) - Constructor for class edu.ucsb.nceas.metacat.XMLValidate
 

A B C D E F G I M N P R S T U V W X