dods.clients.importwizard.GCMD
Class DifHandler

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by dods.clients.importwizard.GCMD.DifHandler
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler

public class DifHandler
extends DefaultHandler

This class is used by the SAX Parser to create a Dif from the xml representation of a Dif.


Constructor Summary
DifHandler()
          Create a new DifHandler.
 
Method Summary
 void characters(char[] buf, int offset, int len)
           
 void endElement(String namespaceURI, String sName, String qName)
           
 Vector getDifs()
           
 void startElement(String namespaceURI, String lName, String qName, Attributes attrs)
           
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DifHandler

public DifHandler()
Create a new DifHandler.

Parameters:
id - The Entry_ID of the Dif.
Method Detail

startElement

public void startElement(String namespaceURI,
                         String lName,
                         String qName,
                         Attributes attrs)
                  throws SAXException
Specified by:
startElement in interface ContentHandler
Overrides:
startElement in class DefaultHandler
Throws:
SAXException

endElement

public void endElement(String namespaceURI,
                       String sName,
                       String qName)
                throws SAXException
Specified by:
endElement in interface ContentHandler
Overrides:
endElement in class DefaultHandler
Throws:
SAXException

characters

public void characters(char[] buf,
                       int offset,
                       int len)
                throws SAXException
Specified by:
characters in interface ContentHandler
Overrides:
characters in class DefaultHandler
Throws:
SAXException

getDifs

public Vector getDifs()