/// <summary>Reads a group definition object from the supplied stream. </summary> //UPGRADE_TODO: Class 'java.io.DataInputStream' was converted to 'System.IO.BinaryReader' which has a different behavior. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javaioDataInputStream'" public virtual void readExternal(System.IO.BinaryReader dis, PrototypeFactory pf) { ID = ExtUtil.readInt(dis); AppearanceAttr = ((System.String)ExtUtil.read(dis, new ExtWrapNullable(typeof(System.String)), pf)); Bind = (IDataReference)ExtUtil.read(dis, new ExtWrapTagged(), pf); TextID = ((System.String)ExtUtil.read(dis, new ExtWrapNullable(typeof(System.String)), pf)); LabelInnerText = ((System.String)ExtUtil.read(dis, new ExtWrapNullable(typeof(System.String)), pf)); Repeat = ExtUtil.readBool(dis); Children = (System.Collections.ArrayList)ExtUtil.read(dis, new ExtWrapListPoly(), pf); noAddRemove = ExtUtil.readBool(dis); count = (IDataReference)ExtUtil.read(dis, new ExtWrapNullable(new ExtWrapTagged()), pf); chooseCaption = ExtUtil.nullIfEmpty(ExtUtil.readString(dis)); addCaption = ExtUtil.nullIfEmpty(ExtUtil.readString(dis)); delCaption = ExtUtil.nullIfEmpty(ExtUtil.readString(dis)); doneCaption = ExtUtil.nullIfEmpty(ExtUtil.readString(dis)); addEmptyCaption = ExtUtil.nullIfEmpty(ExtUtil.readString(dis)); doneEmptyCaption = ExtUtil.nullIfEmpty(ExtUtil.readString(dis)); entryHeader = ExtUtil.nullIfEmpty(ExtUtil.readString(dis)); delHeader = ExtUtil.nullIfEmpty(ExtUtil.readString(dis)); mainHeader = ExtUtil.nullIfEmpty(ExtUtil.readString(dis)); additionalAttributes = ExtUtil.readAttributes(dis, null); }
/* * (non-Javadoc) * @see org.javarosa.core.util.Externalizable#readExternal(java.io.DataInputStream) */ //UPGRADE_TODO: Class 'java.io.DataInputStream' was converted to 'System.IO.BinaryReader' which has a different behavior. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javaioDataInputStream'" public virtual void readExternal(System.IO.BinaryReader dis, PrototypeFactory pf) { ID = ExtUtil.readInt(dis); binding = (IDataReference)ExtUtil.read(dis, new ExtWrapNullable(new ExtWrapTagged()), pf); AppearanceAttr = ((System.String)ExtUtil.read(dis, new ExtWrapNullable(typeof(System.String)), pf)); TextID = ((System.String)ExtUtil.read(dis, new ExtWrapNullable(typeof(System.String)), pf)); LabelInnerText = ((System.String)ExtUtil.read(dis, new ExtWrapNullable(typeof(System.String)), pf)); HelpText = ((System.String)ExtUtil.read(dis, new ExtWrapNullable(typeof(System.String)), pf)); HelpTextID = ((System.String)ExtUtil.read(dis, new ExtWrapNullable(typeof(System.String)), pf)); HelpInnerText = ((System.String)ExtUtil.read(dis, new ExtWrapNullable(typeof(System.String)), pf)); ControlType = ExtUtil.readInt(dis); additionalAttributes = ExtUtil.readAttributes(dis, null); choices = ExtUtil.nullIfEmpty((System.Collections.ArrayList)ExtUtil.read(dis, new ExtWrapList(typeof(SelectChoice)), pf)); for (int i = 0; i < NumChoices; i++) { choices.elementAt(i).setIndex(i); } DynamicChoices = (ItemsetBinding)ExtUtil.read(dis, new ExtWrapNullable(typeof(ItemsetBinding))); }