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

A

AbstractDatabase - class edu.ucsb.nceas.dbadapter.AbstractDatabase.
Java offers uniform database access through the use of JDBC.
AbstractDatabase() - Constructor for class edu.ucsb.nceas.dbadapter.AbstractDatabase
 
AccessControlList - class edu.ucsb.nceas.metacat.AccessControlList.
A Class that loads eml-access.xml file containing ACL for a metadata document into relational DB.
AccessControlList(Connection) - Constructor for class edu.ucsb.nceas.metacat.AccessControlList
Construct an instance of the AccessControlList class.
AccessControlList(Connection, String, String, String[], int) - Constructor for class edu.ucsb.nceas.metacat.AccessControlList
Construct an instance of the AccessControlList class.
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
AccessionNumber(Connection, String, String) - Constructor for class edu.ucsb.nceas.metacat.AccessionNumber
NEW - WHEN CLIENT ALWAYS PROVIDE ACCESSION NUMBER INCLUDING REV IN IT 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.
accNumberUsed(String) - Method in class edu.ucsb.nceas.metacat.AccessionNumber
check for existence of Accesssion Number xml_acc_numbers table
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 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.
authenticate(String, String) - Method in class edu.ucsb.nceas.metacat.AuthMcat
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
Construct an 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
buildServerList(Connection) - Static method in class edu.ucsb.nceas.metacat.ReplicationHandler
Method to query xml_replication and build a hashtable of each server and it's last update time.

C

CatalogMessageHandler - class edu.ucsb.nceas.metacat.CatalogMessageHandler.
A Class implementing callback bethods for the SAX parser to call when processing the XML messages from the replication handler
CatalogMessageHandler() - Constructor for class edu.ucsb.nceas.metacat.CatalogMessageHandler
 
characters(char[], int, int) - Method in class edu.ucsb.nceas.metacat.CatalogMessageHandler
Take the data out of the docid and date_updated fields
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.
characters(char[], int, int) - Method in class edu.ucsb.nceas.metacat.ReplMessageHandler
Take the data out of the docid and date_updated fields
characters(char[], int, int) - Method in class edu.ucsb.nceas.metacat.AccessControlList
Callback method used by the SAX Parser when the text sequences of an xml stream are detected.
characters(char[], int, int) - Method in class edu.ucsb.nceas.metacat.DocInfoHandler
put the content and the name of the tag into the hashtable.
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.
connect() - Method in class edu.ucsb.nceas.protocols.metacat.MetacatURLConnection
Make a connection to the URL
containsExtendedSQL() - Method in class edu.ucsb.nceas.metacat.QuerySpecification
Returns true if the parsed query contains and extended xml query (i.e.
contype - Variable in class edu.ucsb.nceas.metacat.HttpMessage
 
createObject(String) - Static method in class edu.ucsb.nceas.metacat.MetaCatUtil
Instantiate a class using the name of the class at runtime
createObject(String) - Static method in class edu.ucsb.nceas.dbadapter.AbstractDatabase
Instantiate a class using the name of the class at runtime
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

dbAdapter - Static variable in class edu.ucsb.nceas.metacat.MetaCatUtil
 
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, DefaultHandler, Reader) - 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, String[], String, int) - 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, 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.marine.marineServlet
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)
deleteRelations(String) - Method in class edu.ucsb.nceas.metacat.RelationHandler
Deletes all of the relations with a docid of 'docid'.
destroy() - Method in class edu.ucsb.nceas.metacat.MetaCatServlet
Close all db connections from the pool
destroy() - Method in class edu.ucsb.nceas.metacat.MetacatReplication
 
DocInfoHandler - class edu.ucsb.nceas.metacat.DocInfoHandler.
A Class implementing callback bethods for the SAX parser to call when processing the XML messages from the replication handler
DocInfoHandler() - Constructor for class edu.ucsb.nceas.metacat.DocInfoHandler
 
