Examples of IdlDefn


Examples of org.apache.cxf.tools.corba.common.idltypes.IdlDefn

    public void createIdlAttribute(org.apache.cxf.binding.corba.wsdl.OperationType
                                   opType, String name) throws Exception {         
        String attrNm = name.substring(5, name.length());
        IdlAttribute attr;
        IdlDefn idlDef = intf.lookup(attrNm);

        if (idlDef == null) {
            if (name.startsWith("_get_")) {
                ArgType t = opType.getReturn();
                attr = IdlAttribute.create(intf, attrNm,
View Full Code Here

Examples of org.apache.cxf.tools.corba.common.idltypes.IdlDefn

            if (CorbaUtils.isTimeBaseDef(local)) {
                root.addInclude("<omg/TimeBase.idl>");
            }

            String name[] = unscopeName(local);
            IdlDefn defn = root.lookup(name);           
           
            if (defn != null) {
                if (defn instanceof IdlType) {
                    return (IdlType)defn;
                } else {
View Full Code Here

Examples of org.apache.cxf.tools.corba.common.idltypes.IdlDefn

        }
        return idlType;
    }
   
    protected IdlType createPrimitiveType(QName idlType, String name) throws Exception {
        IdlDefn result = root.lookup(name);

        if (result != null         
            &&  (!(result instanceof IdlType))) {
            String msgStr = idlType.getLocalPart() + " is an incorrect idltype.";
            org.apache.cxf.common.i18n.Message msg =
View Full Code Here

Examples of org.apache.cxf.tools.corba.common.idltypes.IdlDefn

                && name.length == 2 && i == 0
                && name[1].equals("Object")) {
                break;
            }
           
            IdlDefn idlDef = scope.lookup(name[i]);

            if (idlDef == null) {
                // Before creating module, check to see if a Corba type
                // represent this name aleady exists.
                // For example if type is a.b.c and we are about to create
View Full Code Here

Examples of org.apache.cxf.tools.corba.common.idltypes.IdlDefn

            (org.apache.cxf.binding.corba.wsdl.Object)ctype;
        QName bqname = obj.getBinding();       

        Binding binding = def.getBinding(bqname);
        if (binding != null) {
            IdlDefn defn = scope.lookup(local);

            if (defn instanceof IdlInterface) {
                return (IdlInterface)defn;
            } else if (defn == null) {
                try {
View Full Code Here

Examples of org.apache.cxf.tools.corba.common.idltypes.IdlDefn

    public void createIdlAttribute(org.apache.cxf.binding.corba.wsdl.OperationType
                                   opType, String name) throws Exception {         
        String attrNm = name.substring(5, name.length());
        IdlAttribute attr;
        IdlDefn idlDef = intf.lookup(attrNm);

        if (idlDef == null) {
            if (name.startsWith("_get_")) {
                ArgType t = opType.getReturn();
                attr = IdlAttribute.create(intf, attrNm,
View Full Code Here

Examples of org.apache.cxf.tools.corba.common.idltypes.IdlDefn

            if (CorbaUtils.isTimeBaseDef(local)) {
                root.addInclude("<omg/TimeBase.idl>");
            }

            String name[] = unscopeName(local);
            IdlDefn defn = root.lookup(name);           
           
            if (defn != null) {
                if (defn instanceof IdlType) {
                    return (IdlType)defn;
                } else {
View Full Code Here

Examples of org.apache.cxf.tools.corba.common.idltypes.IdlDefn

        }
        return idlType;
    }
   
    protected IdlType createPrimitiveType(QName idlType, String name) throws Exception {
        IdlDefn result = root.lookup(name);

        if (result != null         
            &&  (!(result instanceof IdlType))) {
            String msgStr = idlType.getLocalPart() + " is an incorrect idltype.";
            org.apache.cxf.common.i18n.Message msg =
View Full Code Here

Examples of org.apache.cxf.tools.corba.common.idltypes.IdlDefn

                && name.length == 2 && i == 0
                && name[1].equals("Object")) {
                break;
            }
           
            IdlDefn idlDef = scope.lookup(name[i]);

            if (idlDef == null) {
                // Before creating module, check to see if a Corba type
                // represent this name aleady exists.
                // For example if type is a.b.c and we are about to create
View Full Code Here

Examples of org.apache.cxf.tools.corba.common.idltypes.IdlDefn

       
        QName bqname = obj.getBinding();       

        Binding binding = def.getBinding(bqname);
        if (binding != null) {
            IdlDefn defn = scope.lookup(local);

            if (defn instanceof IdlInterface) {
                return (IdlInterface)defn;
            } else if (defn == null) {
                try {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.