org.apache.fop.render.afp.extensions

Class AFPExtensionHandler

Implemented Interfaces:
ContentHandlerFactory.ObjectSource

public class AFPExtensionHandler
extends DefaultHandler
implements ContentHandlerFactory.ObjectSource

ContentHandler (parser) for restoring AFPExtension objects from XML.

Field Summary

protected static Log
log
Logger instance

Method Summary

void
characters(char[] ch, int start, int length)
void
endDocument()
void
endElement(String uri, String localName, String qName)
Object
getObject()
void
setObjectBuiltListener(ContentHandlerFactory.ObjectBuiltListener listener)
void
startElement(String uri, String localName, String qName, Attributes attributes)

Field Details

log

protected static Log log
Logger instance

Method Details

characters

public void characters(char[] ch,
                       int start,
                       int length)
            throws SAXException

endDocument

public void endDocument()
            throws SAXException

endElement

public void endElement(String uri,
                       String localName,
                       String qName)
            throws SAXException

getObject

public Object getObject()
Specified by:
getObject in interface ContentHandlerFactory.ObjectSource

setObjectBuiltListener

public void setObjectBuiltListener(ContentHandlerFactory.ObjectBuiltListener listener)
Specified by:
setObjectBuiltListener in interface ContentHandlerFactory.ObjectSource

startElement

public void startElement(String uri,
                         String localName,
                         String qName,
                         Attributes attributes)
            throws SAXException

Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.