DocumentIdentifier - class edu.ucsb.nceas.metacat.DocumentIdentifier.
A class to parse document ids The docid is of the form siteCode.uniqueId.rev
DocumentIdentifier(String) - Constructor for class edu.ucsb.nceas.metacat.DocumentIdentifier
Constructor to build a docid object and parse an incoming string.
DocumentImpl - class edu.ucsb.nceas.metacat.DocumentImpl.
A class that represents an XML document.
DocumentImpl(Connection, long, String, String, String, String, String, String, String, int) - 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
DocumentImpl(Connection, String, boolean) - Constructor for class edu.ucsb.nceas.metacat.DocumentImpl
Constructor used to create a document and read the document information from the database.
doGet(HttpServletRequest, HttpServletResponse) - Method in class edu.ucsb.nceas.metacat.MetaCatServlet
Handle "GET" method requests from HTTP clients
doGet(HttpServletRequest, HttpServletResponse) - Method in class edu.ucsb.nceas.metacat.MetacatReplication
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class edu.ucsb.nceas.metacat.MetaCatServlet
Handle "POST" method requests from HTTP clients
doPost(HttpServletRequest, HttpServletResponse) - Method in class edu.ucsb.nceas.metacat.MetacatReplication
 

E

edu.ucsb.nceas.dbadapter - package edu.ucsb.nceas.dbadapter
 
edu.ucsb.nceas.metacat - package edu.ucsb.nceas.metacat
 
edu.ucsb.nceas.metacat.marine - package edu.ucsb.nceas.metacat.marine
 
edu.ucsb.nceas.protocols.metacat - package edu.ucsb.nceas.protocols.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.CatalogMessageHandler
This method write the indivUpdate to updates when it finds the end of
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.
endElement(String, String, String) - Method in class edu.ucsb.nceas.metacat.ReplMessageHandler
This method write the indivUpdate to updates when it finds the end of
endElement(String, String, String) - Method in class edu.ucsb.nceas.metacat.AccessControlList
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
endEntity(String) - Method in class edu.ucsb.nceas.metacat.AccessControlList
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
routine to search the elements and attributes looking to match query
findDocuments(Reader, String, String[], boolean) - 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
ForceReplicationHandler - class edu.ucsb.nceas.metacat.ForceReplicationHandler.
A class to asyncronously force the replication of each server that has an entry in the xml_replication table.
ForceReplicationHandler(String) - Constructor for class edu.ucsb.nceas.metacat.ForceReplicationHandler
Use this constructor when the action is implied.
ForceReplicationHandler(String, String) - Constructor for class edu.ucsb.nceas.metacat.ForceReplicationHandler
 

G

generate(String, String) - Method in class edu.ucsb.nceas.metacat.AccessionNumber
Generate an Accession Number of form .. where is always 1.
generate(String, String, String) - Method in class edu.ucsb.nceas.metacat.AccessionNumber
Generate an Accession Number of form ..
getAccessFileID(String) - Method in class edu.ucsb.nceas.metacat.RelationHandler
Get the access file id for a package
getACL(String, String, String[]) - Method in class edu.ucsb.nceas.metacat.AccessControlList
Get Access Control List information for document from db connetion.
getArgString() - Method in class edu.ucsb.nceas.metacat.HttpMessage
Returns the urls argument strings
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 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) - 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
getAttributes(String, String, String) - Method in class edu.ucsb.nceas.metacat.AuthMcat
Get attributes describing a user or group
getCatalogVect() - Method in class edu.ucsb.nceas.metacat.CatalogMessageHandler
 
getCatalogXML() - Static method in class edu.ucsb.nceas.metacat.MetacatReplication
Returns the xml_catalog table encoded in xml
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
 
