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