Package org.jfree.xml.parser.coretypes
Class BasicStrokeReadHandler
java.lang.Object
org.jfree.xml.parser.AbstractXmlReadHandler
org.jfree.xml.parser.coretypes.BasicStrokeReadHandler
- All Implemented Interfaces:
XmlReadHandler
A SAX handler for reading a
BasicStroke object from XML.
To do: this should have a multiplexer in front like the PaintReadHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the stroke under construction.protected voidstartParsing(Attributes attrs) Called at the start of parsing aBasicStrokeelement, this method reads the attributes and constructs the stroke.Methods inherited from class org.jfree.xml.parser.AbstractXmlReadHandler
characters, doneParsing, endElement, getHandlerForChild, getRootHandler, getTagName, init, startElement
-
Constructor Details
-
BasicStrokeReadHandler
public BasicStrokeReadHandler()Creates a new handler.
-
-
Method Details
-
startParsing
Called at the start of parsing aBasicStrokeelement, this method reads the attributes and constructs the stroke.- Overrides:
startParsingin classAbstractXmlReadHandler- Parameters:
attrs- the attributes.- Throws:
SAXException- to indicate a parsing error.
-
getObject
Returns the stroke under construction.- Returns:
- the stroke.
-