atg.droplet
Class DropletNames
java.lang.Object
atg.droplet.DropletNames
- All Implemented Interfaces:
- DropletConstants
public class DropletNames
- extends java.lang.Object
- implements DropletConstants
Field Summary |
static java.lang.String |
CLASS_VERSION
Class version string |
Fields inherited from interface atg.droplet.DropletConstants |
DROPLET_ANCHOR_QUALIFIER, DROPLET_ANCHOR_VALUE, DROPLET_ARGUMENTS, DROPLET_BEAN_PREFIX, DROPLET_BEFORE_GET_ATTRIBUTE, DROPLET_EVENT_ATTRIBUTE, DROPLET_EVENT_PREFIX, DROPLET_EXCEPTIONS_ATTRIBUTE, DROPLET_PARAM_PREFIX, DROPLET_PROPERTY_PREFIX, DROPLET_SESSION_CONF, DROPLET_SUBMIT_VALUE_PREFIX, OBJECT_BEFORE_GET_ATTRIBUTE, PRIORITY_DEFAULT, SUBMIT_PRIORITY_DEFAULT, UNCHECKED_DROPLET_EXCEPTIONS_ATTRIBUTE |
Method Summary |
static java.lang.String |
getComponentName(java.lang.String pComponentPath)
|
static java.lang.String |
getComponentPath(java.lang.String pPropertyPath)
|
static java.lang.String[] |
getPathNames(java.lang.String pPath)
|
static java.lang.String |
getPropertyName(java.lang.String pPropertyPath)
|
static void |
initPathNames(EventReceiver pER)
This is a utility method used by the EventReceiver classes to compute
the list of path names and list of dimensions for their current
PropertyPath. |
static boolean |
isAbsolutePath(java.lang.String pPropertyPath)
Returns true if the path name is an absolute path (i.e. |
static boolean |
isExplicitPath(java.lang.String pPropertyPath)
Returns true if the path name is explicitly defined (i.e. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLASS_VERSION
public static java.lang.String CLASS_VERSION
- Class version string
DropletNames
public DropletNames()
getComponentPath
public static java.lang.String getComponentPath(java.lang.String pPropertyPath)
getPropertyName
public static java.lang.String getPropertyName(java.lang.String pPropertyPath)
getComponentName
public static java.lang.String getComponentName(java.lang.String pComponentPath)
- Parameters:
pComponentPath
- a path name of the form: "/path/componentName"
- Returns:
- strips off the path and returns the name of the component
isExplicitPath
public static boolean isExplicitPath(java.lang.String pPropertyPath)
- Returns true if the path name is explicitly defined (i.e. we don't
check for imports)
isAbsolutePath
public static boolean isAbsolutePath(java.lang.String pPropertyPath)
- Returns true if the path name is an absolute path (i.e. /xxx/yyy)
initPathNames
public static void initPathNames(EventReceiver pER)
throws DropletException
- This is a utility method used by the EventReceiver classes to compute
the list of path names and list of dimensions for their current
PropertyPath. It theoretically should be a method in each EventReceiver
class, but since they don't share a common ancestor, it is here instead.
- Throws:
DropletException
getPathNames
public static java.lang.String[] getPathNames(java.lang.String pPath)