edu.ucsb.nceas.metacat
Class DocInfoHandler
edu.ucsb.nceas.metacat.DocInfoHandler
- public class DocInfoHandler
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)
put the content and the name of the tag into the hashtable. |
java.util.Hashtable |
getDocInfo()
|
void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attributes)
capture the name of the tag. |
DocInfoHandler
public DocInfoHandler()
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
- capture the name of the tag.
characters
public void characters(char[] ch,
int start,
int length)
throws org.xml.sax.SAXException
- put the content and the name of the tag into the hashtable. the name of
the tag is the key.
getDocInfo
public java.util.Hashtable getDocInfo()
Copyright © 2000 National Center for Ecological Analysis and Synthesis. All Rights Reserved.