public class BasicStrokeReadHandler extends AbstractXmlReadHandler
BasicStroke
object from XML.
To do: this should have a multiplexer in front like the PaintReadHandler
Constructor and Description |
---|
BasicStrokeReadHandler()
Creates a new handler.
|
Modifier and Type | Method and Description |
---|---|
Object |
getObject()
Returns the stroke under construction.
|
protected void |
startParsing(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
protected void startParsing(Attributes attrs) throws SAXException
BasicStroke
element, this method reads the
attributes and constructs the stroke.startParsing
in class AbstractXmlReadHandler
attrs
- the attributes.SAXException
- to indicate a parsing error.public Object getObject()
Copyright © 2001–2018 JFree.org. All rights reserved.