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

A

AccessionNumber - class edu.ucsb.nceas.metacat.AccessionNumber.
(on insert of XML document) Generates a unique Accession Number or if provided check it for uniqueness and register it into the db connection (on update or delete of XML document) Check for existance of provided Accession Number
AccessionNumber() - Constructor for class edu.ucsb.nceas.metacat.AccessionNumber
Construct an AccessionNumber
AccessionNumber(Connection) - Constructor for class edu.ucsb.nceas.metacat.AccessionNumber
Construct an AccessionNumber
AccessionNumberException - exception edu.ucsb.nceas.metacat.AccessionNumberException.
Exception thrown when an error occurs because an AccessionNumber was invalid or used incorrectly.
AccessionNumberException(String) - Constructor for class edu.ucsb.nceas.metacat.AccessionNumberException
Create a new AccessionNumberException.
AccessionNumberGeneratedException - exception edu.ucsb.nceas.metacat.AccessionNumberGeneratedException.
Exception thrown when a new accession number is generated either because none was provided or it was not unique.
AccessionNumberGeneratedException(String) - Constructor for class edu.ucsb.nceas.metacat.AccessionNumberGeneratedException
Create a new AccessionNumberGeneratedException.
addChildNode(BasicNode) - Method in class edu.ucsb.nceas.metacat.BasicNode
Add a child node to this node
attributeDecl(String, String, String, String, String) - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that receives notification of attribute declarations
authenticate(HttpServletRequest, String, String) - Method in class edu.ucsb.nceas.metacat.AuthSession
determine if the credentials for this session are valid by authenticating them using the authService configured for this session.
authenticate(String, String) - Method in class edu.ucsb.nceas.metacat.AuthMcat
Determine if a user/password are valid according to the authentication service.
authenticate(String, String) - Method in interface edu.ucsb.nceas.metacat.AuthInterface
Determine if a user/password are valid according to the authentication service.
authenticate(String, String) - Method in class edu.ucsb.nceas.metacat.AuthLdap
Determine if a user/password are valid according to the authentication service.
AuthInterface - interface edu.ucsb.nceas.metacat.AuthInterface.
An interface representing the methods that should be implemented by an authentication service.
AuthLdap - class edu.ucsb.nceas.metacat.AuthLdap.
An implementation of the AuthInterface interface that allows Metacat to use the LDAP protocol for directory services.
AuthLdap() - Constructor for class edu.ucsb.nceas.metacat.AuthLdap
 
AuthMcat - class edu.ucsb.nceas.metacat.AuthMcat.
An implementation of the AuthInterface interface that allows Metacat to use the SRB/MCAT for authentication.
AuthMcat() - Constructor for class edu.ucsb.nceas.metacat.AuthMcat
 
AuthSession - class edu.ucsb.nceas.metacat.AuthSession.
A Class that implements session tracking for MetaCatServlet users.
AuthSession() - Constructor for class edu.ucsb.nceas.metacat.AuthSession
Construct an AuthSession

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.
closeConnections() - Method in class edu.ucsb.nceas.metacat.MetaCatUtil
 
