org.jboss.wise.core.consumer
Class WSConsumer

java.lang.Object
  extended by org.jboss.wise.core.consumer.WSConsumer
Direct Known Subclasses:
MetroWSConsumer, WSImportImpl

public abstract class WSConsumer
extends java.lang.Object

Author:
stefano.maestri@javalinux.it

Constructor Summary
WSConsumer()
           
 
Method Summary
 java.util.List<java.lang.String> getClassNames(java.io.File outputDir)
           
 java.util.List<java.lang.String> getClassNames(java.io.File outputDir, java.lang.String targetPackage)
           
static WSConsumer getInstance()
          Not a real singleton jus return right instance from MC
abstract  java.util.List<java.lang.String> importObjectFromWsdl(java.lang.String wsdlURL, java.io.File outputDir, java.io.File sourceDir, java.lang.String targetPackage, java.util.List<java.io.File> bindingFiles, java.io.File catelog)
           
 boolean isKeepSource()
           
 boolean isVerbose()
           
 void setKeepSource(boolean keepSource)
           
 void setVerbose(boolean verbose)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSConsumer

public WSConsumer()
Method Detail

importObjectFromWsdl

public abstract java.util.List<java.lang.String> importObjectFromWsdl(java.lang.String wsdlURL,
                                                                      java.io.File outputDir,
                                                                      java.io.File sourceDir,
                                                                      java.lang.String targetPackage,
                                                                      java.util.List<java.io.File> bindingFiles,
                                                                      java.io.File catelog)
                                                               throws java.net.MalformedURLException,
                                                                      WiseRuntimeException
Throws:
java.net.MalformedURLException
WiseRuntimeException

getInstance

public static WSConsumer getInstance()
                              throws MCKernelUnavailableException
Not a real singleton jus return right instance from MC

Returns:
an instance of concrete class extending WSConsumer()
Throws:
MCKernelUnavailableException

isVerbose

public final boolean isVerbose()
Returns:
verbose

setVerbose

public final void setVerbose(boolean verbose)
Parameters:
verbose - Sets verbose to the specified value.

isKeepSource

public final boolean isKeepSource()
Returns:
keepSource

setKeepSource

public final void setKeepSource(boolean keepSource)
Parameters:
keepSource - Sets keepSource to the specified value.

getClassNames

public java.util.List<java.lang.String> getClassNames(java.io.File outputDir,
                                                      java.lang.String targetPackage)
                                               throws WiseRuntimeException
Throws:
WiseRuntimeException

getClassNames

public java.util.List<java.lang.String> getClassNames(java.io.File outputDir)
                                               throws WiseRuntimeException
Throws:
WiseRuntimeException