getCookie() - Static method in class edu.ucsb.nceas.metacat.HttpMessage
return the cookie that this message object contains
getCreateDate() - Method in class edu.ucsb.nceas.metacat.DocumentImpl
get the creation date
getDateTimeFunction() - Method in class edu.ucsb.nceas.dbadapter.AbstractDatabase
The function name that gets the current date and time from the database server
getDateTimeFunction() - Method in class edu.ucsb.nceas.dbadapter.OracleAdapter
The Oracle's function name that gets the current date and time from the database server: "sysdate"
getDateTimeFunction() - Method in class edu.ucsb.nceas.dbadapter.SqlserverAdapter
The SQL Server's function name that gets the current date and time from the database server: "getdate()"
getDateTimeFunction() - Method in class edu.ucsb.nceas.dbadapter.PostgresqlAdapter
The PostgreSQL function name that gets the current date and time from the database server
getDBConnection(String) - Static method in class edu.ucsb.nceas.metacat.MetacatReplication
A method for redundantly trying to connect.
getDeletesVect() - Method in class edu.ucsb.nceas.metacat.ReplMessageHandler
 
getDocid() - Method in class edu.ucsb.nceas.metacat.AccessionNumber
returns the docid encoded in this accession number
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)
getDocInfo() - Method in class edu.ucsb.nceas.metacat.DocInfoHandler
 
getDocname() - Method in class edu.ucsb.nceas.metacat.DocumentImpl
get the document name
getDocname() - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
get the document name
getDocname() - Method in class edu.ucsb.nceas.metacat.AccessControlList
Get the document name.
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
getFilterDocList() - Method in class edu.ucsb.nceas.metacat.QuerySpecification
Accessor method to return a vector of the filter doc types as defined in the <filterdoctype> tag in the pathquery dtd.
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) - Method in class edu.ucsb.nceas.metacat.AuthMcat
Get all groups 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
getGroups(String, String, String) - Method in class edu.ucsb.nceas.metacat.AuthMcat
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.
getIdentifier() - Method in class edu.ucsb.nceas.metacat.DocumentIdentifier
returns
getIdentifier() - Method in class edu.ucsb.nceas.metacat.QuerySpecification
Accessor method to return the identifier of this Query
getIsNULLFunction() - Method in class edu.ucsb.nceas.dbadapter.AbstractDatabase
The function name that is used to return non-NULL value
getIsNULLFunction() - Method in class edu.ucsb.nceas.dbadapter.OracleAdapter
The Oracle's function name that is used to return non-NULL value
getIsNULLFunction() - Method in class edu.ucsb.nceas.dbadapter.SqlserverAdapter
The SQL Server's function name that is used to return non-NULL value
getIsNULLFunction() - Method in class edu.ucsb.nceas.dbadapter.PostgresqlAdapter
The PostgreSQL function name that is used to return non-NULL value
getMaxDocid(String) - Method in class edu.ucsb.nceas.metacat.DBUtil
get the lastest Accession Number from a particular scope
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.
getNamespace(String) - Method in class edu.ucsb.nceas.metacat.BasicNode
Get an uri of the namespace prefix
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.CommentNode
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.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
getOption(String) - Static method in class edu.ucsb.nceas.metacat.MetaCatUtil
Utility method to get an option value from the properties file
getOption(String, String) - Method in class edu.ucsb.nceas.metacat.MetaCatUtil
Utility method to get an option value from a properties file
getOwnerList() - Method in class edu.ucsb.nceas.metacat.QuerySpecification
Accessor method to return a vector of the owner fields as defined in the <owner> tag in the pathquery dtd.
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
 
getPrincipals(String, String) - Method in interface edu.ucsb.nceas.metacat.AuthInterface
Get all groups and users from authentication service.
getPrincipals(String, String) - Method in class edu.ucsb.nceas.metacat.AuthLdap
Get all groups and users from authentication scheme.
getPrincipals(String, String) - Method in class edu.ucsb.nceas.metacat.AuthSession
Get all groups and users from authentication scheme.
getPrincipals(String, String) - Method in class edu.ucsb.nceas.metacat.AuthMcat
Get all groups and users from authentication scheme.
getProtocol() - Method in class edu.ucsb.nceas.metacat.MetacatURL
Returns the type of the url.
getPublicaccess() - Method in class edu.ucsb.nceas.metacat.DocumentImpl
 
