XFAConfig$class.java 8.67 KB
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  com.adobe.forms.model.XFAConfig$$anonfun
 *  com.adobe.forms.model.XFAConfig$$anonfun$source
 *  scala.Function0
 *  scala.Option
 *  scala.Predef
 *  scala.Predef$
 *  scala.collection.Seq
 *  scala.collection.mutable.WrappedArray
 *  scala.runtime.AbstractFunction0
 *  scala.xml.Comment
 *  scala.xml.Elem
 *  scala.xml.MetaData
 *  scala.xml.NamespaceBinding
 *  scala.xml.Node
 *  scala.xml.NodeBuffer
 *  scala.xml.Null
 *  scala.xml.Null$
 *  scala.xml.Text
 *  scala.xml.TopScope
 *  scala.xml.TopScope$
 *  scala.xml.UnprefixedAttribute
 */
package com.adobe.forms.model;

import com.adobe.forms.model.FormContext;
import com.adobe.forms.model.XFAConfig;
import com.adobe.forms.model.XFAConfig$;
import scala.Function0;
import scala.Option;
import scala.Predef;
import scala.collection.Seq;
import scala.collection.mutable.WrappedArray;
import scala.runtime.AbstractFunction0;
import scala.xml.Comment;
import scala.xml.Elem;
import scala.xml.MetaData;
import scala.xml.NamespaceBinding;
import scala.xml.Node;
import scala.xml.NodeBuffer;
import scala.xml.Null;
import scala.xml.Text;
import scala.xml.TopScope;
import scala.xml.UnprefixedAttribute;

