edu.ucsb.nceas.metacat
Class DBDTDHandler
java.lang.Object
|
+--edu.ucsb.nceas.metacat.DBDTDHandler
- public class DBDTDHandler
- extends java.lang.Object
- implements org.xml.sax.DTDHandler
A database aware Class implementing DTDHandler interface for the SAX parser to
call when processing the XML stream and intercepting notations and unparsed entities
Constructor Summary |
DBDTDHandler(java.sql.Connection conn)
Construct an instance of the DBDTDHandler clas |
Method Summary |
void |
notationDecl(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId)
Notation declarations are not signaled |
void |
unparsedEntityDecl(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId,
java.lang.String notationName)
All are reported after startDocument and before first startElement event |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
DBDTDHandler
public DBDTDHandler(java.sql.Connection conn)
- Construct an instance of the DBDTDHandler clas
- Parameters:
conn
- the JDBC connection to which information is written
notationDecl
public void notationDecl(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId)
throws org.xml.sax.SAXException
- Notation declarations are not signaled
- Specified by:
- notationDecl in interface org.xml.sax.DTDHandler
unparsedEntityDecl
public void unparsedEntityDecl(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId,
java.lang.String notationName)
throws org.xml.sax.SAXException
- All are reported after startDocument and before first startElement event
- Specified by:
- unparsedEntityDecl in interface org.xml.sax.DTDHandler