Class AbstractSchemaConverter<SNew extends AbsItfSchema,SImpl extends DecoratorSchemaImpl,AnnNew extends AbsItfAnnotation,AnnImpl extends DecoratorAnnotationImpl,AttGNew extends AbsItfAttributeGroup,AttGImpl extends DecoratorAttributeGroupImpl,AttNew extends AbsItfAttribute,AttImpl extends DecoratorAttributeImpl,CTNew extends AbsItfType,CTImpl extends DecoratorComplexTypeImpl,ENew extends AbsItfElement,EImpl extends DecoratorElementImpl,GNew extends AbsItfGroup,GImpl extends DecoratorGroupImpl,ImptNew extends AbsItfImport,ImptImpl extends DecoratorImportImpl,InclNew extends AbsItfInclude,InclImpl extends DecoratorIncludeImpl,NotNew extends AbsItfNotation,NotImpl extends DecoratorNotationImpl,RedNew extends AbsItfRedefine,RedImpl extends DecoratorRedefineImpl,STNew extends AbsItfType,STImpl extends DecoratorSimpleTypeImpl,TNew extends AbsItfType,TImpl extends DecoratorTypeImpl>
- java.lang.Object
-
- org.ow2.easywsdl.schema.decorator.AbstractSchemaConverter<SNew,SImpl,AnnNew,AnnImpl,AttGNew,AttGImpl,AttNew,AttImpl,CTNew,CTImpl,ENew,EImpl,GNew,GImpl,ImptNew,ImptImpl,InclNew,InclImpl,NotNew,NotImpl,RedNew,RedImpl,STNew,STImpl,TNew,TImpl>
-
public abstract class AbstractSchemaConverter<SNew extends AbsItfSchema,SImpl extends DecoratorSchemaImpl,AnnNew extends AbsItfAnnotation,AnnImpl extends DecoratorAnnotationImpl,AttGNew extends AbsItfAttributeGroup,AttGImpl extends DecoratorAttributeGroupImpl,AttNew extends AbsItfAttribute,AttImpl extends DecoratorAttributeImpl,CTNew extends AbsItfType,CTImpl extends DecoratorComplexTypeImpl,ENew extends AbsItfElement,EImpl extends DecoratorElementImpl,GNew extends AbsItfGroup,GImpl extends DecoratorGroupImpl,ImptNew extends AbsItfImport,ImptImpl extends DecoratorImportImpl,InclNew extends AbsItfInclude,InclImpl extends DecoratorIncludeImpl,NotNew extends AbsItfNotation,NotImpl extends DecoratorNotationImpl,RedNew extends AbsItfRedefine,RedImpl extends DecoratorRedefineImpl,STNew extends AbsItfType,STImpl extends DecoratorSimpleTypeImpl,TNew extends AbsItfType,TImpl extends DecoratorTypeImpl> extends Object
- Author:
- Nicolas Salatge - EBM WebSourcing
-
-
Constructor Summary
Constructors Constructor Description AbstractSchemaConverter()
-
Method Summary
-
-
-
Method Detail
-
convertSchema
public abstract SNew convertSchema(AbsItfSchema desc) throws SchemaException
- Throws:
SchemaException
-
convertImport
public abstract ImptNew convertImport(AbsItfImport desc) throws SchemaException
- Throws:
SchemaException
-
convertSchema
protected SNew convertSchema(AbsItfSchema odlDesc, Class<SImpl> simpl, Class<AnnImpl> annImpl, Class<AttGImpl> attGImpl, Class<AttImpl> attImpl, Class<CTImpl> cTImpl, Class<EImpl> eImpl, Class<GImpl> gImpl, Class<ImptImpl> imptImpl, Class<InclImpl> inclImpl, Class<NotImpl> notImpl, Class<RedImpl> redImpl, Class<STImpl> sTImpl, Class<TImpl> tImpl) throws SchemaException
- Throws:
SchemaException
-
convertElement
protected ENew convertElement(AbsItfElement oldElement, Class<EImpl> eimpl) throws SchemaException
Convert all wsdl element- Throws:
SchemaException
-
convertElements
protected void convertElements(List<AbsItfElement> elements, Class<EImpl> eimpl, SNew newDesc) throws SchemaException
- Throws:
SchemaException
-
convertAttribute
protected AttNew convertAttribute(AbsItfAttribute oldAttribute, Class<AttImpl> attImpl) throws SchemaException
- Throws:
SchemaException
-
convertAttributes
protected void convertAttributes(List<AbsItfAttribute> attributes, Class<AttImpl> attImpl, SNew newDesc) throws SchemaException
- Throws:
SchemaException
-
convertSimpleType
protected STNew convertSimpleType(AbsItfSimpleType oldSt, Class<STImpl> sTImpl) throws SchemaException
- Throws:
SchemaException
-
convertComplexType
protected CTNew convertComplexType(AbsItfComplexType oldCt, Class<CTImpl> cTImpl) throws SchemaException
- Throws:
SchemaException
-
convertTypes
protected void convertTypes(List<AbsItfType> types, Class<TImpl> tImpl, Class<STImpl> sTImpl, Class<CTImpl> cTImpl, SNew newDesc) throws SchemaException
- Throws:
SchemaException
-
convertInclude
protected InclNew convertInclude(AbsItfInclude oldInclude, Class<InclImpl> inclimpl) throws SchemaException
- Throws:
SchemaException
-
convertIncludes
protected void convertIncludes(List<AbsItfInclude> includes, Class<InclImpl> inclimpl, SNew newDesc) throws SchemaException
- Throws:
SchemaException
-
convertImport
public ImptNew convertImport(AbsItfImport oldImpt, Class<ImptImpl> imptimpl) throws SchemaException
- Throws:
SchemaException
-
convertImports
protected void convertImports(List<AbsItfImport> imports, Class<ImptImpl> imptimpl, SNew newDesc) throws SchemaException
- Throws:
SchemaException
-
-