Expresso 5-6

com.jcorporate.expresso.ext.xml.dbobj
Class XMLImportDocument

java.lang.Object
  extended byorg.xml.sax.helpers.DefaultHandler
      extended bycom.jcorporate.expresso.ext.xml.dbobj.XMLImportDocument
All Implemented Interfaces:
org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler

public class XMLImportDocument
extends org.xml.sax.helpers.DefaultHandler

Insert the type's description here. Creation date: (4/6/00 8:12:40 PM)

Author:
Michael Nash

Constructor Summary
XMLImportDocument()
          XMLImportDocument constructor.
XMLImportDocument(DataObject newDBObject)
          XMLImportDocument constructor.
 
Method Summary
 void characters(char[] ch, int start, int length)
          DefaultHandler implementation for SAX parsing.
 void endDocument()
          DefaultHandler implementation for SAX parsing.
 void endElement(String uri, String localpart, String rawname)
          DefaultHandler implementation for SAX parsing.
 String getDBName()
           
 DataObject getDBObject()
           
 Vector getErrorList()
          The set of exceptions that have occurred during processing.
 void saveDBObject()
          Insert the method's description here.
 void setDBName(String newName)
           
 void startElement(String uri, String localpart, String rawname, org.xml.sax.Attributes attributes)
           
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
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

XMLImportDocument

public XMLImportDocument()
XMLImportDocument constructor.


XMLImportDocument

public XMLImportDocument(DataObject newDBObject)
XMLImportDocument constructor.

Parameters:
newDBObject - The DataObject being set.
Method Detail

setDBName

public void setDBName(String newName)

getDBName

public String getDBName()

characters

public void characters(char[] ch,
                       int start,
                       int length)
                throws org.xml.sax.SAXException
DefaultHandler implementation for SAX parsing.

Parameters:
ch -
start -
length -
Throws:
org.xml.sax.SAXException

endDocument

public void endDocument()
                 throws org.xml.sax.SAXException
DefaultHandler implementation for SAX parsing. Creation date: (4/6/00 8:27:22 PM)

Throws:
org.xml.sax.SAXException

endElement

public void endElement(String uri,
                       String localpart,
                       String rawname)
                throws org.xml.sax.SAXException
DefaultHandler implementation for SAX parsing.

Parameters:
uri -
localpart -
rawname -
Throws:
org.xml.sax.SAXException

getErrorList

public Vector getErrorList()
The set of exceptions that have occurred during processing. Creation date: (4/6/00 8:27:22 PM)

Returns:

saveDBObject

public void saveDBObject()
Insert the method's description here. Creation date: (4/6/00 8:27:22 PM)


startElement

public void startElement(String uri,
                         String localpart,
                         String rawname,
                         org.xml.sax.Attributes attributes)
                  throws org.xml.sax.SAXException
Parameters:
attributes -
Throws:
org.xml.sax.SAXException

getDBObject

public DataObject getDBObject()
                       throws DBException
Returns:
Throws:
DBException

Expresso 5-6

Please see www.jcorporate.com for information about new Expresso releases.