edu.ucsb.nceas.metacat
Class ReplMessageHandler
edu.ucsb.nceas.metacat.ReplMessageHandler
- public class ReplMessageHandler
A Class implementing callback bethods for the SAX parser to
call when processing the XML messages from the replication handler
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 |
getDeletesVect()
|
java.util.Vector |
getUpdatesVect()
|
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. |
ReplMessageHandler
public ReplMessageHandler()
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
getUpdatesVect
public java.util.Vector getUpdatesVect()
getDeletesVect
public java.util.Vector getDeletesVect()
Copyright © 2000 National Center for Ecological Analysis and Synthesis. All Rights Reserved.