org.apache.beehive.netui.pageflow.util
Class UrlTemplateDescriptor

Object
  extended by UrlTemplateDescriptor

public class UrlTemplateDescriptor
extends Object

Maintains optional deployment information.


Field Summary
static String ACTION_TEMPLATE
           
static String DEFAULT_TEMPLATE
           
static String RENDER_TEMPLATE
           
static String RESOURCE_TEMPLATE
           
static String SECURE_ACTION_TEMPLATE
           
static String SECURE_DEFAULT_TEMPLATE
           
static String SECURE_RENDER_TEMPLATE
           
static String SECURE_RESOURCE_TEMPLATE
           
 
Constructor Summary
protected UrlTemplateDescriptor()
          Constructs an instance.
 
Method Summary
static UrlTemplateDescriptor getInstance()
          Returns an instance of UrlTemplateDescriptor.
 String getJPFUrlTemplateRef(String type)
          Returns URL template name of the given type.
 URLTemplate getUrlTemplate(String name)
          Returns URL template given the name of the template.
 void load(ServletContext servletContext)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_TEMPLATE

public static final String DEFAULT_TEMPLATE
See Also:
Constant Field Values

SECURE_DEFAULT_TEMPLATE

public static final String SECURE_DEFAULT_TEMPLATE
See Also:
Constant Field Values

RENDER_TEMPLATE

public static final String RENDER_TEMPLATE
See Also:
Constant Field Values

SECURE_RENDER_TEMPLATE

public static final String SECURE_RENDER_TEMPLATE
See Also:
Constant Field Values

ACTION_TEMPLATE

public static final String ACTION_TEMPLATE
See Also:
Constant Field Values

SECURE_ACTION_TEMPLATE

public static final String SECURE_ACTION_TEMPLATE
See Also:
Constant Field Values

RESOURCE_TEMPLATE

public static final String RESOURCE_TEMPLATE
See Also:
Constant Field Values

SECURE_RESOURCE_TEMPLATE

public static final String SECURE_RESOURCE_TEMPLATE
See Also:
Constant Field Values
Constructor Detail

UrlTemplateDescriptor

protected UrlTemplateDescriptor()

Constructs an instance.

Method Detail

getUrlTemplate

public URLTemplate getUrlTemplate(String name)

Returns URL template given the name of the template.

Parameters:
name - name of the template
Returns:
template

getJPFUrlTemplateRef

public String getJPFUrlTemplateRef(String type)

Returns URL template name of the given type.

Parameters:
type - type of the template type
Returns:
template name

getInstance

public static UrlTemplateDescriptor getInstance()

Returns an instance of UrlTemplateDescriptor.

Returns:
portal app descriptor

load

public void load(ServletContext servletContext)