getQueryGroup() - Method in class edu.ucsb.nceas.metacat.QuerySpecification
get the QueryGroup used to express query constraints
getQueryTitle() - Method in class edu.ucsb.nceas.metacat.QuerySpecification
Accessor method to return the title of this Query
getReturnDocList() - Method in class edu.ucsb.nceas.metacat.QuerySpecification
Accessor method to return a vector of the return document types as defined in the <returndoctype> tag in the pathquery dtd.
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.
getRev() - Method in class edu.ucsb.nceas.metacat.DocumentIdentifier
returns the revision number encoded in this docid
getRev() - Method in class edu.ucsb.nceas.metacat.DocumentImpl
 
getRev() - Method in class edu.ucsb.nceas.metacat.AccessionNumber
returns the revision number encoded in this accession number
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
getSeparator() - Method in class edu.ucsb.nceas.metacat.DocumentIdentifier
returns the separator used in the accession number
getServer(int) - Static method in class edu.ucsb.nceas.metacat.MetacatReplication
Returns the name of a server given a serverCode
getServerCode(String) - Static method in class edu.ucsb.nceas.metacat.MetacatReplication
Returns a server code given a server name
getServerlocation() - Method in class edu.ucsb.nceas.metacat.DocumentImpl
 
getSiteCode() - Method in class edu.ucsb.nceas.metacat.DocumentIdentifier
returns the siteCode encoded in this docid
getSiteList() - Method in class edu.ucsb.nceas.metacat.QuerySpecification
Accessor method to return a vector of the site fields as defined in the <site> tag in the pathquery dtd.
getStringDelimiter() - Method in class edu.ucsb.nceas.dbadapter.AbstractDatabase
The character that the specific database implementation uses to indicate string literals in SQL.
getStringDelimiter() - Method in class edu.ucsb.nceas.dbadapter.OracleAdapter
The Oracles's string delimiter character: single quote (')
getStringDelimiter() - Method in class edu.ucsb.nceas.dbadapter.SqlserverAdapter
The SQL Server's string delimiter character: single quote (')
getStringDelimiter() - Method in class edu.ucsb.nceas.dbadapter.PostgresqlAdapter
PostgreSQL's string delimiter character: single quote (')
getStyleSystemId(String, String, String) - Method in class edu.ucsb.nceas.metacat.DBTransform
Lookup a stylesheet reference from the db catalog
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
getUniqueId() - Method in class edu.ucsb.nceas.metacat.DocumentIdentifier
returns the uniqueId encoded in this docid
getUniqueID(Connection, String) - Method in class edu.ucsb.nceas.dbadapter.AbstractDatabase
Unique ID generator
getUniqueID(Connection, String) - Method in class edu.ucsb.nceas.dbadapter.OracleAdapter
The Oracle unique ID generator through use of sequences The name of the sequence used to generate the unique id is made from the name of the table that uses the id by appending "_id_seq" to it.
getUniqueID(Connection, String) - Method in class edu.ucsb.nceas.dbadapter.SqlserverAdapter
The SQL Server unique ID generator through use of IDENTITY key The IDENTITY key is a column in the table.
getUniqueID(Connection, String) - Method in class edu.ucsb.nceas.dbadapter.PostgresqlAdapter
The PostgreSQL unique ID /sequence generator The name of the sequence used to generate the unique id is made from the name of the table that uses the id by appending "_id_seq" to it.
getUpdateDate() - Method in class edu.ucsb.nceas.metacat.DocumentImpl
get the update date
getUpdatesVect() - Method in class edu.ucsb.nceas.metacat.ReplMessageHandler
 
