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

import com.adobe.document.xmlform.NameValueListHelper;
import com.adobe.document.xmlform.NameValuePair;
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 NameValueListHolder
implements Streamable {
    public NameValuePair[] value;

    public NameValueListHolder() {
    }

    public NameValueListHolder(NameValuePair[] initial) {
        this.value = initial;
    }

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

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

    public void _write(OutputStream out) {
        NameValueListHelper.write(out, this.value);
    }
}