comment(char[], int, int) - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that receives notification of comments in the DTD
CommentNode - class edu.ucsb.nceas.metacat.CommentNode.
A Class that represents an XML Comment node and its contents,
CommentNode(long, long, String) - Constructor for class edu.ucsb.nceas.metacat.CommentNode
Construct a new CommentNode instance
compare(NodeRecord, NodeRecord) - Method in class edu.ucsb.nceas.metacat.NodeComparator
compare two NodeRecord objects to determine proper sort order.
compare(Object, Object) - Method in class edu.ucsb.nceas.metacat.NodeComparator
compare two objects to determine proper sort order -- delegates to the compare(NodeRecord, NodeRecord) method.
containsExtendedSQL() - Method in class edu.ucsb.nceas.metacat.QuerySpecification
Returns true if the parsed query contains and extended xml query (i.e.
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
createResultDocument(Hashtable, String) - Method in class edu.ucsb.nceas.metacat.MetaCatServlet
Transforms a hashtable of documents to an xml or html result.
createSQuery(Hashtable) - Static method in class edu.ucsb.nceas.metacat.DBQuery
format a structured 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 class
DBEntityResolver(Connection, DBSAXHandler) - Constructor for class edu.ucsb.nceas.metacat.DBEntityResolver
Construct an instance of the DBEntityResolver class
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
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
DBSAXHandler(Connection, String, String, String) - 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, long, String, String) - 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.
DBUtil - class edu.ucsb.nceas.metacat.DBUtil.
A suite of utility classes for quering DB
DBUtil(Connection) - Constructor for class edu.ucsb.nceas.metacat.DBUtil
Construct an instance of the utility class
DBValidate - class edu.ucsb.nceas.metacat.DBValidate.
Name: DBValidate.java Purpose: A Class that validates XML documents This class is designed to be parser independent i.e.
DBValidate(String) - Constructor for class edu.ucsb.nceas.metacat.DBValidate
Construct a new validation object
DBValidate(String, Connection) - Constructor for class edu.ucsb.nceas.metacat.DBValidate
Construct a new validation object using a database entity resolver
DBValidate(String, String) - Constructor for class edu.ucsb.nceas.metacat.DBValidate
Construct a new validation object using an OASIS catalog file
debugMessage(int) - Static method in class edu.ucsb.nceas.metacat.MetaCatUtil
Utility method to print debugging messages
debugMessage(String) - Static method in class edu.ucsb.nceas.metacat.MetaCatUtil
Utility method to print debugging messages
decodeMouseAction(Hashtable) - Method in class edu.ucsb.nceas.metacat.MetaCatServlet
decodes the mouse click information coming from the client.
delete(Connection, String, String, String) - Static method in class edu.ucsb.nceas.metacat.DocumentImpl
Delete an XML file from the database (actually, just make it a revision in the xml_revisions table)
destroy() - Method in class edu.ucsb.nceas.metacat.MetaCatServlet
Close all db connections from the pool
DocumentImpl - class edu.ucsb.nceas.metacat.DocumentImpl.
A class that represents an XML document.
DocumentImpl(Connection, long, String, String, String, String, String) - Constructor for class edu.ucsb.nceas.metacat.DocumentImpl
Construct a new document instance, writing the contents to the database.
DocumentImpl(Connection, String) - Constructor for class edu.ucsb.nceas.metacat.DocumentImpl
Constructor, creates document from database connection, used for reading the document
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
 
elementDecl(String, String) - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that receives notification of element declarations
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(TreeSet, long) - Constructor for class edu.ucsb.nceas.metacat.ElementNode
Construct a new ElementNode instance, and recursively create its children
endCDATA() - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that receives notification of the end of CDATA sections
endDocument() - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that receives notification of end of the document
endDTD() - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that receives notification of end of DTD
endElement(String, String, String) - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that is called at the end of each XML element
endElement(String, String, 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.
endEntity(String) - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that receives notification of the end of entities
error(SAXParseException) - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that receives notification of recoverable parsing errors
externalEntityDecl(String, String, String) - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that receives notification of external entity declarations

F

fatalError(SAXParseException) - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that receives notification of fatal parsing errors
fileToURL(File) - Static method in class edu.ucsb.nceas.metacat.MetaCatUtil
Utility method to convert a file handle into a URL
findDocuments(Reader, String, String) - Method in class edu.ucsb.nceas.metacat.DBQuery
 
findDocuments(Reader, String, String, String[]) - 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) - Method in class edu.ucsb.nceas.metacat.AccessionNumber
Get an Accession Number, check it for uniqueness and register it into db connection.
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
getAttributes(String) - Method in class edu.ucsb.nceas.metacat.AuthMcat
Get attributes describing a user or group
getAttributes(String) - Method in interface edu.ucsb.nceas.metacat.AuthInterface
Get attributes describing a user or group
getAttributes(String) - Method in class edu.ucsb.nceas.metacat.AuthLdap
Get attributes describing a user or group
getAttributes(String, String, String) - Method in class edu.ucsb.nceas.metacat.AuthMcat
Get attributes describing a user or group
getAttributes(String, String, String) - Method in interface edu.ucsb.nceas.metacat.AuthInterface
Get attributes describing a user or group
getAttributes(String, String, String) - Method in class edu.ucsb.nceas.metacat.AuthLdap
Get attributes describing a user or group
getChildren() - Method in class edu.ucsb.nceas.metacat.BasicNode
Get the an enumeration of the children of this node
getConnection() - Method in class edu.ucsb.nceas.metacat.MetaCatUtil
 
