public final class ViewResourceUtils extends Object
dmx:view
tag to actual .xhtml resources.Modifier and Type | Method and Description |
---|---|
static void |
addMapping(String viewId,
DMXView view)
Maps specified view ID to specified view.
|
static void |
addMapping(String viewId,
URL mapping)
Maps specified view ID to specified URL.
|
static URL |
getViewResourceURL(String mapping)
Retrieves URL of .xhtml file for specified view.
|
public static final void addMapping(String viewId, DMXView view)
/dmx
before
view ID.viewId
- view IDview
- view objectpublic static final void addMapping(String viewId, URL mapping)
viewId
- view IDmapping
- target URLCopyright © 2012-2014 Vektor Software. All Rights Reserved.