本文整理了Java中org.omg.CORBA.portable.OutputStream.write_wchar()
方法的一些代码示例,展示了OutputStream.write_wchar()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。OutputStream.write_wchar()
方法的具体详情如下:
包路径:org.omg.CORBA.portable.OutputStream
类名称:OutputStream
方法名:write_wchar
暂无
代码示例来源:origin: org.mobicents.resources/parlay-provider-api
public static void write (final org.omg.CORBA.portable.OutputStream _out, char _s)
{
_out.write_wchar(_s);
}
}
代码示例来源:origin: org.jacorb/jacorb
/**
* Operation write_wchar
*/
public void write_wchar( char value )
{
delegate.write_wchar( value );
}
代码示例来源:origin: apache/cxf
public void writeWChar(Character c) throws CorbaBindingException {
if (c == null) {
stream.write_wchar((char)0);
} else {
stream.write_wchar(c.charValue());
}
}
代码示例来源:origin: org.apache.yoko/yoko-rmi-impl
public void write(org.omg.CORBA.portable.OutputStream out, Object val) {
out.write_wchar(((Character) val).charValue());
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
/**
* Inserts a char value into the DynAny. The IDL wchar data type is mapped to the Java char data type.
*
* @exception InvalidValue if this DynAny has components but has a current position of -1
* @exception TypeMismatch if called on a DynAny whose current component itself has components
*/
public void insert_wchar (char value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch, org.omg.DynamicAny.DynAnyPackage.InvalidValue
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("insert_wchar", true);
$out.write_wchar (value);
$in = _invoke ($out);
return;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
if (_id.equals ("IDL:omg.org/DynamicAny/DynAny/TypeMismatch:1.0"))
throw org.omg.DynamicAny.DynAnyPackage.TypeMismatchHelper.read ($in);
else if (_id.equals ("IDL:omg.org/DynamicAny/DynAny/InvalidValue:1.0"))
throw org.omg.DynamicAny.DynAnyPackage.InvalidValueHelper.read ($in);
else
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
insert_wchar (value );
} finally {
_releaseReply ($in);
}
} // insert_wchar
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
/**
* Inserts a char value into the DynAny. The IDL wchar data type is mapped to the Java char data type.
*
* @exception InvalidValue if this DynAny has components but has a current position of -1
* @exception TypeMismatch if called on a DynAny whose current component itself has components
*/
public void insert_wchar (char value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch, org.omg.DynamicAny.DynAnyPackage.InvalidValue
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("insert_wchar", true);
$out.write_wchar (value);
$in = _invoke ($out);
return;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
if (_id.equals ("IDL:omg.org/DynamicAny/DynAny/TypeMismatch:1.0"))
throw org.omg.DynamicAny.DynAnyPackage.TypeMismatchHelper.read ($in);
else if (_id.equals ("IDL:omg.org/DynamicAny/DynAny/InvalidValue:1.0"))
throw org.omg.DynamicAny.DynAnyPackage.InvalidValueHelper.read ($in);
else
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
insert_wchar (value );
} finally {
_releaseReply ($in);
}
} // insert_wchar
代码示例来源:origin: org.apache.yoko/yoko-core
out.write_wchar(((Character) value_).charValue());
break;
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
s.write_wchar((char) (l & 0xFFFFL));
break;
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
s.write_wchar((char)(l & 0xFFFFL));
break;
代码示例来源:origin: jboss/jboss-javaee-specs
s.write_wchar((char) (l & 0xFFFFL));
break;
代码示例来源:origin: jboss/jboss-javaee-specs
dst.write_wchar(src.read_wchar());
break;
char value = src.read_wchar();
tagValue.insert_wchar(value);
dst.write_wchar(value);
break;
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
dst.write_wchar(src.read_wchar());
break;
char value = src.read_wchar();
tagValue.insert_wchar(value);
dst.write_wchar(value);
break;
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
dst.write_wchar(src.read_wchar());
break;
dst.write_wchar(value);
break;
代码示例来源:origin: org.mobicents.resources/parlay-provider-api
out.write_wchar(s.WCharValue ());
break;
代码示例来源:origin: org.jacorb/jacorb
output.write_wchar(extract_wchar());
break;
代码示例来源:origin: org.jacorb/jacorb
out.write_wchar( read_wchar());
break;
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
$result = this.get_wchar ();
out = $rh.createReply();
out.write_wchar ($result);
} catch (org.omg.DynamicAny.DynAnyPackage.TypeMismatch $ex) {
out = $rh.createExceptionReply ();
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
$result = this.get_wchar ();
out = $rh.createReply();
out.write_wchar ($result);
} catch (org.omg.DynamicAny.DynAnyPackage.TypeMismatch $ex) {
out = $rh.createExceptionReply ();
内容来源于网络,如有侵权,请联系作者删除!