org.media.datastore.sepengine.util
Class DBWriter
java.lang.Object
|
+--org.xml.sax.helpers.DefaultHandler
|
+--org.media.datastore.sepengine.util.DBWriter
- All Implemented Interfaces:
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler, LexicalHandler
- public class DBWriter
- extends DefaultHandler
- implements LexicalHandler
- Version:
- $Revision: 1.24 $ $Date: 2001/08/21 15:00:00
- Author:
- Szabo Csaba
- See Also:
String
,
InputStream
,
Connection
,
RDBInfo
,
HandlerBase
Method Summary |
void |
characters(char[] ch,
int start,
int length)
|
void |
comment(char[] ch,
int start,
int length)
|
void |
endCDATA()
|
void |
endDTD()
|
void |
endElement(String uri,
String name,
String qname)
|
void |
endEntity(String name)
|
void |
ignorableWhitespace(char[] ch,
int start,
int length)
|
void |
startCDATA()
|
void |
startDocument()
|
void |
startDTD(String name,
String pId,
String sId)
|
void |
startElement(String uri,
String name,
String qname,
Attributes attrs)
|
void |
startEntity(String name)
|
String |
write(Connection con,
InputStream istream,
int tID,
int dID,
RDBInfo info)
|
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endDocument, endPrefixMapping, error, fatalError, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DBWriter
public DBWriter()
DBWriter
protected DBWriter(Connection con,
int tID,
int dID,
RDBInfo info)
throws Exception
write
public String write(Connection con,
InputStream istream,
int tID,
int dID,
RDBInfo info)
startDocument
public void startDocument()
throws SAXException
- Specified by:
startDocument
in interface ContentHandler
- Overrides:
startDocument
in class DefaultHandler
SAXException
endElement
public void endElement(String uri,
String name,
String qname)
throws SAXException
- Specified by:
endElement
in interface ContentHandler
- Overrides:
endElement
in class DefaultHandler
SAXException
startElement
public void startElement(String uri,
String name,
String qname,
Attributes attrs)
throws SAXException
- Specified by:
startElement
in interface ContentHandler
- Overrides:
startElement
in class DefaultHandler
SAXException
characters
public void characters(char[] ch,
int start,
int length)
throws SAXException
- Specified by:
characters
in interface ContentHandler
- Overrides:
characters
in class DefaultHandler
SAXException
ignorableWhitespace
public void ignorableWhitespace(char[] ch,
int start,
int length)
throws SAXException
- Specified by:
ignorableWhitespace
in interface ContentHandler
- Overrides:
ignorableWhitespace
in class DefaultHandler
SAXException
comment
public void comment(char[] ch,
int start,
int length)
throws SAXException
- Specified by:
comment
in interface LexicalHandler
SAXException
startCDATA
public void startCDATA()
throws SAXException
- Specified by:
startCDATA
in interface LexicalHandler
SAXException
endCDATA
public void endCDATA()
throws SAXException
- Specified by:
endCDATA
in interface LexicalHandler
SAXException
startDTD
public void startDTD(String name,
String pId,
String sId)
throws SAXException
- Specified by:
startDTD
in interface LexicalHandler
SAXException
endDTD
public void endDTD()
throws SAXException
- Specified by:
endDTD
in interface LexicalHandler
SAXException
startEntity
public void startEntity(String name)
throws SAXException
- Specified by:
startEntity
in interface LexicalHandler
SAXException
endEntity
public void endEntity(String name)
throws SAXException
- Specified by:
endEntity
in interface LexicalHandler
SAXException
"Copyright © 2001 Internet Multicasting Services & media.org. All Rights Reserved."