atg.droplet
Class DropletImports

java.lang.Object
  extended by atg.droplet.DropletImports
All Implemented Interfaces:
DropletConstants, java.io.Serializable

public class DropletImports
extends java.lang.Object
implements DropletConstants, java.io.Serializable

See Also:
Serialized Form

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
 
Constructor Summary
DropletImports()
           
 
Method Summary
 boolean addImport(java.lang.String pComponentPath)
           
 java.lang.String getAbsolutePath(DynamoHttpServletRequest pRequest, java.lang.String pPropertyPath)
          First takes the path name and maps it against any imports that are in effect.
 java.lang.String getCompletePath(java.lang.String pPropertyPath)
          Takes a partially specified property path and completes it to a normalized form for this component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

DropletImports

public DropletImports()
Method Detail

addImport

public boolean addImport(java.lang.String pComponentPath)

getCompletePath

public java.lang.String getCompletePath(java.lang.String pPropertyPath)
Takes a partially specified property path and completes it to a normalized form for this component. This will prepend the prefix of any matching component.

Returns:
the path name we use for this property including the complete component name.

getAbsolutePath

public java.lang.String getAbsolutePath(DynamoHttpServletRequest pRequest,
                                        java.lang.String pPropertyPath)
First takes the path name and maps it against any imports that are in effect. If the path is still relative, we then have to make the path be absolute relative to the current request