|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cysols.iodef.IodefXMLDBWriter
public class IodefXMLDBWriter
Write the XML docuemnt to XML database.
| Constructor Summary | |
|---|---|
IodefXMLDBWriter()
|
|
| Method Summary | |
|---|---|
void |
validWrite(IODEFDocument iodef)
Validates the iodef document and writes with XML document included iodef document to xml database if validation is passed. |
void |
validWrite(String key,
IODEFDocument iodef)
Validates the iodef document and writes with XML document included iodef document to xml database if validation is passed. |
void |
write(Document doc)
Inserts the specified iodef document to database. |
void |
write(IODEFDocument iodef)
Inserts the specified iodef document to database with null key. |
void |
write(String key,
Document doc)
Inserts the specified iodef document to database with key. |
void |
write(String key,
IODEFDocument iodef)
Inserts the specified iodef document to database with key. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IodefXMLDBWriter()
| Method Detail |
|---|
public void write(Document doc)
throws XMLWriteException
write in interface DocumentWriterdoc - an iodef document
XMLWriteException - if writing goes wrong
public void write(String key,
Document doc)
throws XMLWriteException
write in interface DocumentWriterdoc - an iodef documentkey - key name using by insert to database.
XMLWriteException - if writing goes wrong
public void write(IODEFDocument iodef)
throws XMLWriteException
write in interface IodefDocumentWriteriodef - an iodef document
XMLWriteException - if writing goes wrong
public void write(String key,
IODEFDocument iodef)
throws XMLWriteException
write in interface IodefDocumentWriteriodef - an iodef documentkey - key name using by insert to database.
XMLWriteException - if writing goes wrong.
public void validWrite(IODEFDocument iodef)
throws XMLValidationError,
XMLWriteException
validWrite in interface IodefDocumentWriteriodef - an iodef document
XMLValidationError - if validation is not passed
XMLWriteException - if writing goes wrong
public void validWrite(String key,
IODEFDocument iodef)
throws XMLValidationError,
XMLWriteException
validWrite in interface IodefDocumentWriterkey - key name using by insert to database.iodef - an iodef document
XMLValidationError - if validation is not passed
XMLWriteException - if writing goes wrong
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||