Code example for ResourceScriptSource

0
 
	/** 
	 * @param scriptLocation The location of the script 
	 */ 
	public void setLocation(Resource scriptLocation) {
		this.scriptSource = new ResourceScriptSource(scriptLocation);
	} 
 
	/** 
	 * @param scriptSource A @{link {@link ScriptSource} pointing to the script 
	 */ 
	public void setScriptSource(ScriptSource scriptSource) {
		this.scriptSource = scriptSource;
	} 
}