org.apache.beehive.netui.core.urltemplates
Class URLTemplateDescriptor

Object
  extended by URLTemplateDescriptor

Deprecated. As of v1m1. The preferred method is to use the URLTemplatesFactory directly. There should be an instance of a URLTemplatesFactory available as an attribute of the ServletContext.

public class URLTemplateDescriptor
extends Object

Maintains optional deployment information about templates and the URL template config file.

See Also:
URLTemplatesFactory

Field Summary
static String ACTION_TEMPLATE
          Deprecated.  
static String DEFAULT_TEMPLATE
          Deprecated.  
static String DOMAIN_TOKEN
          Deprecated.  
static String FRAGMENT_TOKEN
          Deprecated.  
static String PATH_TOKEN
          Deprecated.  
static String PORT_TOKEN
          Deprecated.  
static String QUERY_STRING_TOKEN
          Deprecated.  
static String RENDER_TEMPLATE
          Deprecated.  
static String RESOURCE_TEMPLATE
          Deprecated.  
static String SCHEME_TOKEN
          Deprecated.  
static String SECURE_ACTION_TEMPLATE
          Deprecated.  
static String SECURE_DEFAULT_TEMPLATE
          Deprecated.  
static String SECURE_RENDER_TEMPLATE
          Deprecated.  
static String SECURE_RESOURCE_TEMPLATE
          Deprecated.  
 
Constructor Summary
protected URLTemplateDescriptor()
          Deprecated. Constructs an instance.
 
Method Summary
static URLTemplateDescriptor getInstance()
          Deprecated. Returns an instance of URLTemplateDescriptor.
 URLTemplate getURLTemplate(String name)
          Deprecated. Returns URL template given the name of the template.
 String getURLTemplateRef(String refGroupName, String key)
          Deprecated. Returns URL template name of the given type (by key).
 void load(ServletContext servletContext)
          Deprecated.  
 
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
Deprecated. 
See Also:
Constant Field Values

SECURE_DEFAULT_TEMPLATE

public static final String SECURE_DEFAULT_TEMPLATE
Deprecated. 
See Also:
Constant Field Values

ACTION_TEMPLATE

public static final String ACTION_TEMPLATE
Deprecated. 
See Also:
Constant Field Values

SECURE_ACTION_TEMPLATE

public static final String SECURE_ACTION_TEMPLATE
Deprecated. 
See Also:
Constant Field Values

RESOURCE_TEMPLATE

public static final String RESOURCE_TEMPLATE
Deprecated. 
See Also:
Constant Field Values

SECURE_RESOURCE_TEMPLATE

public static final String SECURE_RESOURCE_TEMPLATE
Deprecated. 
See Also:
Constant Field Values

RENDER_TEMPLATE

public static final String RENDER_TEMPLATE
Deprecated. 
See Also:
Constant Field Values

SECURE_RENDER_TEMPLATE

public static final String SECURE_RENDER_TEMPLATE
Deprecated. 
See Also:
Constant Field Values

SCHEME_TOKEN

public static final String SCHEME_TOKEN
Deprecated. 
See Also:
Constant Field Values

DOMAIN_TOKEN

public static final String DOMAIN_TOKEN
Deprecated. 
See Also:
Constant Field Values

PORT_TOKEN

public static final String PORT_TOKEN
Deprecated. 
See Also:
Constant Field Values

PATH_TOKEN

public static final String PATH_TOKEN
Deprecated. 
See Also:
Constant Field Values

QUERY_STRING_TOKEN

public static final String QUERY_STRING_TOKEN
Deprecated. 
See Also:
Constant Field Values

FRAGMENT_TOKEN

public static final String FRAGMENT_TOKEN
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

URLTemplateDescriptor

protected URLTemplateDescriptor()
Deprecated. 
Constructs an instance.

Method Detail

getURLTemplate

public URLTemplate getURLTemplate(String name)
Deprecated. 
Returns URL template given the name of the template.

Parameters:
name - name of the template
Returns:
template

getURLTemplateRef

public String getURLTemplateRef(String refGroupName,
                                String key)
Deprecated. 
Returns URL template name of the given type (by key).

Parameters:
refGroupName - name of a group of templates from the config file.
key - type of the template
Returns:
template name

getInstance

public static URLTemplateDescriptor getInstance()
Deprecated. 
Returns an instance of URLTemplateDescriptor.

Returns:
portal app descriptor

load

public void load(ServletContext servletContext)
Deprecated.