getURLContent(URL) - Static method in class edu.ucsb.nceas.metacat.MetacatReplication
This method returns the content of a url
getUserowner() - Method in class edu.ucsb.nceas.metacat.DocumentImpl
 
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) - Method in class edu.ucsb.nceas.metacat.AuthMcat
Get all users 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
getUsers(String, String, String) - Method in class edu.ucsb.nceas.metacat.AuthMcat
Get the users for a particular group from the authentication service
getUserupdated() - Method in class edu.ucsb.nceas.metacat.DocumentImpl
 

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.
Handler - class edu.ucsb.nceas.protocols.metacat.Handler.
Class handling metacat scheme URLs by delegating connection requests to the MetacatURLConnection class
Handler() - Constructor for class edu.ucsb.nceas.protocols.metacat.Handler
 
handleSQuery(PrintWriter, Hashtable, HttpServletResponse, String, String[]) - Method in class edu.ucsb.nceas.metacat.MetaCatServlet
Retreive the squery xml, execute it and display it
hasPermission(String, String, String[], String) - Method in class edu.ucsb.nceas.metacat.AccessControlList
Check from db connection if at least one of the list of @principals has @permission on @docid.
HttpMessage - class edu.ucsb.nceas.metacat.HttpMessage.
Send a message to an HTTP server using either a GET or POST operation
HttpMessage(URL) - Constructor for class edu.ucsb.nceas.metacat.HttpMessage
 

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
init(ServletConfig) - Method in class edu.ucsb.nceas.metacat.MetacatReplication
Initialize the servlet by creating appropriate database connections
initParser(DefaultHandler) - Static method in class edu.ucsb.nceas.metacat.ReplicationHandler
Method to initialize the message parser
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.DocumentIdentifier
Test driver.
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.DocumentImpl
the main routine used to test the DBWriter 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.AuthLdap
Test method for the class
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.DBUtil
main routine used for testing.
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.AuthMcat
Test method for the class
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.dbadapter.AbstractDatabase
the main routine used to test the dbadapter utility.
marineServlet - class edu.ucsb.nceas.metacat.marine.marineServlet.
 
marineServlet() - Constructor for class edu.ucsb.nceas.metacat.marine.marineServlet
 
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.
MetacatReplication - class edu.ucsb.nceas.metacat.MetacatReplication.
 
MetacatReplication() - Constructor for class edu.ucsb.nceas.metacat.MetacatReplication
 
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
 
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.
MetacatURLConnection - class edu.ucsb.nceas.protocols.metacat.MetacatURLConnection.
Handle requests for metacat scheme URLs
MetacatURLConnection(URL) - Constructor for class edu.ucsb.nceas.protocols.metacat.MetacatURLConnection
Construct a new metacat scheme URL connection
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

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
 
nodeprefix - 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, 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

openConnection(URL) - Method in class edu.ucsb.nceas.protocols.metacat.Handler
Open a new connection to the URL by delegating to the MetacatURLConnection
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
OracleAdapter - class edu.ucsb.nceas.dbadapter.OracleAdapter.
The Oracle db adapter implementation.
OracleAdapter() - Constructor for class edu.ucsb.nceas.dbadapter.OracleAdapter
 

P

parentnodeid - Variable in class edu.ucsb.nceas.metacat.NodeRecord
 
