public class URLComposerFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIG_FILE |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
addURLComposer(URLComposer uc,
List<URLComposer> urls)
Add urlcomposer to list of urlcomposers if that is possible.
|
List<URLComposer> |
createURLComposers(MMObjectNode provider,
MMObjectNode source,
MMObjectNode fragment,
Map<String,Object> info,
List<URLComposer> urls,
Set<MMObjectNode> cacheExpireObjects)
When the provider/source/fragment combo is determined they can
be fed into this function of the urlcomposerfactory, which will
then produce zero or more urlcomposers.
|
static URLComposerFactory |
getInstance()
Returns the one instance.
|
protected List<MMObjectNode> |
getTemplates(MMObjectNode fragment)
You can relate template objects to media fragments.
|
public static final String CONFIG_FILE
public static URLComposerFactory getInstance()
protected List<MMObjectNode> getTemplates(MMObjectNode fragment)
protected boolean addURLComposer(URLComposer uc, List<URLComposer> urls)
public List<URLComposer> createURLComposers(MMObjectNode provider, MMObjectNode source, MMObjectNode fragment, Map<String,Object> info, List<URLComposer> urls, Set<MMObjectNode> cacheExpireObjects)
provider - MMObjectNodesource - MMObjectNodeinfo - A Map with additional optionsurls - A List with URLComposer to which the new ones must be added, or null.MMBase 1.9-SNAPSHOT - ${javadoctimestamp}