FormPOATie.java 4.41 KB
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  com.adobe.service.FileDataBuffer
 */
package com.adobe.document.xmlform;

import com.adobe.document.xmlform.Form;
import com.adobe.document.xmlform.FormHelper;
import com.adobe.document.xmlform.FormOperations;
import com.adobe.document.xmlform.FormPOA;
import com.adobe.document.xmlform.FormPackage.ExportException;
import com.adobe.document.xmlform.FormPackage.InvalidConfigurationException;
import com.adobe.document.xmlform.FormPackage.InvalidSOMExpressionException;
import com.adobe.document.xmlform.FormPackage.InvalidTemplateException;
import com.adobe.document.xmlform.FormPackage.InvalidXDCException;
import com.adobe.document.xmlform.FormPackage.NoTemplateException;
import com.adobe.document.xmlform.FormPackage.PacketNotFoundException;
import com.adobe.document.xmlform.FormPackage.RenderException;
import com.adobe.document.xmlform.InvalidPacketNameException;
import com.adobe.document.xmlform.InvalidXDPException;
import com.adobe.document.xmlform.NameValuePair;
import com.adobe.document.xmlform.ReturnStatusHolder;
import com.adobe.service.FileDataBuffer;
import org.omg.CORBA.ORB;
import org.omg.CORBA.Object;
import org.omg.CORBA.portable.Delegate;
import org.omg.CORBA.portable.ObjectImpl;
import org.omg.PortableServer.POA;

public class FormPOATie
extends FormPOA {
    private FormOperations _delegate;
    private POA _poa;

    public FormPOATie(FormOperations delegate) {
        this._delegate = delegate;
    }

    public FormPOATie(FormOperations delegate, POA poa) {
        this._delegate = delegate;
        this._poa = poa;
    }

    public Form _this() {
        Object __o = this._this_object();
        Form __r = FormHelper.narrow(__o);
        if (__o != null && __o != __r) {
            ((ObjectImpl)__o)._set_delegate(null);
        }
        return __r;
    }

    public Form _this(ORB orb) {
        Object __o = this._this_object(orb);
        Form __r = FormHelper.narrow(__o);
        if (__o != null && __o != __r) {
            ((ObjectImpl)__o)._set_delegate(null);
        }
        return __r;
    }

    public FormOperations _delegate() {
        return this._delegate;
    }

    public void _delegate(FormOperations delegate) {
        this._delegate = delegate;
    }

    public POA _default_POA() {
        if (this._poa != null) {
            return this._poa;
        }
        return super._default_POA();
    }

    public FileDataBuffer render(ReturnStatusHolder renderStatus) throws NoTemplateException, InvalidXDCException, RenderException, InvalidTemplateException {
        return this._delegate.render(renderStatus);
    }

    public int getPageCount() {
        return this._delegate.getPageCount();
    }

    public String getConfigValue(String path) throws InvalidSOMExpressionException {
        return this._delegate.getConfigValue(path);
    }

    public void importPackets(FileDataBuffer inputData, String[] packetNames) throws InvalidXDPException, InvalidPacketNameException {
        this._delegate.importPackets(inputData, packetNames);
    }

    public FileDataBuffer getMessages() {
        return this._delegate.getMessages();
    }

    public FileDataBuffer exportXML(String packetName) throws ExportException, PacketNotFoundException, InvalidPacketNameException {
        return this._delegate.exportXML(packetName);
    }

    public void clearMessages() {
        this._delegate.clearMessages();
    }

    public void setConfigValue(String path, String value) throws InvalidConfigurationException, InvalidSOMExpressionException {
        this._delegate.setConfigValue(path, value);
    }

    public boolean isPacketPresent(String packetName) {
        return this._delegate.isPacketPresent(packetName);
    }

    public FileDataBuffer renderAs(String format, ReturnStatusHolder renderStatus) throws NoTemplateException, InvalidXDCException, RenderException, InvalidTemplateException {
        return this._delegate.renderAs(format, renderStatus);
    }

    public String[] getPacketList() {
        return this._delegate.getPacketList();
    }

    public void setConfigValues(NameValuePair[] nameValuePairs) throws InvalidConfigurationException, InvalidSOMExpressionException {
        this._delegate.setConfigValues(nameValuePairs);
    }

    public FileDataBuffer exportXDP(String[] packetNames) throws ExportException, PacketNotFoundException, InvalidPacketNameException {
        return this._delegate.exportXDP(packetNames);
    }
}