org.apache.myfaces.buildtools.maven2.plugin.builder.model
Class MethodSignatureMeta

java.lang.Object
  extended by org.apache.myfaces.buildtools.maven2.plugin.builder.model.MethodSignatureMeta

public class MethodSignatureMeta
extends Object

MethodSignatureMeta is a Java representation of the faces-config component property-extension method-signature XML element.


Constructor Summary
MethodSignatureMeta()
          Creates a new MethodSignatureBean.
 
Method Summary
 void addParameterType(String parameterType)
          Adds a new parameter type to this method signature.
static void addXmlRules(org.apache.commons.digester.Digester digester, String prefix)
           
 String[] getParameterTypes()
          Returns the list of parameter types as an array.
 String getParameterTypesAsString()
           
 String getReturnType()
          Returns the return type of this method signature.
 void setReturnType(String returnType)
          Sets the return type of this method signature.
static void writeXml(XmlWriter out, MethodSignatureMeta pm)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodSignatureMeta

public MethodSignatureMeta()
Creates a new MethodSignatureBean.

Method Detail

addXmlRules

public static void addXmlRules(org.apache.commons.digester.Digester digester,
                               String prefix)

writeXml

public static void writeXml(XmlWriter out,
                            MethodSignatureMeta pm)

addParameterType

public void addParameterType(String parameterType)
Adds a new parameter type to this method signature.

Parameters:
parameterType - the parameter type

getParameterTypes

public String[] getParameterTypes()
Returns the list of parameter types as an array.

Returns:
the parameter type list

getParameterTypesAsString

public String getParameterTypesAsString()

setReturnType

public void setReturnType(String returnType)
Sets the return type of this method signature.

Parameters:
returnType - the method signature return type

getReturnType

public String getReturnType()
Returns the return type of this method signature.

Returns:
the method signature return type


Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.