FormHolder.java 764 Bytes
/*
 * Decompiled with CFR 0_118.
 */
package com.adobe.document.xmlform;

import com.adobe.document.xmlform.Form;
import com.adobe.document.xmlform.FormHelper;
import org.omg.CORBA.TypeCode;
import org.omg.CORBA.portable.InputStream;
import org.omg.CORBA.portable.OutputStream;
import org.omg.CORBA.portable.Streamable;

public final class FormHolder
implements Streamable {
    public Form value;

    public FormHolder() {
    }

    public FormHolder(Form initial) {
        this.value = initial;
    }

    public TypeCode _type() {
        return FormHelper.type();
    }

    public void _read(InputStream in) {
        this.value = FormHelper.read(in);
    }

    public void _write(OutputStream _out) {
        FormHelper.write(_out, this.value);
    }
}