public class BasicStrokeWriteHandler extends AbstractXmlWriteHandler
BasicStroke
object.Constructor and Description |
---|
BasicStrokeWriteHandler()
Creates a new handler.
|
Modifier and Type | Method and Description |
---|---|
private java.lang.String |
toString(float[] dashArray)
A utility method that converts a dash array (from a
BasicStroke object) to
a String . |
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.
|
getRootHandler, setRootHandler
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 object (BasicStroke
expected).writer
- the writer.mPlexAttribute
- ??mPlexValue
- ??java.io.IOException
- if there is an I/O problem.XMLWriterException
- if there is a problem with the writer.private java.lang.String toString(float[] dashArray)
BasicStroke
object) to
a String
.dashArray
- the dash array.String
representing the dash array.