it.imolinfo.jbi4corba.webservice.generator
Class UtilJavaSourceParsing

java.lang.Object
  extended by it.imolinfo.jbi4corba.webservice.generator.UtilJavaSourceParsing

public class UtilJavaSourceParsing
extends Object

This class provides some utility methods used to parse a java source file.


Constructor Summary
UtilJavaSourceParsing()
          Default constructor.
 
Method Summary
 List<MethodSignature> extractMethodSignature(String absPath, String fullQualifiedName)
          This method extract the method's signature defined in the java source file.
static boolean isHolderCorbaClass(String typeName)
          Return true if the class is a holder Type class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UtilJavaSourceParsing

public UtilJavaSourceParsing()
Default constructor.

Method Detail

extractMethodSignature

public List<MethodSignature> extractMethodSignature(String absPath,
                                                    String fullQualifiedName)
                                             throws ClassGenerationException
This method extract the method's signature defined in the java source file.

Parameters:
absPath - The absolute path of the java source file.
Returns:
The list of method's signature found.
Throws:
ClassGenerationException - The class generation exception

isHolderCorbaClass

public static boolean isHolderCorbaClass(String typeName)
Return true if the class is a holder Type class. In the first implementation, the method check only if the type ends with Holder. Note that there is no Holder interface or superclass.

Parameters:
typeName -
Returns:


Copyright © 2005-2010 Imola Informatica. All Rights Reserved.