org.codehaus.xfire.gen.jsr181
Class FaultGenerator

java.lang.Object
  extended by org.codehaus.xfire.gen.jsr181.AbstractPlugin
      extended by org.codehaus.xfire.gen.jsr181.FaultGenerator
All Implemented Interfaces:
GeneratorPlugin

public class FaultGenerator
extends AbstractPlugin
implements GeneratorPlugin


Field Summary
static java.lang.String EXCEPTION_CLASSES
           
 
Constructor Summary
FaultGenerator()
           
 
Method Summary
 void generate(GenerationContext context)
           
 void generate(GenerationContext context, javax.xml.namespace.QName name, java.util.List<org.codehaus.xfire.service.Service> services)
           
protected  com.sun.codemodel.JClass generateExceptionClass(GenerationContext context, org.codehaus.xfire.service.FaultInfo fault, org.codehaus.xfire.service.MessagePartInfo part)
           
protected  com.sun.codemodel.JClass generateExceptionClass(org.codehaus.xfire.service.MessagePartInfo part, com.sun.codemodel.JCodeModel model, com.sun.codemodel.JType paramType, com.sun.codemodel.JDefinedClass exCls)
           
 
Methods inherited from class org.codehaus.xfire.gen.jsr181.AbstractPlugin
getPackage, getUniqueName, javify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXCEPTION_CLASSES

public static final java.lang.String EXCEPTION_CLASSES
See Also:
Constant Field Values
Constructor Detail

FaultGenerator

public FaultGenerator()
Method Detail

generate

public void generate(GenerationContext context)
              throws java.lang.Exception
Specified by:
generate in interface GeneratorPlugin
Throws:
java.lang.Exception

generate

public void generate(GenerationContext context,
                     javax.xml.namespace.QName name,
                     java.util.List<org.codehaus.xfire.service.Service> services)
              throws java.lang.Exception
Throws:
java.lang.Exception

generateExceptionClass

protected com.sun.codemodel.JClass generateExceptionClass(GenerationContext context,
                                                          org.codehaus.xfire.service.FaultInfo fault,
                                                          org.codehaus.xfire.service.MessagePartInfo part)
                                                   throws GenerationException
Throws:
GenerationException

generateExceptionClass

protected com.sun.codemodel.JClass generateExceptionClass(org.codehaus.xfire.service.MessagePartInfo part,
                                                          com.sun.codemodel.JCodeModel model,
                                                          com.sun.codemodel.JType paramType,
                                                          com.sun.codemodel.JDefinedClass exCls)


Copyright © 2004-2010. All Rights Reserved.