|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectURLTemplateDescriptor
public class URLTemplateDescriptor
Maintains optional deployment information about templates and the URL template config file.
Field Summary | |
---|---|
static String |
ACTION_TEMPLATE
|
static String |
DEFAULT_TEMPLATE
|
static String |
DOMAIN_TOKEN
|
static String |
PATH_TOKEN
|
static String |
PORT_TOKEN
|
static String |
QUERY_STRING_TOKEN
|
static String |
RENDER_TEMPLATE
|
static String |
RESOURCE_TEMPLATE
|
static String |
SCHEME_TOKEN
|
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 . |
URLTemplate |
getURLTemplate(String name)
Returns URL template given the name of the template. |
String |
getURLTemplateRef(String refGroupName,
String key)
Returns URL template name of the given type (by key). |
void |
load(ServletContext servletContext)
|
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DEFAULT_TEMPLATE
public static final String SECURE_DEFAULT_TEMPLATE
public static final String ACTION_TEMPLATE
public static final String SECURE_ACTION_TEMPLATE
public static final String RESOURCE_TEMPLATE
public static final String SECURE_RESOURCE_TEMPLATE
public static final String RENDER_TEMPLATE
public static final String SECURE_RENDER_TEMPLATE
public static final String SCHEME_TOKEN
public static final String DOMAIN_TOKEN
public static final String PORT_TOKEN
public static final String PATH_TOKEN
public static final String QUERY_STRING_TOKEN
Constructor Detail |
---|
protected URLTemplateDescriptor()
Method Detail |
---|
public URLTemplate getURLTemplate(String name)
name
- name of the template
public String getURLTemplateRef(String refGroupName, String key)
refGroupName
- name of a group of templates from the config file.key
- type of the template
public static URLTemplateDescriptor getInstance()
URLTemplateDescriptor
.
public void load(ServletContext servletContext)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |