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

A

AccessionNumber - class edu.ucsb.nceas.metacat.AccessionNumber.
A class that gets Accession Number, check for uniqueness and register it into db connection
AccessionNumber() - Constructor for class edu.ucsb.nceas.metacat.AccessionNumber
 
addChildNode(BasicNode) - Method in class edu.ucsb.nceas.metacat.BasicNode
Add a child node to this node

B

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

C

characters(char[], int, int) - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that is called for each XML text node
characters(char[], int, int) - Method in class edu.ucsb.nceas.metacat.QuerySpecification
callback method used by the SAX Parser when the text sequences of an xml stream are detected.
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.
createQuery(String) - Static method in class edu.ucsb.nceas.metacat.DBQuery
format a simple free-text value query as an XML document that conforms to the pathquery.dtd and is appropriate for submission to the DBQuery structured query engine
createQuery(String, String) - Static method in class edu.ucsb.nceas.metacat.DBQuery
format a simple free-text value query as an XML document that conforms to the pathquery.dtd and is appropriate for submission to the DBQuery structured query engine

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
 
DBQuery - class edu.ucsb.nceas.metacat.DBQuery.
A Class that searches a relational DB for elements and attributes that have free text matches a query string, or structured query matches to a path specified node in the XML hierarchy.
DBQuery(Connection, String) - Constructor for class edu.ucsb.nceas.metacat.DBQuery
construct an instance of the DBQuery class
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
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
DBSAXNode - class edu.ucsb.nceas.metacat.DBSAXNode.
A Class that represents an XML node and its contents and can write its own representation to a database connection
DBSAXNode(Connection, String) - Constructor for class edu.ucsb.nceas.metacat.DBSAXNode
Construct a new node instance for DOCUMENT nodes
DBSAXNode(Connection, String, DBSAXNode, DBSAXNode, DBSAXDocument) - Constructor for class edu.ucsb.nceas.metacat.DBSAXNode
Construct a new node instance for ELEMENT nodes
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.
DBWriter - class edu.ucsb.nceas.metacat.DBWriter.
A Class that reads in an XML text document and write its contents to a database connection using SAX
DBWriter(Reader, Connection) - Constructor for class edu.ucsb.nceas.metacat.DBWriter
construct a new instance of the class to write an XML file to the database
DBWriter(String, Connection) - Constructor for class edu.ucsb.nceas.metacat.DBWriter
 
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
 
ElementNode - class edu.ucsb.nceas.metacat.ElementNode.
A Class that represents an XML element and its contents, and can build itself from a database connection
ElementNode(Connection) - Constructor for class edu.ucsb.nceas.metacat.ElementNode
Construct a new ElementNode instance
ElementNode(Connection, long) - Constructor for class edu.ucsb.nceas.metacat.ElementNode
Construct a new ElementNode instance
ElementNode(Connection, long, long, String, String) - Constructor for class edu.ucsb.nceas.metacat.ElementNode
Construct a new ElementNode instance
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
endElement(String) - Method in class edu.ucsb.nceas.metacat.QuerySpecification
callback method used by the SAX Parser when the end tag of an element is detected.

F

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

G

generate(String, String) - Static method in class edu.ucsb.nceas.metacat.AccessionNumber
This method gets Accession Number (if any), check for uniqueness and register it into new db connection
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.BasicNode
Get an attribute value by name
getAttributes() - Method in class edu.ucsb.nceas.metacat.BasicNode
Get the attributes as a string
getChildren() - Method in class edu.ucsb.nceas.metacat.BasicNode
Get the an enumeration of the children of this node
getDocID() - Method in class edu.ucsb.nceas.metacat.BasicNode
Get the doc id of this node
getDocID() - Method in class edu.ucsb.nceas.metacat.DBSAXDocument
Get doc id
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(String) - Method in class edu.ucsb.nceas.metacat.DBReader
Look up the document type information from the database
getNodeData() - Method in class edu.ucsb.nceas.metacat.TextNode
Get the node data as a string value
getNodeID() - Method in class edu.ucsb.nceas.metacat.BasicNode
Get the id of this node
getNodeIndex() - Method in class edu.ucsb.nceas.metacat.BasicNode
Get nodeIndex of the node
getNodeType() - Method in class edu.ucsb.nceas.metacat.BasicNode
Get the type of this node
getParentID() - Method in class edu.ucsb.nceas.metacat.BasicNode
Get the parent id of this node
getParentNode() - Method in class edu.ucsb.nceas.metacat.DBSAXNode
get the parent of this node
getRootNode(String) - Method in class edu.ucsb.nceas.metacat.DBReader
Get the root node id for an XML document given a document id
getRootNodeID() - Method in class edu.ucsb.nceas.metacat.BasicNode
Get the root node id of this node
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.BasicNode
Get the name of this node
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.BasicNode
increase childNum when new child for the node 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.DBQuery
the main routine used to test the DBQuery utility.
main(String[]) - Static method in class edu.ucsb.nceas.metacat.DBWriter
the main routine used to test the DBWriter 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.XMLValidate
 
