org.peaseplate.internal.service
Class TransformerDefinition

java.lang.Object
  extended by org.peaseplate.internal.service.TransformerDefinition

public class TransformerDefinition
extends java.lang.Object


Constructor Summary
TransformerDefinition(java.lang.Object instance)
           
 
Method Summary
 java.lang.Object getInstance()
           
 java.lang.reflect.Method getMethod(java.lang.String extension, int numberOfParameters)
          Returns the method specified by the extension and the number of additional parameters The number of parameters of the method must be 2 + numberOfParameters
 java.lang.String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransformerDefinition

public TransformerDefinition(java.lang.Object instance)
                      throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException
Method Detail

getInstance

public java.lang.Object getInstance()

getName

public java.lang.String getName()

getMethod

public java.lang.reflect.Method getMethod(java.lang.String extension,
                                          int numberOfParameters)
                                   throws java.lang.IllegalArgumentException
Returns the method specified by the extension and the number of additional parameters The number of parameters of the method must be 2 + numberOfParameters

Parameters:
extension - the extension
numberOfParameters - the number of additional parameters
Returns:
the method, or null if not found
Throws:
java.lang.IllegalArgumentException - if the method could not be selected


Copyright © 2008. All Rights Reserved.