com.sun.tools.ws.wscompile
Class WsgenTool

java.lang.Object
  extended by com.sun.tools.ws.wscompile.WsgenTool
All Implemented Interfaces:
AnnotationProcessorFactory

public class WsgenTool
extends Object
implements AnnotationProcessorFactory


Nested Class Summary
(package private)  class WsgenTool.Listener
           
(package private) static class WsgenTool.ReportOutput
          "Namespace" for code needed to generate the report file.
 
Field Summary
(package private) static Collection<String> supportedAnnotations
           
(package private) static Collection<String> supportedOptions
           
 
Constructor Summary
WsgenTool(OutputStream out)
           
WsgenTool(OutputStream out, Container container)
           
 
Method Summary
 boolean buildModel(String endpoint, WsgenTool.Listener listener)
           
 AnnotationProcessor getProcessorFor(Set<AnnotationTypeDeclaration> set, AnnotationProcessorEnvironment apEnv)
           
 boolean run(String[] args)
           
 Collection<String> supportedAnnotationTypes()
           
 Collection<String> supportedOptions()
           
protected  void usage(Options options)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

supportedOptions

static final Collection<String> supportedOptions

supportedAnnotations

static final Collection<String> supportedAnnotations
Constructor Detail

WsgenTool

public WsgenTool(OutputStream out,
                 Container container)

WsgenTool

public WsgenTool(OutputStream out)
Method Detail

run

public boolean run(String[] args)

buildModel

public boolean buildModel(String endpoint,
                          WsgenTool.Listener listener)
                   throws BadCommandLineException
Throws:
BadCommandLineException

usage

protected void usage(Options options)

supportedOptions

public Collection<String> supportedOptions()
Specified by:
supportedOptions in interface AnnotationProcessorFactory

supportedAnnotationTypes

public Collection<String> supportedAnnotationTypes()
Specified by:
supportedAnnotationTypes in interface AnnotationProcessorFactory

getProcessorFor

public AnnotationProcessor getProcessorFor(Set<AnnotationTypeDeclaration> set,
                                           AnnotationProcessorEnvironment apEnv)
Specified by:
getProcessorFor in interface AnnotationProcessorFactory