org.ow2.easywsdl.schema.decorator
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
  extended by 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 java.lang.Object

Author:
Nicolas Salatge - eBM WebSourcing

Constructor Summary
AbstractSchemaConverter()
           
 
Method Summary
protected  AttNew convertAttribute(AbsItfAttribute oldAttribute, java.lang.Class<AttImpl> attImpl)
           
protected  void convertAttributes(java.util.List<AbsItfAttribute> attributes, java.lang.Class<AttImpl> attImpl, SNew newDesc)
           
protected  CTNew convertComplexType(AbsItfComplexType oldCt, java.lang.Class<CTImpl> cTImpl)
           
protected  ENew convertElement(AbsItfElement oldElement, java.lang.Class<EImpl> eimpl)
          Convert all wsdl element
protected  void convertElements(java.util.List<AbsItfElement> elements, java.lang.Class<EImpl> eimpl, SNew newDesc)
           
abstract  ImptNew convertImport(AbsItfImport desc)
           
 ImptNew convertImport(AbsItfImport oldImpt, java.lang.Class<ImptImpl> imptimpl)
           
protected  void convertImports(java.util.List<AbsItfImport> imports, java.lang.Class<ImptImpl> imptimpl, SNew newDesc)
           
protected  InclNew convertInclude(AbsItfInclude oldInclude, java.lang.Class<InclImpl> inclimpl)
           
protected  void convertIncludes(java.util.List<AbsItfInclude> includes, java.lang.Class<InclImpl> inclimpl, SNew newDesc)
           
abstract  SNew convertSchema(AbsItfSchema desc)
           
protected  SNew convertSchema(AbsItfSchema odlDesc, java.lang.Class<SImpl> simpl, java.lang.Class<AnnImpl> annImpl, java.lang.Class<AttGImpl> attGImpl, java.lang.Class<AttImpl> attImpl, java.lang.Class<CTImpl> cTImpl, java.lang.Class<EImpl> eImpl, java.lang.Class<GImpl> gImpl, java.lang.Class<ImptImpl> imptImpl, java.lang.Class<InclImpl> inclImpl, java.lang.Class<NotImpl> notImpl, java.lang.Class<RedImpl> redImpl, java.lang.Class<STImpl> sTImpl, java.lang.Class<TImpl> tImpl)
           
protected  STNew convertSimpleType(AbsItfSimpleType oldSt, java.lang.Class<STImpl> sTImpl)
           
protected  void convertTypes(java.util.List<AbsItfType> types, java.lang.Class<TImpl> tImpl, java.lang.Class<STImpl> sTImpl, java.lang.Class<CTImpl> cTImpl, SNew newDesc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractSchemaConverter

public AbstractSchemaConverter()
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,
                             java.lang.Class<SImpl> simpl,
                             java.lang.Class<AnnImpl> annImpl,
                             java.lang.Class<AttGImpl> attGImpl,
                             java.lang.Class<AttImpl> attImpl,
                             java.lang.Class<CTImpl> cTImpl,
                             java.lang.Class<EImpl> eImpl,
                             java.lang.Class<GImpl> gImpl,
                             java.lang.Class<ImptImpl> imptImpl,
                             java.lang.Class<InclImpl> inclImpl,
                             java.lang.Class<NotImpl> notImpl,
                             java.lang.Class<RedImpl> redImpl,
                             java.lang.Class<STImpl> sTImpl,
                             java.lang.Class<TImpl> tImpl)
                                           throws SchemaException
Throws:
SchemaException

convertElement

protected ENew convertElement(AbsItfElement oldElement,
                              java.lang.Class<EImpl> eimpl)
                                             throws SchemaException
Convert all wsdl element

Throws:
SchemaException

convertElements

protected void convertElements(java.util.List<AbsItfElement> elements,
                               java.lang.Class<EImpl> eimpl,
                               SNew newDesc)
                        throws SchemaException
Throws:
SchemaException

convertAttribute

protected AttNew convertAttribute(AbsItfAttribute oldAttribute,
                                  java.lang.Class<AttImpl> attImpl)
                                                   throws SchemaException
Throws:
SchemaException

convertAttributes

protected void convertAttributes(java.util.List<AbsItfAttribute> attributes,
                                 java.lang.Class<AttImpl> attImpl,
                                 SNew newDesc)
                          throws SchemaException
Throws:
SchemaException

convertSimpleType

protected STNew convertSimpleType(AbsItfSimpleType oldSt,
                                  java.lang.Class<STImpl> sTImpl)
                                              throws SchemaException
Throws:
SchemaException

convertComplexType

protected CTNew convertComplexType(AbsItfComplexType oldCt,
                                   java.lang.Class<CTImpl> cTImpl)
                                               throws SchemaException
Throws:
SchemaException

convertTypes

protected void convertTypes(java.util.List<AbsItfType> types,
                            java.lang.Class<TImpl> tImpl,
                            java.lang.Class<STImpl> sTImpl,
                            java.lang.Class<CTImpl> cTImpl,
                            SNew newDesc)
                     throws SchemaException
Throws:
SchemaException

convertInclude

protected InclNew convertInclude(AbsItfInclude oldInclude,
                                 java.lang.Class<InclImpl> inclimpl)
                                                throws SchemaException
Throws:
SchemaException

convertIncludes

protected void convertIncludes(java.util.List<AbsItfInclude> includes,
                               java.lang.Class<InclImpl> inclimpl,
                               SNew newDesc)
                        throws SchemaException
Throws:
SchemaException

convertImport

public ImptNew convertImport(AbsItfImport oldImpt,
                             java.lang.Class<ImptImpl> imptimpl)
                                           throws SchemaException
Throws:
SchemaException

convertImports

protected void convertImports(java.util.List<AbsItfImport> imports,
                              java.lang.Class<ImptImpl> imptimpl,
                              SNew newDesc)
                       throws SchemaException
Throws:
SchemaException


Copyright © 2008-2009 Petals Link (previously EBM WebSourcing). All Rights Reserved.