public class ScriptPathUtil extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ScriptPathUtil.ProcessEntry
Represents an entry in the xpath of a node provided to have its corresponding classPath attribute or node configured with
the value of it's corresponding scriptPath attribute or node resolved, if it exists, indicating if such
replacement must be made from the attribute or node.
|
static class |
ScriptPathUtil.ProcessType
Constants used to indicate whether the configuration of classPath from scriptPath should be made using the
corresponding attributes or corresponding nodes.
|
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_CLASS_NAME_ATTRIBUTE_OR_NODE_NAME |
static String |
DEFAULT_SCRIPT_PATH_ATTRIBUTE_OR_NODE_NAME |
Constructor and Description |
---|
ScriptPathUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
processNodes(String basePath,
Node parentNode,
ScriptPathUtil.ProcessEntry... entries)
Process the given
entries using the given node as the base node and the base path for relativizing script paths. |
public static final String DEFAULT_CLASS_NAME_ATTRIBUTE_OR_NODE_NAME
public static final String DEFAULT_SCRIPT_PATH_ATTRIBUTE_OR_NODE_NAME
public static void processNodes(String basePath, Node parentNode, ScriptPathUtil.ProcessEntry... entries) throws PortalException
entries
using the given node as the base node and the base path for relativizing script paths.basePath
- the base path.parentNode
- the base parent node.entries
- the entries to be processed.PortalException
LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.