Class WSDLToCorbaHelper
java.lang.Object
org.apache.cxf.tools.corba.processors.wsdl.WSDLToCorbaHelper
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final CorbaPrimitiveMapprotected static final String[]static final Stringprotected static final Loggerstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected QNamecheckPrefix(QName schematypeName) org.apache.cxf.binding.corba.wsdl.CorbaTypeconvertSchemaToCorbaType(org.apache.ws.commons.schema.XmlSchemaType stype, QName defaultName, org.apache.ws.commons.schema.XmlSchemaType parent, org.apache.ws.commons.schema.XmlSchemaAnnotation annotation, boolean anonymous) protected org.apache.cxf.binding.corba.wsdl.CorbaTypecreateArray(QName name, QName schematypeName, QName arrayType, Long maxOccurs, Long minOccurs, boolean anonymous) Create a CORBA Array or Sequence based on min and max Occurs If minOccurs == maxOccurs == 1 then log warning and return null.protected org.apache.cxf.binding.corba.wsdl.CorbaTypecreateArray(QName name, QName schematypeName, QName arrayType, QName elName, Long maxOccurs, Long minOccurs, boolean anonymous) Create a CORBA Array or Sequence based on min and max Occurs If minOccurs == maxOccurs == 1 then log warning and return null.protected org.apache.cxf.binding.corba.wsdl.CorbaTypecreateNillableUnion(QName name, QName schemaType, QName membertype, boolean isQualified) createQName(String name, String namespaceName, String prefix) protected org.apache.cxf.binding.corba.wsdl.UnioncreateUnion(QName name, org.apache.ws.commons.schema.XmlSchemaChoice choice, QName defaultName, QName schematypeName) org.apache.ws.commons.schema.XmlSchemaTypegetSchemaType(QName name) org.apache.cxf.common.xmlschema.SchemaCollectionprotected booleanisDuplicate(org.apache.cxf.binding.corba.wsdl.CorbaType corbaTypeImpl) protected org.apache.cxf.binding.corba.wsdl.CorbaTypeisDuplicateException(org.apache.cxf.binding.corba.wsdl.CorbaType corbaTypeImpl) booleanisLiteralArray(org.apache.ws.commons.schema.XmlSchemaComplexType type) protected booleanisSchemaTypeException(org.apache.ws.commons.schema.XmlSchemaType stype) protected org.apache.ws.commons.schema.XmlSchemaTypelookUpType(javax.wsdl.Part part) protected org.apache.cxf.binding.corba.wsdl.CorbaTypeprocessAllType(org.apache.ws.commons.schema.XmlSchemaAll seq, QName defaultName, QName schematypeName) protected List<org.apache.cxf.binding.corba.wsdl.MemberType>processAttributesAsMembers(List<org.apache.ws.commons.schema.XmlSchemaAttributeOrGroupRef> list, String uri) protected org.apache.cxf.binding.corba.wsdl.StructprocessComplexContentStruct(org.apache.ws.commons.schema.XmlSchemaComplexContent complex, QName defaultName, org.apache.cxf.binding.corba.wsdl.Struct corbaStruct, QName schematypeName) protected org.apache.cxf.binding.corba.wsdl.MemberTypeprocessComplexContentStructChoice(org.apache.ws.commons.schema.XmlSchemaChoice choice, QName schematypeName, QName defaultName) protected List<org.apache.cxf.binding.corba.wsdl.MemberType>processContainerAsMembers(org.apache.ws.commons.schema.XmlSchemaParticle particle, QName defaultName, QName schemaTypeName) protected org.apache.cxf.binding.corba.wsdl.CorbaTypeprocessSequenceType(org.apache.ws.commons.schema.XmlSchemaSequence seq, QName defaultName, QName schemaTypeName) protected org.apache.cxf.binding.corba.wsdl.StructprocessSimpleContentStruct(org.apache.ws.commons.schema.XmlSchemaSimpleContent simpleContent, QName defaultName, org.apache.cxf.binding.corba.wsdl.Struct corbaStruct, QName schematypeName) protected static booleanqueryBinding(javax.wsdl.Definition definition, QName bqname) voidvoidsetTypeMap(org.apache.cxf.binding.corba.wsdl.TypeMappingType map) voidsetWsdlDefinition(javax.wsdl.Definition defn) voidsetXMLSchemaList(org.apache.cxf.common.xmlschema.SchemaCollection list)
-
Field Details
-
REPO_STRING
- See Also:
-
IDL_VERSION
- See Also:
-
LOG
-
DISCRIMINATORTYPES
-
SUPPORTEDDISTYPES
-
CORBAPRIMITIVEMAP
-
-
Constructor Details
-
WSDLToCorbaHelper
public WSDLToCorbaHelper()
-
-
Method Details
-
setTypeMap
public void setTypeMap(org.apache.cxf.binding.corba.wsdl.TypeMappingType map) -
setIdlNamespace
-
getIdlNamespace
-
setXMLSchemaList
public void setXMLSchemaList(org.apache.cxf.common.xmlschema.SchemaCollection list) -
getXMLSchemaList
public org.apache.cxf.common.xmlschema.SchemaCollection getXMLSchemaList() -
setWsdlDefinition
public void setWsdlDefinition(javax.wsdl.Definition defn) -
convertSchemaToCorbaType
public org.apache.cxf.binding.corba.wsdl.CorbaType convertSchemaToCorbaType(org.apache.ws.commons.schema.XmlSchemaType stype, QName defaultName, org.apache.ws.commons.schema.XmlSchemaType parent, org.apache.ws.commons.schema.XmlSchemaAnnotation annotation, boolean anonymous) throws Exception - Throws:
Exception
-
processContainerAsMembers
protected List<org.apache.cxf.binding.corba.wsdl.MemberType> processContainerAsMembers(org.apache.ws.commons.schema.XmlSchemaParticle particle, QName defaultName, QName schemaTypeName) throws Exception - Throws:
Exception
-
getSchemaType
- Throws:
Exception
-
processSequenceType
protected org.apache.cxf.binding.corba.wsdl.CorbaType processSequenceType(org.apache.ws.commons.schema.XmlSchemaSequence seq, QName defaultName, QName schemaTypeName) throws Exception - Throws:
Exception
-
processAllType
protected org.apache.cxf.binding.corba.wsdl.CorbaType processAllType(org.apache.ws.commons.schema.XmlSchemaAll seq, QName defaultName, QName schematypeName) throws Exception - Throws:
Exception
-
processAttributesAsMembers
protected List<org.apache.cxf.binding.corba.wsdl.MemberType> processAttributesAsMembers(List<org.apache.ws.commons.schema.XmlSchemaAttributeOrGroupRef> list, String uri) throws Exception - Throws:
Exception
-
lookUpType
protected org.apache.ws.commons.schema.XmlSchemaType lookUpType(javax.wsdl.Part part) -
isSchemaTypeException
protected boolean isSchemaTypeException(org.apache.ws.commons.schema.XmlSchemaType stype) -
isLiteralArray
public boolean isLiteralArray(org.apache.ws.commons.schema.XmlSchemaComplexType type) -
createArray
protected org.apache.cxf.binding.corba.wsdl.CorbaType createArray(QName name, QName schematypeName, QName arrayType, Long maxOccurs, Long minOccurs, boolean anonymous) Create a CORBA Array or Sequence based on min and max Occurs If minOccurs == maxOccurs == 1 then log warning and return null. Else if minOccurs is equal to maxOccurs then create an Array. Else create a Sequence -
createArray
protected org.apache.cxf.binding.corba.wsdl.CorbaType createArray(QName name, QName schematypeName, QName arrayType, QName elName, Long maxOccurs, Long minOccurs, boolean anonymous) Create a CORBA Array or Sequence based on min and max Occurs If minOccurs == maxOccurs == 1 then log warning and return null. Else if minOccurs is equal to maxOccurs then create an Array. Else create a Sequence -
processSimpleContentStruct
protected org.apache.cxf.binding.corba.wsdl.Struct processSimpleContentStruct(org.apache.ws.commons.schema.XmlSchemaSimpleContent simpleContent, QName defaultName, org.apache.cxf.binding.corba.wsdl.Struct corbaStruct, QName schematypeName) throws Exception - Throws:
Exception
-
processComplexContentStruct
protected org.apache.cxf.binding.corba.wsdl.Struct processComplexContentStruct(org.apache.ws.commons.schema.XmlSchemaComplexContent complex, QName defaultName, org.apache.cxf.binding.corba.wsdl.Struct corbaStruct, QName schematypeName) throws Exception - Throws:
Exception
-
processComplexContentStructChoice
protected org.apache.cxf.binding.corba.wsdl.MemberType processComplexContentStructChoice(org.apache.ws.commons.schema.XmlSchemaChoice choice, QName schematypeName, QName defaultName) throws Exception - Throws:
Exception
-
createNillableUnion
-
createUnion
protected org.apache.cxf.binding.corba.wsdl.Union createUnion(QName name, org.apache.ws.commons.schema.XmlSchemaChoice choice, QName defaultName, QName schematypeName) throws Exception - Throws:
Exception
-
isDuplicate
protected boolean isDuplicate(org.apache.cxf.binding.corba.wsdl.CorbaType corbaTypeImpl) -
isDuplicateException
protected org.apache.cxf.binding.corba.wsdl.CorbaType isDuplicateException(org.apache.cxf.binding.corba.wsdl.CorbaType corbaTypeImpl) -
checkPrefix
-
createQNameTargetNamespace
-
createQNameCorbaNamespace
-
createQName
-
createQNameXmlSchemaNamespace
-
queryBinding
-