org.jfree.xml.parser.coretypes
Class FontReadHandler
java.lang.Object
org.jfree.xml.parser.AbstractXmlReadHandler
org.jfree.xml.parser.coretypes.FontReadHandler
- All Implemented Interfaces:
- XmlReadHandler
public class FontReadHandler
- extends AbstractXmlReadHandler
A SAX handler for reading a font definition.
|
Method Summary |
Object |
getObject()
Returns the font under construction. |
protected void |
startParsing(Attributes attrs)
Called at the start of parsing a font element, this method reads the attributes and
constructs the font. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FontReadHandler
public FontReadHandler()
- Creates a new SAX handler for reading a
Font from XML.
startParsing
protected void startParsing(Attributes attrs)
throws SAXException
- Called at the start of parsing a font element, this method reads the attributes and
constructs the font.
- Overrides:
startParsing in class AbstractXmlReadHandler
- Parameters:
attrs - the attributes.
- Throws:
SAXException - to indicate a parsing error.
getObject
public Object getObject()
- Returns the font under construction.
- Returns:
- the font.
Copyright © 2009-2010 jtstand.com. All Rights Reserved.