public abstract class XFAConfig$class {
    public static byte[] source(XFAConfig $this) {
        TopScope. $tmpscope = Predef..MODULE$.$scope();
        TopScope. $scope = $tmpscope = new NamespaceBinding("xdp", "http://ns.adobe.com/xdp/", (NamespaceBinding)$tmpscope);
        NodeBuffer $buf = new NodeBuffer();
        $buf.$amp$plus((Object)new Text("\n      "));
        TopScope. $tmpscope2 = $scope;
        $tmpscope2 = new NamespaceBinding("xfa", "http://www.xfa.org/schema/xci/1.0/", (NamespaceBinding)$tmpscope2);
        TopScope. $scope2 = $tmpscope2 = new NamespaceBinding(null, "http://www.xfa.org/schema/xci/1.0/", (NamespaceBinding)$tmpscope2);
        NodeBuffer $buf2 = new NodeBuffer();
        $buf2.$amp$plus((Object)new Text("\n        "));
        NodeBuffer $buf3 = new NodeBuffer();
        $buf3.$amp$plus((Object)new Text(" "));
        $buf3.$amp$plus((Object)new Comment("  [0..n]  "));
        $buf3.$amp$plus((Object)new Text("\n          "));
        $buf3.$amp$plus((Object)$this.destination());
        $buf3.$amp$plus((Object)new Text("\n          "));
        NodeBuffer $buf4 = new NodeBuffer();
        $buf4.$amp$plus((Object)new Text("\n            "));
        Null. $md = Null..MODULE$;
        $md = new UnprefixedAttribute("enable", (Seq)new Text("0"), (MetaData)$md);
        $buf4.$amp$plus((Object)new Elem(null, "renderCache", (MetaData)$md, (NamespaceBinding)$scope2, (Seq)Predef..MODULE$.wrapRefArray((Object[])new Node[0])));
        $buf4.$amp$plus((Object)new Text("\n          "));
        $buf3.$amp$plus((Object)new Elem(null, "cache", (MetaData)Null..MODULE$, (NamespaceBinding)$scope2, (Seq)$buf4));
        $buf3.$amp$plus((Object)new Text("\n          "));
        NodeBuffer $buf5 = new NodeBuffer();
        $buf5.$amp$plus($this.formContext().submitUrl().getOrElse((Function0)new scala.Serializable($this){
            public static final long serialVersionUID;

            public static {
                long l = XFAConfig$.anonfun.source.serialVersionUID = 0;
            }

            public final String apply() {
                return "";
            }
        }));
        $buf3.$amp$plus((Object)new Elem(null, "submitUrl", (MetaData)Null..MODULE$, (NamespaceBinding)$scope2, (Seq)$buf5));
        $buf3.$amp$plus((Object)new Text("\n          "));
        NodeBuffer $buf6 = new NodeBuffer();
        $buf6.$amp$plus((Object)new Text("\n            "));
        NodeBuffer $buf7 = new NodeBuffer();
        $buf7.$amp$plus((Object)new Text("\n              "));
        NodeBuffer $buf8 = new NodeBuffer();
        $buf8.$amp$plus((Object)new Text("1"));
        $buf7.$amp$plus((Object)new Elem(null, "adjustData", (MetaData)Null..MODULE$, (NamespaceBinding)$scope2, (Seq)$buf8));
        $buf7.$amp$plus((Object)new Text(" "));
        $buf7.$amp$plus((Object)new Comment(" 0|1 "));
        $buf7.$amp$plus((Object)new Text("\n              "));
        NodeBuffer $buf9 = new NodeBuffer();
        $buf9.$amp$plus((Object)new Text("preserve"));
        $buf7.$amp$plus((Object)new Elem(null, "attributes", (MetaData)Null..MODULE$, (NamespaceBinding)$scope2, (Seq)$buf9));
        $buf7.$amp$plus((Object)new Text(" "));
        $buf7.$amp$plus((Object)new Comment(" ignore|delegate|preserve "));
        $buf7.$amp$plus((Object)new Text("\n            "));
        $buf6.$amp$plus((Object)new Elem(null, "data", (MetaData)Null..MODULE$, (NamespaceBinding)$scope2, (Seq)$buf7));
        $buf6.$amp$plus((Object)new Text("\n            "));
        NodeBuffer $buf10 = new NodeBuffer();
        $buf10.$amp$plus((Object)new Text("\n                "));
        NodeBuffer $buf11 = new NodeBuffer();
        $buf11.$amp$plus($this.formContext().contentRoot().getOrElse((Function0)new scala.Serializable($this){
            public static final long serialVersionUID;

            public static {
                long l = XFAConfig$.anonfun.source.serialVersionUID = 0;
            }

            public final String apply() {
                return "";
            }
        }));
        $buf10.$amp$plus((Object)new Elem(null, "base", (MetaData)Null..MODULE$, (NamespaceBinding)$scope2, (Seq)$buf11));
        $buf10.$amp$plus((Object)new Text("\n            "));
        $buf6.$amp$plus((Object)new Elem(null, "template", (MetaData)Null..MODULE$, (NamespaceBinding)$scope2, (Seq)$buf10));
        $buf6.$amp$plus((Object)new Text("\n            "));
        $buf6.$amp$plus((Object)$this.locale());
        $buf6.$amp$plus((Object)new Text("\n          "));
        $buf3.$amp$plus((Object)new Elem(null, "common", (MetaData)Null..MODULE$, (NamespaceBinding)$scope2, (Seq)$buf6));
        $buf3.$amp$plus((Object)new Text("\n          "));
        NodeBuffer $buf12 = new NodeBuffer();
        $buf12.$amp$plus((Object)new Text(" "));
        $buf12.$amp$plus((Object)new Comment("  [0..n]  "));
        $buf12.$amp$plus((Object)new Text("\n            "));
        NodeBuffer $buf13 = new NodeBuffer();
        $buf13.$amp$plus((Object)new Text("\n              "));
        NodeBuffer $buf14 = new NodeBuffer();
        $buf14.$amp$plus((Object)new Text("0"));
        $buf13.$amp$plus((Object)new Elem(null, "embed", (MetaData)Null..MODULE$, (NamespaceBinding)$scope2, (Seq)$buf14));
        $buf13.$amp$plus((Object)new Text(" "));
        $buf13.$amp$plus((Object)new Comment(" 0|1 "));
        $buf13.$amp$plus((Object)new Text("\n              "));
        NodeBuffer $buf15 = new NodeBuffer();
        $buf15.$amp$plus((Object)new Text("\n                  "));
        $buf15.$amp$plus((Object)new Elem(null, "equate", (MetaData)Null..MODULE$, (NamespaceBinding)$scope2, (Seq)Predef..MODULE$.wrapRefArray((Object[])new Node[0])));
        $buf15.$amp$plus((Object)new Text(" "));
        $buf15.$amp$plus((Object)new Comment(" [0..n] Attributes: from='', to='' [0..n]  "));
        $buf15.$amp$plus((Object)new Text("\n              "));
        $buf13.$amp$plus((Object)new Elem(null, "map", (MetaData)Null..MODULE$, (NamespaceBinding)$scope2, (Seq)$buf15));
        $buf13.$amp$plus((Object)new Text("\n              "));
        NodeBuffer $buf16 = new NodeBuffer();
        $buf16.$amp$plus((Object)new Text("100"));
        $buf13.$amp$plus((Object)new Elem(null, "subsetBelow", (MetaData)Null..MODULE$, (NamespaceBinding)$scope2, (Seq)$buf16));
        $buf13.$amp$plus((Object)new Text("\n            "));
        $buf12.$amp$plus((Object)new Elem(null, "fontInfo", (MetaData)Null..MODULE$, (NamespaceBinding)$scope2, (Seq)$buf13));
        $buf12.$amp$plus((Object)new Text("\n          "));
        $buf3.$amp$plus((Object)new Elem(null, "webClient", (MetaData)Null..MODULE$, (NamespaceBinding)$scope2, (Seq)$buf12));
        $buf3.$amp$plus((Object)new Text("\n          "));
        $buf3.$amp$plus((Object)$this.xdp());
        $buf3.$amp$plus((Object)new Text("\n          "));
        $buf3.$amp$plus((Object)$this.output());
        $buf3.$amp$plus((Object)new Text("\n          "));
        $buf3.$amp$plus((Object)$this.script());
        $buf3.$amp$plus((Object)new Text("\n        "));
        $buf2.$amp$plus((Object)new Elem(null, "present", (MetaData)Null..MODULE$, (NamespaceBinding)$scope2, (Seq)$buf3));
        $buf2.$amp$plus((Object)new Text("\n      "));
        $buf.$amp$plus((Object)new Elem(null, "config", (MetaData)Null..MODULE$, (NamespaceBinding)$scope2, (Seq)$buf2));
        $buf.$amp$plus((Object)new Text("\n    "));
        return new Elem("xdp", "xdp", (MetaData)Null..MODULE$, (NamespaceBinding)$scope, (Seq)$buf).toString().getBytes("UTF8");
    }

    public static void $init$(XFAConfig $this) {
    }
}