|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cysols.iodef.IodefCollectiveWriter
public class IodefCollectiveWriter
Write XML document by some wirter classes in a lump, after validating
| Constructor Summary | |
|---|---|
IodefCollectiveWriter(DocumentWriter writer)
Create a new writer class contained specified writer. |
|
| Method Summary | |
|---|---|
void |
addWriter(DocumentWriter writer)
Adds the writer class |
void |
removeWriter(DocumentWriter writer)
Removes the writer class. |
void |
validWrite(IODEFDocument iodef)
Validates the specified iodef document object, and writes with XML document included iodef document if validation is passed. |
void |
validWrite(String key,
IODEFDocument iodef)
Validate the specified iodef document object, and writes with XML document included iodef document if validation is passed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IodefCollectiveWriter(DocumentWriter writer)
writer - the concrete class for writing XML document| Method Detail |
|---|
public void addWriter(DocumentWriter writer)
writer - concrete class for writing XML documentpublic void removeWriter(DocumentWriter writer)
writer - concrete class for writing XML document
public void validWrite(String key,
IODEFDocument iodef)
throws XMLWriteException,
XMLValidationError
key - key nameiodef - iodef docuemnt
XMLWriteException - if writing goes wrong
XMLValidationError - if validation is not passed
public void validWrite(IODEFDocument iodef)
throws XMLWriteException,
XMLValidationError
iodef - iodef document
XMLWriteException - if writing goes wrong
XMLValidationError - if validation is not passed
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||