org.apache.cxf.tools.corba.processors.wsdl
Class WSDLToCorbaHelper
java.lang.Object
org.apache.cxf.tools.corba.processors.wsdl.WSDLToCorbaHelper
public class WSDLToCorbaHelper
- extends Object
|
Method Summary |
protected QName |
checkPrefix(QName schematypeName)
|
org.apache.cxf.binding.corba.wsdl.CorbaTypeImpl |
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)
|
protected org.apache.cxf.binding.corba.wsdl.CorbaTypeImpl |
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. |
protected org.apache.cxf.binding.corba.wsdl.CorbaTypeImpl |
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. |
protected org.apache.cxf.binding.corba.wsdl.CorbaTypeImpl |
createNillableUnion(QName name,
QName schemaType,
QName membertype,
boolean isQualified)
|
QName |
createQName(String name,
String namespaceName,
String prefix)
|
QName |
createQNameCorbaNamespace(String name)
|
QName |
createQNameTargetNamespace(String name)
|
QName |
createQNameXmlSchemaNamespace(String name)
|
protected org.apache.cxf.binding.corba.wsdl.Union |
createUnion(QName name,
org.apache.ws.commons.schema.XmlSchemaChoice choice,
QName defaultName,
QName schematypeName)
|
String |
getIdlNamespace()
|
org.apache.ws.commons.schema.XmlSchemaType |
getSchemaType(QName name)
|
org.apache.cxf.common.xmlschema.SchemaCollection |
getXMLSchemaList()
|
protected boolean |
isDuplicate(org.apache.cxf.binding.corba.wsdl.CorbaTypeImpl corbaTypeImpl)
|
protected org.apache.cxf.binding.corba.wsdl.CorbaTypeImpl |
isDuplicateException(org.apache.cxf.binding.corba.wsdl.CorbaTypeImpl corbaTypeImpl)
|
boolean |
isLiteralArray(org.apache.ws.commons.schema.XmlSchemaComplexType type)
|
protected boolean |
isSchemaTypeException(org.apache.ws.commons.schema.XmlSchemaType stype)
|
protected org.apache.ws.commons.schema.XmlSchemaType |
lookUpType(javax.wsdl.Part part)
|
protected org.apache.cxf.binding.corba.wsdl.CorbaTypeImpl |
processAllType(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.Struct |
processComplexContentStruct(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.MemberType |
processComplexContentStructChoice(org.apache.ws.commons.schema.XmlSchemaChoice choice,
QName schematypeName,
QName defaultName)
|
protected List |
processContainerAsMembers(org.apache.ws.commons.schema.XmlSchemaParticle particle,
QName defaultName,
QName schemaTypeName)
|
protected org.apache.cxf.binding.corba.wsdl.CorbaTypeImpl |
processSequenceType(org.apache.ws.commons.schema.XmlSchemaSequence seq,
QName defaultName,
QName schemaTypeName)
|
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)
|
protected static boolean |
queryBinding(javax.wsdl.Definition definition,
QName bqname)
|
void |
setIdlNamespace(String ns)
|
void |
setTypeMap(org.apache.cxf.binding.corba.wsdl.TypeMappingType map)
|
void |
setWsdlDefinition(javax.wsdl.Definition defn)
|
void |
setXMLSchemaList(org.apache.cxf.common.xmlschema.SchemaCollection list)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REPO_STRING
public static final String REPO_STRING
- See Also:
- Constant Field Values
IDL_VERSION
public static final String IDL_VERSION
- See Also:
- Constant Field Values
LOG
protected static final Logger LOG
DISCRIMINATORTYPES
protected static final String[] DISCRIMINATORTYPES
SUPPORTEDDISTYPES
protected static final Set<String> SUPPORTEDDISTYPES
CORBAPRIMITIVEMAP
protected static final CorbaPrimitiveMap CORBAPRIMITIVEMAP
WSDLToCorbaHelper
public WSDLToCorbaHelper()
setTypeMap
public void setTypeMap(org.apache.cxf.binding.corba.wsdl.TypeMappingType map)
setIdlNamespace
public void setIdlNamespace(String ns)
getIdlNamespace
public String 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.CorbaTypeImpl 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 processContainerAsMembers(org.apache.ws.commons.schema.XmlSchemaParticle particle,
QName defaultName,
QName schemaTypeName)
throws Exception
- Throws:
Exception
getSchemaType
public org.apache.ws.commons.schema.XmlSchemaType getSchemaType(QName name)
throws Exception
- Throws:
Exception
processSequenceType
protected org.apache.cxf.binding.corba.wsdl.CorbaTypeImpl processSequenceType(org.apache.ws.commons.schema.XmlSchemaSequence seq,
QName defaultName,
QName schemaTypeName)
throws Exception
- Throws:
Exception
processAllType
protected org.apache.cxf.binding.corba.wsdl.CorbaTypeImpl 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.CorbaTypeImpl 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.CorbaTypeImpl 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
protected org.apache.cxf.binding.corba.wsdl.CorbaTypeImpl createNillableUnion(QName name,
QName schemaType,
QName membertype,
boolean isQualified)
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.CorbaTypeImpl corbaTypeImpl)
isDuplicateException
protected org.apache.cxf.binding.corba.wsdl.CorbaTypeImpl isDuplicateException(org.apache.cxf.binding.corba.wsdl.CorbaTypeImpl corbaTypeImpl)
checkPrefix
protected QName checkPrefix(QName schematypeName)
createQNameTargetNamespace
public QName createQNameTargetNamespace(String name)
createQNameCorbaNamespace
public QName createQNameCorbaNamespace(String name)
createQName
public QName createQName(String name,
String namespaceName,
String prefix)
createQNameXmlSchemaNamespace
public QName createQNameXmlSchemaNamespace(String name)
queryBinding
protected static boolean queryBinding(javax.wsdl.Definition definition,
QName bqname)
Apache CXF