main(String[]) - Static method in class edu.ucsb.nceas.metacat.DBSimpleQuery
the main routine used to test the DBSimpleQuery utility.
main(String[]) - Static method in class edu.ucsb.nceas.metacat.QuerySpecification
Main routine for testing
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
 
MetaCatUtil - class edu.ucsb.nceas.metacat.MetaCatUtil.
A suite of utility classes for the metadata catalog server
MetaCatUtil() - Constructor for class edu.ucsb.nceas.metacat.MetaCatUtil
 

N

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

O

openDBConnection(String, String, String, String) - Static method in class edu.ucsb.nceas.metacat.MetaCatUtil
Utility method to establish a JDBC database connection

P

printSQL() - Method in class edu.ucsb.nceas.metacat.QuerySpecification
create a SQL serialization of the query that this instance represents
processingInstruction(String, String) - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler called once for each processing instruction found: node that PI may occur before or after the root element.

Q

QuerySpecification - class edu.ucsb.nceas.metacat.QuerySpecification.
A Class that represents a structured query, and can be constructed from an XML serialization conforming to @see pathquery.dtd.
QuerySpecification(Reader, String) - Constructor for class edu.ucsb.nceas.metacat.QuerySpecification
construct an instance of the QuerySpecification class
QuerySpecification(String, String) - Constructor for class edu.ucsb.nceas.metacat.QuerySpecification
construct an instance of the QuerySpecification class

R

readXMLDocument(String) - 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.BasicNode
Add a new attribute to this node, or set its value
setAttribute(String, String) - Method in class edu.ucsb.nceas.metacat.DBSAXNode
Add a new attribute to this node, or set its value
setDocID(String) - Method in class edu.ucsb.nceas.metacat.BasicNode
Set the doc id of this node
setDoctype(DTD) - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that receives notification of DTD.
setNodeData(String) - Method in class edu.ucsb.nceas.metacat.TextNode
Set the node data to the given string
setNodeID(long) - Method in class edu.ucsb.nceas.metacat.BasicNode
Set the id of this node
setNodeIndex(int) - Method in class edu.ucsb.nceas.metacat.BasicNode
Set the node index of this node
setNodeType(String) - Method in class edu.ucsb.nceas.metacat.BasicNode
Set the type of this node
setParentID(long) - Method in class edu.ucsb.nceas.metacat.BasicNode
Set the parent id of this node
setRootNodeID(long) - Method in class edu.ucsb.nceas.metacat.BasicNode
Set the root node id of this node
setTagName(String) - Method in class edu.ucsb.nceas.metacat.BasicNode
Set the name of this node
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
startElement(String, AttributeList) - Method in class edu.ucsb.nceas.metacat.QuerySpecification
callback method used by the SAX Parser when the start tag of an element is detected.

T

TextNode - class edu.ucsb.nceas.metacat.TextNode.
A Class that represents an XML Text node and its contents,
TextNode(long, long, String, String) - Constructor for class edu.ucsb.nceas.metacat.TextNode
Construct a new TextNode instance
toString() - Method in class edu.ucsb.nceas.metacat.TextNode
String representation of this text node
toString() - Method in class edu.ucsb.nceas.metacat.ElementNode
String representation for display purposes (recursively descends through children to create an XML subtree)
toString() - Method in class edu.ucsb.nceas.metacat.QuerySpecification
create a String description of the query that this instance represents.
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

writeChildNodeToDB(String, String, String) - Method in class edu.ucsb.nceas.metacat.DBSAXNode
creates SQL code and inserts new node into DB connection
writeDocID(String) - Method in class edu.ucsb.nceas.metacat.DBSAXNode
creates SQL code to put doc ID for the document node and for comment/PI nodes under document node into DB connection
writeNodename(String) - Method in class edu.ucsb.nceas.metacat.DBSAXNode
creates SQL code to put nodename for the document node into DB connection
writeRootNodeID(long) - Method in class edu.ucsb.nceas.metacat.DBSAXNode
creates SQL code to put root node id for the document node into 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 O P Q R S T U V W X

Copyright © 2000 National Center for Ecological Analysis and Synthesis. All Rights Reserved.