net.sf.jga.swing.spreadsheet
Class Spreadsheet.Reader
java.lang.Object
org.xml.sax.helpers.DefaultHandler
net.sf.jga.swing.spreadsheet.Spreadsheet.Reader
- All Implemented Interfaces:
- org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler
- Enclosing class:
- Spreadsheet
public class Spreadsheet.Reader
- extends org.xml.sax.helpers.DefaultHandler
Method Summary |
void |
characters(char[] ch,
int start,
int ln)
|
org.xml.sax.XMLReader |
createParser()
|
void |
endElement(java.lang.String nsURI,
java.lang.String localname,
java.lang.String qname)
|
void |
readSpreadsheet(java.io.InputStream is)
|
void |
startElement(java.lang.String nsURI,
java.lang.String localname,
java.lang.String qname,
org.xml.sax.Attributes attr)
|
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 |
Spreadsheet.Reader
public Spreadsheet.Reader()
readSpreadsheet
public void readSpreadsheet(java.io.InputStream is)
throws java.io.IOException
- Throws:
java.io.IOException
startElement
public void startElement(java.lang.String nsURI,
java.lang.String localname,
java.lang.String qname,
org.xml.sax.Attributes attr)
throws org.xml.sax.SAXException
- Specified by:
startElement
in interface org.xml.sax.ContentHandler
- Overrides:
startElement
in class org.xml.sax.helpers.DefaultHandler
- Throws:
org.xml.sax.SAXException
endElement
public void endElement(java.lang.String nsURI,
java.lang.String localname,
java.lang.String qname)
throws org.xml.sax.SAXException
- Specified by:
endElement
in interface org.xml.sax.ContentHandler
- Overrides:
endElement
in class org.xml.sax.helpers.DefaultHandler
- Throws:
org.xml.sax.SAXException
characters
public void characters(char[] ch,
int start,
int ln)
throws org.xml.sax.SAXException
- Specified by:
characters
in interface org.xml.sax.ContentHandler
- Overrides:
characters
in class org.xml.sax.helpers.DefaultHandler
- Throws:
org.xml.sax.SAXException
createParser
public org.xml.sax.XMLReader createParser()
throws org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException
- Throws:
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
Copyright © 2002-2006 David A. Hall. All Rights Reserved.