org.apache.axis.wsdl.fromJava
Class DefaultBuilderPortTypeClassRep

java.lang.Object
  |
  +--org.apache.axis.wsdl.fromJava.DefaultBuilderPortTypeClassRep
All Implemented Interfaces:
BuilderPortTypeClassRep

public class DefaultBuilderPortTypeClassRep
extends java.lang.Object
implements BuilderPortTypeClassRep

DefaultBuilderPortTypeClassRep: Extend this class to provide your own functionality. See Java2WSDLFactory and ClassRep for more details.

Author:
Rich Scheuerle (scheu@us.ibm.com)

Method Summary
 ClassRep build(java.lang.Class cls, boolean inhMethods, java.util.Vector stopClasses, java.lang.Class implClass)
          Construct a ClassRep from a Class
 java.util.Vector getResolvedMethods(ClassRep cr, java.util.Vector allowedMethods, java.util.Vector disallowedMethods)
          Returns a list of MethodReps to be used for portType operation processing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

build

public ClassRep build(java.lang.Class cls,
                      boolean inhMethods,
                      java.util.Vector stopClasses,
                      java.lang.Class implClass)
Construct a ClassRep from a Class
Specified by:
build in interface BuilderPortTypeClassRep
Parameters:
cls - is the Class
inhMethods - if true, then the ClassRep will contain all methods inherited and declared. If false, then ClassRep will contain just the declared methods.
stopClasses - An optional vector of class names which if inhMethods is true, will stop the inheritence search if encountered.
implClass - An optional implClass can be passed in that implements/extends cls. The purpose of the implClass is to find method parameter names.

getResolvedMethods

public java.util.Vector getResolvedMethods(ClassRep cr,
                                           java.util.Vector allowedMethods,
                                           java.util.Vector disallowedMethods)
Returns a list of MethodReps to be used for portType operation processing.
Specified by:
getResolvedMethods in interface BuilderPortTypeClassRep
Parameters:
cr - is the ClassRep for the PortType class
allowedMethods - is a vector that contains the names of the methods to consider. if empty or null, consider all methods.
disallowedMethods - is a vector that contains the names of the methods NOT to consider. if empty or null, consider all methods.
Returns:
Vector of MethodRep objects


Copyright © 2001 Apache XML Project. All Rights Reserved.