XmlReadHandler
public class BasicStrokeReadHandler extends AbstractXmlReadHandler
BasicStroke
object from XML.
To do: this should have a multiplexer in front like the PaintReadHandler
Constructor | Description |
---|---|
BasicStrokeReadHandler() |
Creates a new handler.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
getObject() |
Returns the stroke under construction.
|
protected void |
startParsing(org.xml.sax.Attributes attrs) |
Called at the start of parsing a
BasicStroke element, this method reads the
attributes and constructs the stroke. |
characters, doneParsing, endElement, getHandlerForChild, getRootHandler, getTagName, init, startElement
public BasicStrokeReadHandler()
protected void startParsing(org.xml.sax.Attributes attrs) throws org.xml.sax.SAXException
BasicStroke
element, this method reads the
attributes and constructs the stroke.startParsing
in class AbstractXmlReadHandler
attrs
- the attributes.org.xml.sax.SAXException
- to indicate a parsing error.public java.lang.Object getObject()