/// <summary>Write the group definition object to the supplied stream. </summary> //UPGRADE_TODO: Class 'java.io.DataOutputStream' was converted to 'System.IO.BinaryWriter' which has a different behavior. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javaioDataOutputStream'" public virtual void writeExternal(System.IO.BinaryWriter dos) { ExtUtil.writeNumeric(dos, ID); ExtUtil.write(dos, new ExtWrapNullable(AppearanceAttr)); ExtUtil.write(dos, new ExtWrapTagged(Bind)); ExtUtil.write(dos, new ExtWrapNullable(TextID)); ExtUtil.write(dos, new ExtWrapNullable(LabelInnerText)); ExtUtil.writeBool(dos, Repeat); ExtUtil.write(dos, new ExtWrapListPoly(Children)); ExtUtil.writeBool(dos, noAddRemove); ExtUtil.write(dos, new ExtWrapNullable(count != null?new ExtWrapTagged(count):null)); ExtUtil.writeString(dos, ExtUtil.emptyIfNull(chooseCaption)); ExtUtil.writeString(dos, ExtUtil.emptyIfNull(addCaption)); ExtUtil.writeString(dos, ExtUtil.emptyIfNull(delCaption)); ExtUtil.writeString(dos, ExtUtil.emptyIfNull(doneCaption)); ExtUtil.writeString(dos, ExtUtil.emptyIfNull(addEmptyCaption)); ExtUtil.writeString(dos, ExtUtil.emptyIfNull(doneEmptyCaption)); ExtUtil.writeString(dos, ExtUtil.emptyIfNull(entryHeader)); ExtUtil.writeString(dos, ExtUtil.emptyIfNull(delHeader)); ExtUtil.writeString(dos, ExtUtil.emptyIfNull(mainHeader)); ExtUtil.writeAttributes(dos, additionalAttributes); }
/* (non-Javadoc) * @see org.javarosa.core.util.externalizable.Externalizable#writeExternal(java.io.DataOutputStream) */ //UPGRADE_TODO: Class 'java.io.DataOutputStream' was converted to 'System.IO.BinaryWriter' which has a different behavior. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javaioDataOutputStream'" public virtual void writeExternal(System.IO.BinaryWriter out_Renamed) { //UPGRADE_NOTE: ref keyword was added to struct-type parameters. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1303'" ExtUtil.writeDate(out_Renamed, ref time); ExtUtil.writeString(out_Renamed, ExtUtil.emptyIfNull(type)); ExtUtil.writeString(out_Renamed, ExtUtil.emptyIfNull(message)); }
//UPGRADE_TODO: Class 'java.io.DataOutputStream' was converted to 'System.IO.BinaryWriter' which has a different behavior. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javaioDataOutputStream'" public virtual void writeExternal(System.IO.BinaryWriter out_Renamed) { ExtUtil.writeBool(out_Renamed, isLocalizable_Renamed_Field); ExtUtil.writeString(out_Renamed, ExtUtil.emptyIfNull(labelInnerText)); ExtUtil.writeString(out_Renamed, ExtUtil.emptyIfNull(textID)); ExtUtil.writeString(out_Renamed, ExtUtil.emptyIfNull(value_Renamed)); //don't serialize index; it will be restored from questiondef }
/* (non-Javadoc) * @see org.javarosa.core.util.externalizable.Externalizable#writeExternal(java.io.DataOutputStream) */ //UPGRADE_TODO: Class 'java.io.DataOutputStream' was converted to 'System.IO.BinaryWriter' which has a different behavior. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javaioDataOutputStream'" public virtual void writeExternal(System.IO.BinaryWriter out_Renamed) { out_Renamed.Write(payload.Length); if (payload.Length > 0) { out_Renamed.Write(SupportClass.ToByteArray(payload)); } ExtUtil.writeString(out_Renamed, ExtUtil.emptyIfNull(id)); }
//UPGRADE_TODO: Class 'java.io.DataOutputStream' was converted to 'System.IO.BinaryWriter' which has a different behavior. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javaioDataOutputStream'" public override void writeExternal(System.IO.BinaryWriter out_Renamed) { ExtUtil.write(out_Renamed, target); ExtUtil.write(out_Renamed, ExtUtil.emptyIfNull(explicitValue)); if (explicitValue == null) { ExtUtil.write(out_Renamed, new ExtWrapTagged(value_Renamed)); } }
/* * (non-Javadoc) * @see org.javarosa.core.util.Externalizable#writeExternal(java.io.DataOutputStream) */ //UPGRADE_TODO: Class 'java.io.DataOutputStream' was converted to 'System.IO.BinaryWriter' which has a different behavior. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javaioDataOutputStream'" public virtual void writeExternal(System.IO.BinaryWriter dos) { ExtUtil.writeNumeric(dos, ID); ExtUtil.write(dos, new ExtWrapNullable(binding == null?null:new ExtWrapTagged(binding))); ExtUtil.write(dos, new ExtWrapNullable(AppearanceAttr)); ExtUtil.write(dos, new ExtWrapNullable(TextID)); ExtUtil.write(dos, new ExtWrapNullable(LabelInnerText)); ExtUtil.write(dos, new ExtWrapNullable(HelpText)); ExtUtil.write(dos, new ExtWrapNullable(HelpTextID)); ExtUtil.write(dos, new ExtWrapNullable(HelpInnerText)); ExtUtil.writeNumeric(dos, ControlType); ExtUtil.writeAttributes(dos, additionalAttributes); ExtUtil.write(dos, new ExtWrapList(ExtUtil.emptyIfNull(choices))); ExtUtil.write(dos, new ExtWrapNullable(dynamicChoices)); }
//UPGRADE_TODO: Class 'java.io.DataOutputStream' was converted to 'System.IO.BinaryWriter' which has a different behavior. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javaioDataOutputStream'" public virtual void writeExternal(System.IO.BinaryWriter out_Renamed) { ExtUtil.write(out_Renamed, new ExtWrapTagged(constraint)); ExtUtil.writeString(out_Renamed, ExtUtil.emptyIfNull(constraintMsg)); }
/* (non-Javadoc) * @see org.javarosa.core.services.storage.utilities.Externalizable#writeExternal(java.io.DataOutputStream) */ //UPGRADE_TODO: Class 'java.io.DataOutputStream' was converted to 'System.IO.BinaryWriter' which has a different behavior. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javaioDataOutputStream'" public virtual void writeExternal(System.IO.BinaryWriter out_Renamed) { ExtUtil.writeString(out_Renamed, ExtUtil.emptyIfNull(nodeset)); ExtUtil.write(out_Renamed, ref_Renamed); }