parseQuery(String) - Static method in class edu.ucsb.nceas.metacat.MetaCatUtil
Utility method to parse the query part of a URL into parameters.
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
PostgresqlAdapter - class edu.ucsb.nceas.dbadapter.PostgresqlAdapter.
The PostgreSQL db adapter implementation.
PostgresqlAdapter() - Constructor for class edu.ucsb.nceas.dbadapter.PostgresqlAdapter
 
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(boolean) - 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
processingDTD() - Method in class edu.ucsb.nceas.metacat.AccessControlList
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, String) - Constructor for class edu.ucsb.nceas.metacat.QuerySpecification
construct an instance of the QuerySpecification class
QuerySpecification(String, 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
readDTDSchema(String) - Method in class edu.ucsb.nceas.metacat.DBUtil
read DTD or Schema file from Metacat's XML catalog system
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.
registerDocument(String, String, String, String, int) - Static method in class edu.ucsb.nceas.metacat.DocumentImpl
Register a document that resides on the filesystem with the database.
RelationHandler - class edu.ucsb.nceas.metacat.RelationHandler.
 
RelationHandler(String, Connection) - Constructor for class edu.ucsb.nceas.metacat.RelationHandler
Constructor for this class.
ReplicationHandler - class edu.ucsb.nceas.metacat.ReplicationHandler.
This class handles deltaT replication checking.
ReplicationHandler(PrintWriter) - Constructor for class edu.ucsb.nceas.metacat.ReplicationHandler
 
ReplicationHandler(PrintWriter, int) - Constructor for class edu.ucsb.nceas.metacat.ReplicationHandler
 
replLog(String) - Static method in class edu.ucsb.nceas.metacat.MetacatReplication
Method for writing replication messages to a log file specified in metacat.properties
ReplMessageHandler - class edu.ucsb.nceas.metacat.ReplMessageHandler.
A Class implementing callback bethods for the SAX parser to call when processing the XML messages from the replication handler
ReplMessageHandler() - Constructor for class edu.ucsb.nceas.metacat.ReplMessageHandler
 
replToServer(String) - Static method in class edu.ucsb.nceas.metacat.MetacatReplication
Returns true if the replicate field for server in xml_replication is 1.
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.ForceReplicationHandler
 
run() - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
 
run() - Method in class edu.ucsb.nceas.metacat.MetacatReplication
this method handles the timeout for a file lock.
run() - Method in class edu.ucsb.nceas.metacat.ReplicationHandler
Method that implements TimerTask.run().

S

sendGetMessage() - Method in class edu.ucsb.nceas.metacat.HttpMessage
Performs a GET request to the previously given servlet with no query string
sendGetMessage(Properties) - Method in class edu.ucsb.nceas.metacat.HttpMessage
Performs a GET request to the previously given servlet Builds a query string from the supplied Properties list.
sendPostMessage() - Method in class edu.ucsb.nceas.metacat.HttpMessage
Performs a POST request to the previously given servlet with no query string
sendPostMessage(Properties) - Method in class edu.ucsb.nceas.metacat.HttpMessage
Builds post data from the supplied properties list
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
setFilterDocList(Vector) - Method in class edu.ucsb.nceas.metacat.QuerySpecification
method to set the list of filter docs of this query
setIdentifier(String) - Method in class edu.ucsb.nceas.metacat.QuerySpecification
method to set the identifier of this query
setNamespace(String, String) - Method in class edu.ucsb.nceas.metacat.BasicNode
Add a namespace to this node
setNamespace(String, String, String) - Method in class edu.ucsb.nceas.metacat.DBSAXNode
Add a namespace to this node
setNodeData(String) - Method in class edu.ucsb.nceas.metacat.CommentNode
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.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
setOwnerList(Vector) - Method in class edu.ucsb.nceas.metacat.QuerySpecification
method to set the list of owners used to constrain this query
setParentID(long) - Method in class edu.ucsb.nceas.metacat.BasicNode
Set the parent id of this node
setQueryTitle(String) - Method in class edu.ucsb.nceas.metacat.QuerySpecification
method to set the title of this query
setRequestHeader(String, String) - Method in class edu.ucsb.nceas.protocols.metacat.MetacatURLConnection
Set the request header for the URL
setReturnDocList(Vector) - Method in class edu.ucsb.nceas.metacat.QuerySpecification
method to set the list of return docs of this query
setReturnFieldList(Vector) - Method in class edu.ucsb.nceas.metacat.QuerySpecification
method to set the list of fields to be returned by this query
setRootNodeID(long) - Method in class edu.ucsb.nceas.metacat.BasicNode
Set the root node id of this node
setSiteList(Vector) - Method in class edu.ucsb.nceas.metacat.QuerySpecification
method to set the list of sites used to constrain this query
setTagName(String) - Method in class edu.ucsb.nceas.metacat.BasicNode
Set the name of this node
SqlserverAdapter - class edu.ucsb.nceas.dbadapter.SqlserverAdapter.
The MS SQL Server db adapter implementation.
SqlserverAdapter() - Constructor for class edu.ucsb.nceas.dbadapter.SqlserverAdapter
 
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
startDocument() - Method in class edu.ucsb.nceas.metacat.AccessControlList
Callback method used by the SAX Parser when beginning of the document
startDTD(String, String, String) - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that receives notification of DOCTYPE.
startDTD(String, String, String) - Method in class edu.ucsb.nceas.metacat.AccessControlList
SAX Handler that receives notification of DOCTYPE.
startElement(String, String, String, Attributes) - Method in class edu.ucsb.nceas.metacat.CatalogMessageHandler
This method starts a new vector for each updatedDocument tag.
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.
startElement(String, String, String, Attributes) - Method in class edu.ucsb.nceas.metacat.ReplMessageHandler
This method starts a new vector for each updatedDocument tag.
startElement(String, String, String, Attributes) - Method in class edu.ucsb.nceas.metacat.AccessControlList
Callback method used by the SAX Parser when the start tag of an element is detected.
startElement(String, String, String, Attributes) - Method in class edu.ucsb.nceas.metacat.DocInfoHandler
capture the name of the tag.
startEntity(String) - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that receives notification of the start of entities
startEntity(String) - Method in class edu.ucsb.nceas.metacat.AccessControlList
SAX Handler that receives notification of the start of entities.
startPrefixMapping(String, String) - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that is called at the start of Namespace

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.DocumentIdentifier
returns the whole docid as a string
toString() - Method in class edu.ucsb.nceas.metacat.CommentNode
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.ElementNode
String representation for display purposes (recursively descends through children to create an XML subtree)
toString() - Method in class edu.ucsb.nceas.metacat.PINode
String representation of this text node
toString() - Method in class edu.ucsb.nceas.metacat.TextNode
String representation of this text node
toString() - Method in class edu.ucsb.nceas.metacat.MetacatURL
returns a string representation of this metacatURL
toString() - Method in class edu.ucsb.nceas.metacat.QuerySpecification
create a String description of the query that this instance represents.
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(Hashtable) - Method in class edu.ucsb.nceas.metacat.marine.marineServlet
Formats the text in the tag so that the tag name is the name of the field and the content is the query itself.
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.marine.marineServlet
Transorms an xml resultset document to html and sends it to the browser
transformResultset(String, HttpServletResponse, PrintWriter, String) - 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, 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
updateRootNodeID(long) - Method in class edu.ucsb.nceas.metacat.DBSAXNode
update rootnodeid=nodeid for 'DOCUMENT' type of nodes only

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, Reader, String, String, String, String[], boolean) - Static method in class edu.ucsb.nceas.metacat.DocumentImpl
 
write(Connection, Reader, String, Reader, String, String, String, String[], int, boolean, boolean) - Static method in class edu.ucsb.nceas.metacat.DocumentImpl
Write an XML file to the database, given a Reader
write(Connection, Reader, String, String, String, String[], int) - Static method in class edu.ucsb.nceas.metacat.DocumentImpl
 
write(Connection, Reader, String, String, String, String, String[]) - Static method in class edu.ucsb.nceas.metacat.DocumentImpl
 
write(Connection, Reader, String, String, String, String, String[], int) - Static method in class edu.ucsb.nceas.metacat.DocumentImpl
 
write(Connection, Reader, String, String, String, String, String[], int, boolean) - Static method in class edu.ucsb.nceas.metacat.DocumentImpl
 
write(Connection, String, String, 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.