XmlReadHandler
public class FontReadHandler extends AbstractXmlReadHandler
Constructor | Description |
---|---|
FontReadHandler() |
Creates a new SAX handler for reading a
Font from XML. |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
getObject() |
Returns the font under construction.
|
protected void |
startParsing(org.xml.sax.Attributes attrs) |
Called at the start of parsing a font element, this method reads the attributes and
constructs the font.
|
characters, doneParsing, endElement, getHandlerForChild, getRootHandler, getTagName, init, startElement
public FontReadHandler()
Font
from XML.protected void startParsing(org.xml.sax.Attributes attrs) throws org.xml.sax.SAXException
startParsing
in class AbstractXmlReadHandler
attrs
- the attributes.org.xml.sax.SAXException
- to indicate a parsing error.public java.lang.Object getObject()