public class XProcScriptService extends Object implements ScriptService<XProcScript>
ScriptService
based on an XProc step with some extra information such
as port and option metadata.Modifier and Type | Field and Description |
---|---|
static String |
SCRIPT_ID
The Constant SCRIPT_ID.
|
static String |
SCRIPT_URL
The Constant SCRIPT_URL.
|
static String |
SCRIPT_VERSION
The Constant SCRIPT_ID.
|
Constructor and Description |
---|
XProcScriptService()
Instantiates a new
XProcScriptService
|
Modifier and Type | Method and Description |
---|---|
void |
activate(Map<?,?> properties,
Class<?> context)
Activate method called by ds.
|
String |
getId()
Get the script ID.
|
URL |
getURL()
Get the script URL.
|
String |
getVersion()
Get the script version.
|
XProcScript |
load()
Get the
Script object. |
String |
toString() |
public static final String SCRIPT_URL
public static final String SCRIPT_ID
public static final String SCRIPT_VERSION
public XProcScriptService()
XProcScriptService
public void activate(Map<?,?> properties, Class<?> context)
properties
- the propertiespublic URL getURL()
public String getId()
ScriptService
getId
in interface ScriptService<XProcScript>
public String getVersion()
ScriptService
getVersion
in interface ScriptService<XProcScript>
public XProcScript load()
ScriptService
Script
object.load
in interface ScriptService<XProcScript>
Copyright © 2010–2024 The DAISY Consortium. All rights reserved.