|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.events.model.EventModel
public class EventModel
Represents a whole event model that supports multiple event producers.
Constructor Summary | |
---|---|
EventModel()
Creates a new, empty event model |
Method Summary | |
---|---|
void |
addProducer(EventProducerModel producer)
Adds the model of an event producer to the event model. |
EventProducerModel |
getProducer(java.lang.Class clazz)
Returns the model of an event producer with the given interface. |
EventProducerModel |
getProducer(java.lang.String interfaceName)
Returns the model of an event producer with the given interface name. |
java.util.Iterator |
getProducers()
Returns an iterator over the contained event producer models. |
void |
saveToXML(java.io.File modelFile)
Saves this event model to an XML file. |
void |
toSAX(org.xml.sax.ContentHandler handler)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EventModel()
Method Detail |
---|
public void addProducer(EventProducerModel producer)
producer
- the event producer modelpublic java.util.Iterator getProducers()
public EventProducerModel getProducer(java.lang.String interfaceName)
interfaceName
- the fully qualified name of the event producer
public EventProducerModel getProducer(java.lang.Class clazz)
clazz
- the interface of the event producer
public void toSAX(org.xml.sax.ContentHandler handler) throws org.xml.sax.SAXException
toSAX
in interface org.apache.xmlgraphics.util.XMLizable
org.xml.sax.SAXException
public void saveToXML(java.io.File modelFile) throws java.io.IOException
modelFile
- the target file
java.io.IOException
- if an I/O error occurs
|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |