Search in sources :

Example 6 with IdlType

use of org.apache.cxf.tools.corba.common.idltypes.IdlType in project cxf by apache.

the class WSDLToIDLAction method createConst.

private IdlType createConst(Const c, IdlScopeBase scope, String local) throws Exception {
    IdlType idlType = null;
    IdlType base = findType(c.getIdltype());
    String value = c.getValue();
    idlType = IdlConst.create(scope, local, base, value);
    scope.addToScope(idlType);
    return idlType;
}
Also used : IdlString(org.apache.cxf.tools.corba.common.idltypes.IdlString) IdlType(org.apache.cxf.tools.corba.common.idltypes.IdlType)

Example 7 with IdlType

use of org.apache.cxf.tools.corba.common.idltypes.IdlType in project cxf by apache.

the class WSDLToIDLAction method createAnonFixed.

private IdlType createAnonFixed(Anonfixed f, IdlScopeBase scope, String local) {
    IdlType idlType = null;
    Long digits = f.getDigits();
    Long scale = f.getScale();
    idlType = IdlAnonFixed.create(scope, digits.intValue(), scale.intValue());
    scope.addToScope(idlType);
    return idlType;
}
Also used : IdlType(org.apache.cxf.tools.corba.common.idltypes.IdlType)

Example 8 with IdlType

use of org.apache.cxf.tools.corba.common.idltypes.IdlType in project cxf by apache.

the class WSDLToIDLAction method createAnonArray.

private IdlType createAnonArray(Anonarray s, IdlScopeBase scope, String local) throws Exception {
    IdlType idlType = null;
    IdlType base = findType(s.getElemtype());
    int bound = (int) s.getBound();
    idlType = IdlAnonArray.create(scope, base, bound);
    scope.addToScope(idlType);
    return idlType;
}
Also used : IdlType(org.apache.cxf.tools.corba.common.idltypes.IdlType)

Example 9 with IdlType

use of org.apache.cxf.tools.corba.common.idltypes.IdlType in project cxf by apache.

the class WSDLToIDLAction method createFixed.

private IdlType createFixed(Fixed f, IdlScopeBase scope, String local) {
    IdlType idlType = null;
    Long digits = f.getDigits();
    Long scale = f.getScale();
    idlType = IdlFixed.create(scope, local, digits.intValue(), scale.intValue());
    scope.addToScope(idlType);
    return idlType;
}
Also used : IdlType(org.apache.cxf.tools.corba.common.idltypes.IdlType)

Example 10 with IdlType

use of org.apache.cxf.tools.corba.common.idltypes.IdlType in project cxf by apache.

the class WSDLToIDLAction method createSequence.

private IdlType createSequence(Sequence s, IdlScopeBase scope, String local) throws Exception {
    IdlType idlType = null;
    IdlType base = findType(s.getElemtype());
    int bound = (int) s.getBound();
    idlType = IdlSequence.create(scope, local, base, bound);
    scope.addToScope(idlType);
    return idlType;
}
Also used : IdlType(org.apache.cxf.tools.corba.common.idltypes.IdlType)

Aggregations

IdlType (org.apache.cxf.tools.corba.common.idltypes.IdlType)17 IdlString (org.apache.cxf.tools.corba.common.idltypes.IdlString)8 IdlException (org.apache.cxf.tools.corba.common.idltypes.IdlException)6 QName (javax.xml.namespace.QName)5 IdlDefn (org.apache.cxf.tools.corba.common.idltypes.IdlDefn)4 IdlSequence (org.apache.cxf.tools.corba.common.idltypes.IdlSequence)3 MemberType (org.apache.cxf.binding.corba.wsdl.MemberType)2 IdlStruct (org.apache.cxf.tools.corba.common.idltypes.IdlStruct)2 IdlUnion (org.apache.cxf.tools.corba.common.idltypes.IdlUnion)2 Binding (javax.wsdl.Binding)1 Alias (org.apache.cxf.binding.corba.wsdl.Alias)1 Anonarray (org.apache.cxf.binding.corba.wsdl.Anonarray)1 Anonfixed (org.apache.cxf.binding.corba.wsdl.Anonfixed)1 Anonsequence (org.apache.cxf.binding.corba.wsdl.Anonsequence)1 Anonstring (org.apache.cxf.binding.corba.wsdl.Anonstring)1 ArgType (org.apache.cxf.binding.corba.wsdl.ArgType)1 Array (org.apache.cxf.binding.corba.wsdl.Array)1 CaseType (org.apache.cxf.binding.corba.wsdl.CaseType)1 Const (org.apache.cxf.binding.corba.wsdl.Const)1 CorbaType (org.apache.cxf.binding.corba.wsdl.CorbaType)1