getConnectionPool() - Method in class edu.ucsb.nceas.metacat.MetaCatUtil
 
getCreateDate() - Method in class edu.ucsb.nceas.metacat.DocumentImpl
get the creation date
getDocID() - Method in class edu.ucsb.nceas.metacat.BasicNode
Get the doc id of this node
getDocID() - Method in class edu.ucsb.nceas.metacat.DocumentImpl
Get the document identifier (docid)
getDocname() - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
get the document name
getDocname() - Method in class edu.ucsb.nceas.metacat.DocumentImpl
get the document name
getDocTitle() - Method in class edu.ucsb.nceas.metacat.DocumentImpl
get the document title
getDoctype() - Method in class edu.ucsb.nceas.metacat.DocumentImpl
get the document type (which is the PublicID)
getException() - Method in class edu.ucsb.nceas.metacat.McdbException
Get the tunneled Exception
getGroups(String, String) - Method in class edu.ucsb.nceas.metacat.AuthMcat
Get all groups from the authentication service
getGroups(String, String) - Method in interface edu.ucsb.nceas.metacat.AuthInterface
Get all groups from the authentication service
getGroups(String, String) - Method in class edu.ucsb.nceas.metacat.AuthLdap
Get all groups from the authentication service
getGroups(String, String, String) - Method in class edu.ucsb.nceas.metacat.AuthMcat
Get the groups for a particular user from the authentication service
getGroups(String, String, String) - Method in interface edu.ucsb.nceas.metacat.AuthInterface
Get the groups for a particular user from the authentication service
getGroups(String, String, String) - Method in class edu.ucsb.nceas.metacat.AuthLdap
Get the groups for a particular user from the authentication service
getHashParam(String) - Method in class edu.ucsb.nceas.metacat.metacatURL
returns a single parameter from the hash by name
getHashParams() - Method in class edu.ucsb.nceas.metacat.metacatURL
Returns the parameters in a hashtable.
getMessage() - Method in class edu.ucsb.nceas.metacat.McdbException
Get the message from this exception.
getMessage() - Method in class edu.ucsb.nceas.metacat.AuthSession
Get the message associated with authenticating this session.
getNodeContent(String, String, Connection) - Static method in class edu.ucsb.nceas.metacat.DBQuery
returns a string array of the contents of a particular node.
getNodeData() - Method in class edu.ucsb.nceas.metacat.TextNode
Get the node data as a string value
getNodeData() - Method in class edu.ucsb.nceas.metacat.PINode
Get the node data as a string value
getNodeData() - Method in class edu.ucsb.nceas.metacat.CommentNode
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
getOption(String) - Method in class edu.ucsb.nceas.metacat.MetaCatUtil
Utility method to get an option value from the properties file
getParam(int) - Method in class edu.ucsb.nceas.metacat.metacatURL
Returns a single parameter and value as a 1D string array.
getParams() - Method in class edu.ucsb.nceas.metacat.metacatURL
Returns the parameters as a 2D string array.
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
getPoolSize() - Method in class edu.ucsb.nceas.metacat.MetaCatUtil
 
