public class GenericWriteHandler extends AbstractXmlWriteHandler
Constructor and Description |
---|
GenericWriteHandler(GenericObjectFactory factory)
Creates a new handler.
|
Modifier and Type | Method and Description |
---|---|
void |
write(java.lang.String tagName,
java.lang.Object object,
XMLWriter writer,
java.lang.String mPlexAttribute,
java.lang.String mPlexValue)
Performs the writing of a generic object.
|
getRootHandler, setRootHandler
public GenericWriteHandler(GenericObjectFactory factory)
factory
- the object factory.public void write(java.lang.String tagName, java.lang.Object object, XMLWriter writer, java.lang.String mPlexAttribute, java.lang.String mPlexValue) throws java.io.IOException, XMLWriterException
tagName
- the tag name.object
- the generic object.writer
- the writer.mPlexAttribute
- ??.mPlexValue
- ??.java.io.IOException
- if there is an I/O error.XMLWriterException
- if there is a writer error.