Class ScriptFactory

java.lang.Object
overit.geocall.ecs.ScriptFactory

public class ScriptFactory extends Object
This class implements the object used to create a script instances starting from a resource; the resource is passed as parameter to the make methods in the form of a string defining a path. The methods will use the localization mechanism to retrieve the correct source.
  • Constructor Details

    • ScriptFactory

      public ScriptFactory()
  • Method Details

    • make

      public static org.apache.ecs.html.Script make(String resource, Object caller)
      Creates and returns the text that corresponds to the resource passed as parameter
      Parameters:
      resource - The resource used to make the text
      caller - The caller object
      Returns:
      The text that corresponds to the resource