Class SchemaUnwrapperExtension
java.lang.Object
org.apache.axis2.wsdl.codegen.extension.AbstractCodeGenerationExtension
org.apache.axis2.wsdl.codegen.extension.SchemaUnwrapperExtension
- All Implemented Interfaces:
CodeGenExtension
This extension invokes the schema unwrapper depending on the users setting. it is desirable to
put this extension before other extensions since extnsions such as the databinding extension may
well depend on the schema being unwrapped previously. For a complete unwrap the following format
of the schema is expected < element > < complexType > < sequence > < element
/> < /sequence > < /complexType > < /element >
When an unwrapped WSDL is encountered Axis2 generates a wrapper schema and that wrapper schema
has the above mentioned format. This unwrapping algorithm will work on a pure doc/lit WSDL if it
has the above mentioned format only
-
Field Summary
Fields inherited from class org.apache.axis2.wsdl.codegen.extension.AbstractCodeGenerationExtension
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidengage(CodeGenConfiguration configuration) voidwalkSchema(org.apache.axis2.description.AxisMessage message, String qnameSuffix) walk the given schema element For a successful unwrapping the element should have the following structure < element > < complexType > < sequence > < element /> < /sequence > < /complexType > < /element >
-
Constructor Details
-
SchemaUnwrapperExtension
public SchemaUnwrapperExtension()
-
-
Method Details
-
engage
- Parameters:
configuration-- Throws:
CodeGenerationException
-
walkSchema
public void walkSchema(org.apache.axis2.description.AxisMessage message, String qnameSuffix) throws CodeGenerationException walk the given schema element For a successful unwrapping the element should have the following structure < element > < complexType > < sequence > < element /> < /sequence > < /complexType > < /element >- Throws:
CodeGenerationException
-