public class EventProducerModel
extends java.lang.Object
implements java.io.Serializable, org.apache.xmlgraphics.util.XMLizable
| Constructor and Description |
|---|
EventProducerModel(java.lang.String interfaceName)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addMethod(EventMethodModel method)
Adds a model instance of an event method.
|
java.lang.String |
getInterfaceName()
Returns the fully qualified interface name of the event producer.
|
EventMethodModel |
getMethod(java.lang.String methodName)
Returns the model instance of an event method for the given method name.
|
java.util.Iterator |
getMethods()
Returns an iterator over the contained event producer methods.
|
void |
setInterfaceName(java.lang.String name)
Sets the fully qualified interface name of the event producer.
|
void |
toSAX(org.xml.sax.ContentHandler handler) |
public EventProducerModel(java.lang.String interfaceName)
interfaceName - the fully qualified interface name of the event producerpublic java.lang.String getInterfaceName()
public void setInterfaceName(java.lang.String name)
name - the fully qualified interface namepublic void addMethod(EventMethodModel method)
method - the event method modelpublic EventMethodModel getMethod(java.lang.String methodName)
methodName - the method namepublic java.util.Iterator getMethods()
public void toSAX(org.xml.sax.ContentHandler handler)
throws org.xml.sax.SAXException
toSAX in interface org.apache.xmlgraphics.util.XMLizableorg.xml.sax.SAXExceptionCopyright © 2007–2023. All rights reserved.