org.apache.cxf.binding.corba.utils
Class CorbaUtils

java.lang.Object
  extended by org.apache.cxf.binding.corba.utils.CorbaUtils

public final class CorbaUtils
extends Object


Method Summary
static CorbaTypeMap createCorbaTypeMap(List<TypeMappingType> tmTypes)
           
static String exportObjectReference(Object obj, ORB orb)
           
static TypeCode getComplexTypeCode(ORB orb, QName type, Object obj, CorbaTypeMap typeMap, Stack<QName> seenTypes)
           
static CorbaTypeImpl getCorbaType(QName idlType, CorbaTypeMap typeMap)
           
static QName getEmptyQName()
           
static TypeCode getPrimitiveTypeCode(ORB orb, QName type)
           
static TypeCode getTypeCode(ORB orb, QName type, CorbaType obj, CorbaTypeMap typeMap)
           
static TypeCode getTypeCode(ORB orb, QName type, CorbaType obj, CorbaTypeMap typeMap, Stack<QName> seenTypes)
           
static TypeCode getTypeCode(ORB orb, QName type, CorbaTypeMap typeMap)
           
static TypeCode getTypeCode(ORB orb, QName type, CorbaTypeMap typeMap, Stack<QName> seenTypes)
           
static String getTypeCodeName(String name)
           
static TypeCode getUnionTypeCode(ORB orb, Object obj, CorbaTypeMap typeMap, Stack<QName> seenTypes)
           
static String getUniquePOAName(QName serviceName, String portName, String poaName)
           
static org.apache.ws.commons.schema.XmlSchemaType getXmlSchemaType(ServiceInfo serviceInfo, QName name)
           
static Object importObjectReference(ORB orb, String url)
           
static Object importObjectReferenceFromFile(ORB orb, String url)
           
static boolean isAttributeFormQualified(ServiceInfo serviceInfo, String uri)
           
static boolean isElementFormQualified(ServiceInfo serviceInfo, String uri)
           
static boolean isIOR(String location)
           
static boolean isPrimitiveIdlType(QName idltype)
           
static boolean isPrimitiveTypeCode(TypeCode tc)
           
static boolean isValidURL(String url)
           
static NVList nvListFromStreamables(ORB orb, CorbaStreamable[] streamables)
           
static QName processQName(QName qname, ServiceInfo serviceInfo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getEmptyQName

public static QName getEmptyQName()

getTypeCode

public static TypeCode getTypeCode(ORB orb,
                                   QName type,
                                   CorbaTypeMap typeMap)

getTypeCode

public static TypeCode getTypeCode(ORB orb,
                                   QName type,
                                   CorbaTypeMap typeMap,
                                   Stack<QName> seenTypes)

getTypeCode

public static TypeCode getTypeCode(ORB orb,
                                   QName type,
                                   CorbaType obj,
                                   CorbaTypeMap typeMap)

getTypeCode

public static TypeCode getTypeCode(ORB orb,
                                   QName type,
                                   CorbaType obj,
                                   CorbaTypeMap typeMap,
                                   Stack<QName> seenTypes)

getPrimitiveTypeCode

public static TypeCode getPrimitiveTypeCode(ORB orb,
                                            QName type)

getComplexTypeCode

public static TypeCode getComplexTypeCode(ORB orb,
                                          QName type,
                                          Object obj,
                                          CorbaTypeMap typeMap,
                                          Stack<QName> seenTypes)

getUnionTypeCode

public static TypeCode getUnionTypeCode(ORB orb,
                                        Object obj,
                                        CorbaTypeMap typeMap,
                                        Stack<QName> seenTypes)

getTypeCodeName

public static String getTypeCodeName(String name)

isPrimitiveIdlType

public static boolean isPrimitiveIdlType(QName idltype)

isPrimitiveTypeCode

public static boolean isPrimitiveTypeCode(TypeCode tc)

getCorbaType

public static CorbaTypeImpl getCorbaType(QName idlType,
                                         CorbaTypeMap typeMap)

createCorbaTypeMap

public static CorbaTypeMap createCorbaTypeMap(List<TypeMappingType> tmTypes)

isValidURL

public static boolean isValidURL(String url)

getUniquePOAName

public static String getUniquePOAName(QName serviceName,
                                      String portName,
                                      String poaName)

isIOR

public static boolean isIOR(String location)

exportObjectReference

public static String exportObjectReference(Object obj,
                                           ORB orb)

importObjectReference

public static Object importObjectReference(ORB orb,
                                           String url)

importObjectReferenceFromFile

public static Object importObjectReferenceFromFile(ORB orb,
                                                   String url)

getXmlSchemaType

public static org.apache.ws.commons.schema.XmlSchemaType getXmlSchemaType(ServiceInfo serviceInfo,
                                                                          QName name)

isElementFormQualified

public static boolean isElementFormQualified(ServiceInfo serviceInfo,
                                             String uri)

isAttributeFormQualified

public static boolean isAttributeFormQualified(ServiceInfo serviceInfo,
                                               String uri)

processQName

public static QName processQName(QName qname,
                                 ServiceInfo serviceInfo)

nvListFromStreamables

public static NVList nvListFromStreamables(ORB orb,
                                           CorbaStreamable[] streamables)


Apache CXF