edu.ucsb.nceas.metacat
Class CatalogMessageHandler

edu.ucsb.nceas.metacat.CatalogMessageHandler

public class CatalogMessageHandler

A Class implementing callback bethods for the SAX parser to call when processing the XML messages from the replication handler


Constructor Summary
CatalogMessageHandler()
           
 
Method Summary
 void characters(char[] ch, int start, int length)
          Take the data out of the docid and date_updated fields
 void endElement(java.lang.String uri, java.lang.String localName, java.lang.String qName)
          This method write the indivUpdate to updates when it finds the end of
 java.util.Vector getCatalogVect()
           
 void startElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attributes)
          This method starts a new vector for each updatedDocument tag.
 

Constructor Detail

CatalogMessageHandler

public CatalogMessageHandler()
Method Detail

startElement

public void startElement(java.lang.String uri,
                         java.lang.String localName,
                         java.lang.String qName,
                         org.xml.sax.Attributes attributes)
                  throws org.xml.sax.SAXException
This method starts a new vector for each updatedDocument tag.

endElement

public void endElement(java.lang.String uri,
                       java.lang.String localName,
                       java.lang.String qName)
                throws org.xml.sax.SAXException
This method write the indivUpdate to updates when it finds the end of

characters

public void characters(char[] ch,
                       int start,
                       int length)
                throws org.xml.sax.SAXException
Take the data out of the docid and date_updated fields

getCatalogVect

public java.util.Vector getCatalogVect()


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