getReturnFieldList() - Method in class edu.ucsb.nceas.metacat.QuerySpecification
Accessor method to return a vector of the extended return fields as defined in the <returnfield> tag in the pathquery dtd.
getRootNodeID() - Method in class edu.ucsb.nceas.metacat.BasicNode
Get the root node id of this node
getRootNodeID() - Method in class edu.ucsb.nceas.metacat.DocumentImpl
get the root node identifier
getSystemID() - Method in class edu.ucsb.nceas.metacat.DocumentImpl
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.DocumentImpl
Get the document title
getUpdateDate() - Method in class edu.ucsb.nceas.metacat.DocumentImpl
get the update date
getURLType() - Method in class edu.ucsb.nceas.metacat.metacatURL
Returns the type of the url.
getUsers(String, String) - Method in class edu.ucsb.nceas.metacat.AuthMcat
Get all users from the authentication service
getUsers(String, String) - Method in interface edu.ucsb.nceas.metacat.AuthInterface
Get all users from the authentication service
getUsers(String, String) - Method in class edu.ucsb.nceas.metacat.AuthLdap
Get all users from the authentication service
getUsers(String, String, String) - Method in class edu.ucsb.nceas.metacat.AuthMcat
Get the users for a particular group from the authentication service
getUsers(String, String, String) - Method in interface edu.ucsb.nceas.metacat.AuthInterface
Get the users for a particular group from the authentication service
getUsers(String, String, String) - Method in class edu.ucsb.nceas.metacat.AuthLdap
Get the users for a particular group from the authentication service

H

handleQuery(PrintWriter, Hashtable, HttpServletResponse, String, String) - Method in class edu.ucsb.nceas.metacat.MetaCatServlet
Create the xml query, execute it and display the results.
handleSQuery(PrintWriter, Hashtable, HttpServletResponse, String, String) - Method in class edu.ucsb.nceas.metacat.MetaCatServlet
Retreive the squery xml, execute it and display it

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
internalEntityDecl(String, String) - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that receives notification of internal entity declarations

M

main(String[]) - Static method in class edu.ucsb.nceas.metacat.AuthMcat
Test method for the class
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.metacatURL
Test method for this class.
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.AuthLdap
Test method for the class
main(String[]) - Static method in class edu.ucsb.nceas.metacat.DocumentImpl
the main routine used to test the DBWriter utility.
main(String[]) - Static method in class edu.ucsb.nceas.metacat.QuerySpecification
Main routine for testing
main(String[]) - Static method in class edu.ucsb.nceas.metacat.DBValidate
main method for testing
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.DBUtil
main routine used for testing.
McdbDocNotFoundException - exception edu.ucsb.nceas.metacat.McdbDocNotFoundException.
Exception thrown when an error occurs because a document with a given ID could not be found in the metacat database.
McdbDocNotFoundException() - Constructor for class edu.ucsb.nceas.metacat.McdbDocNotFoundException
Create a new McdbDocNotFoundException.
McdbDocNotFoundException(Exception) - Constructor for class edu.ucsb.nceas.metacat.McdbDocNotFoundException
Create a new McdbDocNotFoundException.
McdbDocNotFoundException(String) - Constructor for class edu.ucsb.nceas.metacat.McdbDocNotFoundException
Create a new McdbDocNotFoundException.
McdbDocNotFoundException(String, Exception) - Constructor for class edu.ucsb.nceas.metacat.McdbDocNotFoundException
Create a new McdbDocNotFoundException.
McdbException - exception edu.ucsb.nceas.metacat.McdbException.
Exception thrown when an error occurs because a problem occurred in the metacat database.
McdbException() - Constructor for class edu.ucsb.nceas.metacat.McdbException
Create a new McdbException.
McdbException(Exception) - Constructor for class edu.ucsb.nceas.metacat.McdbException
Create a new McdbException.
McdbException(String) - Constructor for class edu.ucsb.nceas.metacat.McdbException
Create a new McdbException.
McdbException(String, Exception) - Constructor for class edu.ucsb.nceas.metacat.McdbException
Create a new McdbException.
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
 
MetaCatSession - class edu.ucsb.nceas.metacat.MetaCatSession.
A Class that implements session tracking for MetaCatServlet users.
MetaCatSession(HttpServletRequest, String, String) - Constructor for class edu.ucsb.nceas.metacat.MetaCatSession
Construct a MetaCatSession
metacatURL - class edu.ucsb.nceas.metacat.metacatURL.
 
