dods.clients.importwizard.GCMD
Class DifHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
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 . |
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 |
DifHandler
public DifHandler()
- Create a new
DifHandler
.
- Parameters:
id
- The Entry_ID of the Dif.
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()