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;
}
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;
}
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;
}
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;
}
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;
}
Aggregations