public class ReplMessageHandler
extends org.xml.sax.helpers.DefaultHandler
Constructor and Description |
---|
ReplMessageHandler() |
Modifier and Type | Method and Description |
---|---|
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<java.util.Vector<java.lang.String>> |
getDeletesVect() |
java.util.Vector<java.util.Vector<java.lang.String>> |
getRevisionsVect() |
java.lang.String |
getServerName()
Gets the server name
|
java.util.Vector<java.util.Vector<java.lang.String>> |
getSystemMetadataVect() |
java.util.Vector<java.util.Vector<java.lang.String>> |
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.
|
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
startElement
in interface org.xml.sax.ContentHandler
startElement
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException
public void endElement(java.lang.String uri, java.lang.String localName, java.lang.String qName) throws org.xml.sax.SAXException
endElement
in interface org.xml.sax.ContentHandler
endElement
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException
public void characters(char[] ch, int start, int length) throws org.xml.sax.SAXException
characters
in interface org.xml.sax.ContentHandler
characters
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException
public java.util.Vector<java.util.Vector<java.lang.String>> getUpdatesVect()
public java.util.Vector<java.util.Vector<java.lang.String>> getDeletesVect()
public java.util.Vector<java.util.Vector<java.lang.String>> getRevisionsVect()
public java.util.Vector<java.util.Vector<java.lang.String>> getSystemMetadataVect()
public java.lang.String getServerName()
Copyright © 2020 Regents of the University of California. All Rights Reserved.