metacatURL(String) - Constructor for class edu.ucsb.nceas.metacat.metacatURL
This constructor takes a string url and parses it according to the following rules.
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
Construct an instance of the utility class
MetaCatUtil(String) - Constructor for class edu.ucsb.nceas.metacat.MetaCatUtil
This constructor allows the usage of a different properties file

N

NodeComparator - class edu.ucsb.nceas.metacat.NodeComparator.
A utility class that sorts two node records.
NodeComparator() - Constructor for class edu.ucsb.nceas.metacat.NodeComparator
Constructor
nodedata - Variable in class edu.ucsb.nceas.metacat.NodeRecord
 
nodeid - Variable in class edu.ucsb.nceas.metacat.NodeRecord
 
nodeindex - Variable in class edu.ucsb.nceas.metacat.NodeRecord
 
nodename - Variable in class edu.ucsb.nceas.metacat.NodeRecord
 
NodeRecord - class edu.ucsb.nceas.metacat.NodeRecord.
A utility class that encapsulates a node and its data
NodeRecord(long, long, long, String, String, String) - Constructor for class edu.ucsb.nceas.metacat.NodeRecord
Constructor
nodetype - Variable in class edu.ucsb.nceas.metacat.NodeRecord
 
notationDecl(String, String, String) - Method in class edu.ucsb.nceas.metacat.DBDTDHandler
Notation declarations are not signaled

O

openDBConnection() - Method in class edu.ucsb.nceas.metacat.MetaCatUtil
Utility method to establish a JDBC database connection using connection info from the properties file
openDBConnection(String, String, String, String) - Static method in class edu.ucsb.nceas.metacat.MetaCatUtil
Utility method to establish a JDBC database connection

P

parentnodeid - Variable in class edu.ucsb.nceas.metacat.NodeRecord
 
PINode - class edu.ucsb.nceas.metacat.PINode.
A Class that represents an XML PI node and its contents,
PINode(long, long, String, String) - Constructor for class edu.ucsb.nceas.metacat.PINode
Construct a new PINode instance
printExtendedSQL(String) - Method in class edu.ucsb.nceas.metacat.QuerySpecification
This method prints sql based upon the <returnfield> tag in the pathquery document.
printGetDocByDoctypeSQL(String) - Static method in class edu.ucsb.nceas.metacat.QuerySpecification
 
printHashParams() - Method in class edu.ucsb.nceas.metacat.metacatURL
 
printPackageSQL() - Static method in class edu.ucsb.nceas.metacat.QuerySpecification
Prints sql that returns all relations in the database.
printPackageSQL(String) - Static method in class edu.ucsb.nceas.metacat.QuerySpecification
Prints sql that returns all relations in the database that were input under a specific docid
printPackageSQL(String, String) - Static method in class edu.ucsb.nceas.metacat.QuerySpecification
Returns all of the relations that has a certain docid in the subject or the object.
printParams() - Method in class edu.ucsb.nceas.metacat.metacatURL
Prints the parameters neatly to system.out
printRelationSQL(String) - Static method in class edu.ucsb.nceas.metacat.QuerySpecification
 
printSQL() - Method in class edu.ucsb.nceas.metacat.QuerySpecification
create a SQL serialization of the query that this instance represents
processingDTD() - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
get the document processing state
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

readDataGuide(String) - Method in class edu.ucsb.nceas.metacat.DBUtil
read Data Guide for a given doctype from db connection in XML format select all distinct absolute paths from xml_index table
readDoctypes() - Method in class edu.ucsb.nceas.metacat.DBUtil
read all doctypes from db connection in XML format select all Public Id from xml_catalog table
readUsingSlowAlgorithm() - Method in class edu.ucsb.nceas.metacat.DocumentImpl
Get a text representation of the XML document as a string This older algorithm uses a recursive tree of Objects to represent the nodes of the tree.
relationHandler - class edu.ucsb.nceas.metacat.relationHandler.
 
