AbstractXmlWriteHandler
, BasicStrokeWriteHandler
, ColorWriteHandler
, FontWriteHandler
, GenericWriteHandler
, GradientPaintWriteHandler
, InsetsWriteHandler
, ListWriteHandler
, Point2DWriteHandler
, Rectangle2DWriteHandler
, RenderingHintsWriteHandler
public interface XmlWriteHandler
Modifier and Type | Method | Description |
---|---|---|
RootXmlWriteHandler |
getRootHandler() |
Returns the root handler for this write handler.
|
void |
setRootHandler(RootXmlWriteHandler rootHandler) |
Sets the root handler.
|
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 single object.
|
RootXmlWriteHandler getRootHandler()
void setRootHandler(RootXmlWriteHandler rootHandler)
rootHandler
- the root handler.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 for the generated xml element.object
- the object to be written.writer
- the writer.mPlexAttribute
- the multiplexer selector attribute name.mPlexValue
- the multiplexers attribute value corresponding to this
object type.java.io.IOException
- if an IOError occured.XMLWriterException
- if an XmlDefinition error occured.