Class EventMethodModel.Parameter

  • All Implemented Interfaces:
    java.io.Serializable, org.apache.xmlgraphics.util.XMLizable
    Enclosing class:
    EventMethodModel

    public static class EventMethodModel.Parameter
    extends java.lang.Object
    implements java.io.Serializable, org.apache.xmlgraphics.util.XMLizable
    Represents an event parameter.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String name  
      private static long serialVersionUID  
      private java.lang.Class type  
    • Constructor Summary

      Constructors 
      Constructor Description
      Parameter​(java.lang.Class type, java.lang.String name)
      Creates a new event parameter.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()
      Returns the parameter name.
      java.lang.Class getType()
      Returns the parameter type.
      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
    • Field Detail

      • type

        private java.lang.Class type
      • name

        private java.lang.String name
    • Constructor Detail

      • Parameter

        public Parameter​(java.lang.Class type,
                         java.lang.String name)
        Creates a new event parameter.
        Parameters:
        type - the parameter type
        name - the parameter name
    • Method Detail

      • getType

        public java.lang.Class getType()
        Returns the parameter type.
        Returns:
        the parameter type
      • getName

        public java.lang.String getName()
        Returns the parameter name.
        Returns:
        the parameter name
      • toSAX

        public void toSAX​(org.xml.sax.ContentHandler handler)
                   throws org.xml.sax.SAXException
        Specified by:
        toSAX in interface org.apache.xmlgraphics.util.XMLizable
        Throws:
        org.xml.sax.SAXException