relationHandler(DocumentImpl, Connection) - Constructor for class edu.ucsb.nceas.metacat.relationHandler
Constructor for this class.
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)
returnConnection(Connection) - Method in class edu.ucsb.nceas.metacat.MetaCatUtil
 
returnErrors() - Method in class edu.ucsb.nceas.metacat.DBValidate
provide a list of errors from the validation process
run() - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
 
run() - Method in class edu.ucsb.nceas.metacat.relationHandler
The thread handler

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, 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
setNodeData(String) - Method in class edu.ucsb.nceas.metacat.TextNode
Set the node data to the given string
setNodeData(String) - Method in class edu.ucsb.nceas.metacat.PINode
Set the node data to the given string
setNodeData(String) - Method in class edu.ucsb.nceas.metacat.CommentNode
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.DocumentImpl
Set the document title
startCDATA() - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that receives notification of the start of CDATA sections
startDocument() - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that receives notification of beginning of the document
startDTD(String, String, String) - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that receives notification of DOCTYPE.
startElement(String, String, String, Attributes) - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that is called at the start of each XML element
startElement(String, String, String, Attributes) - Method in class edu.ucsb.nceas.metacat.QuerySpecification
callback method used by the SAX Parser when the start tag of an element is detected.
startEntity(String) - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that receives notification of the start of entities

T

TextNode - class edu.ucsb.nceas.metacat.TextNode.
A Class that represents an XML Text node and its contents,
TextNode(long, long, String) - Constructor for class edu.ucsb.nceas.metacat.TextNode
Construct a new TextNode instance
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.metacatURL
returns a string representation of this metacatURL
toString() - Method in class edu.ucsb.nceas.metacat.TextNode
String representation of this text node
toString() - Method in class edu.ucsb.nceas.metacat.DocumentImpl
Print a string representation of the XML document
toString() - Method in class edu.ucsb.nceas.metacat.QuerySpecification
create a String description of the query that this instance represents.
toString() - Method in class edu.ucsb.nceas.metacat.PINode
String representation of this text node
toString() - Method in class edu.ucsb.nceas.metacat.CommentNode
String representation of this text node
toXml(PrintWriter) - Method in class edu.ucsb.nceas.metacat.McdbException
Print the message from this exception in XML format.
toXml(Writer) - Method in class edu.ucsb.nceas.metacat.DocumentImpl
Print a text representation of the XML document to a Writer
transformQuery(Hashtable) - Method in class edu.ucsb.nceas.metacat.MetaCatServlet
Removes the tag from the beginning of xmlquery so it can properly be placed in the tag of the resultset.
transformQuery(String) - Method in class edu.ucsb.nceas.metacat.MetaCatServlet
removes the tag from the beginning.
transformResultset(String, HttpServletResponse, PrintWriter) - Method in class edu.ucsb.nceas.metacat.MetaCatServlet
Transorms an xml resultset document to html and sends it to the browser
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
updateNodeIndex(Connection, String, String) - Method in class edu.ucsb.nceas.metacat.DBSAXNode
USED FROM SEPARATE THREAD RUNNED from DBSAXHandler on endDocument() Update the node index (xml_index) for this node by generating test strings that represent all of the relative and absolute paths through the XML tree from document root to this node
userLogin(HttpServletResponse, String, String, String, String) - Method in class edu.ucsb.nceas.metacat.MetaCatSession
handle Login action for MetaCatServlet

V

validate(String) - Method in class edu.ucsb.nceas.metacat.DBValidate
validate an xml document against its DTD
validateString(String) - Method in class edu.ucsb.nceas.metacat.DBValidate
validate an xml document against its DTD

W

warning(SAXParseException) - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that receives notification of warnings
write(Connection, Reader, String, String, String, String) - Static method in class edu.ucsb.nceas.metacat.DocumentImpl
Write an XML file to the database, given a Reader
write(Connection, String, String, String, String, String) - Static method in class edu.ucsb.nceas.metacat.DocumentImpl
Write an XML file to the database, given a filename
writeChildNodeToDB(String, String, String, String) - Method in class edu.ucsb.nceas.metacat.DBSAXNode
creates SQL code and inserts new 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

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

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