org.simBio.sim.ps.serialize
Class TocReader
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.xml.sax.ext.DefaultHandler2
org.simBio.serialize.xml.LogSax2
org.simBio.sim.ps.serialize.TocReader
- All Implemented Interfaces:
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler, DeclHandler, EntityResolver2, LexicalHandler
public class TocReader
- extends LogSax2
Writerで書き出したXMLをParameterSpaceに読み込ませる。
- Version:
- $Id: TocReader.java,v 1.1 2007/09/25 05:46:08 mikaelwing Exp $
- Author:
- Sarai
Methods inherited from class org.simBio.serialize.xml.LogSax2 |
attributeDecl, comment, elementDecl, endCDATA, endDocument, endDTD, endEntity, endPrefixMapping, externalEntityDecl, getExternalSubset, ignorableWhitespace, internalEntityDecl, notationDecl, processingInstruction, resolveEntity, resolveEntity, setDocumentLocator, skippedEntity, startCDATA, startDocument, startDTD, startEntity, startPrefixMapping, unparsedEntityDecl |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TocReader
public TocReader(ICollector collector)
- Parameters:
collector
- 結果データの通知先
startElement
public void startElement(String uri,
String localName,
String qName,
Attributes attributes)
throws SAXException
- Description copied from class:
LogSax2
- Reports the start of an element.
- Specified by:
startElement
in interface ContentHandler
- Overrides:
startElement
in class LogSax2
- Throws:
SAXException
- See Also:
ContentHandler.startElement(java.lang.String,
java.lang.String, java.lang.String, org.xml.sax.Attributes)
endElement
public void endElement(String uri,
String localName,
String qName)
throws SAXException
- Description copied from class:
LogSax2
- Reports the end of an element.
- Specified by:
endElement
in interface ContentHandler
- Overrides:
endElement
in class LogSax2
- Throws:
SAXException
- See Also:
ContentHandler.endElement(java.lang.String,
java.lang.String, java.lang.String)
characters
public void characters(char[] ch,
int start,
int length)
- Description copied from class:
LogSax2
- Logs character data when debugging.
- Specified by:
characters
in interface ContentHandler
- Overrides:
characters
in class LogSax2
- See Also:
ContentHandler.characters(char[], int, int)
main
public static void main(String[] args)
throws ParserConfigurationException,
SAXException,
FactoryConfigurationError,
IOException
- Parameters:
args
- the file name of table of the contents
- Throws:
FactoryConfigurationError
SAXException
ParserConfigurationException
IOException
Copyright © 2005 Cell/Biodinamics simulation project. All Rights Reserved.