All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.adobe.xfa.template.InstanceManager Maven / Gradle / Ivy

There is a newer version: 2024.11.18751.20241128T090041Z-241100
Show newest version
package com.adobe.xfa.template;

import com.adobe.xfa.Element;
import com.adobe.xfa.Obj;
import com.adobe.xfa.ScriptTable;
import com.adobe.xfa.XFA;

/**
 * DUMMY class so that instance managers show up in the scripting API in designer.
 * 
 * @exclude from published api
 */

public class InstanceManager extends Obj {

	private final Element moParent;

	public InstanceManager(Element parent) {
		moParent = parent;
	}
	
	// XFA SCRIPT SUPPORT
	public ScriptTable getScriptTable() {
		return InstanceManagerScript.getScriptTable();
	}

	public Element getOccur() {
		if (moParent != null)
			return moParent.getElement(XFA.OCCURTAG, 0);
		return null;
	}


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy