|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mmbase.applications.media.urlcomposers.URLComposerFactory
The URLComposerFactory contains the code to decide which kind of URLComposer is instatiated. This is a default implementation, which can be extended for your situation (The class can be configured in the mediaproviders builder xml) This particular implementation provides the possibility to relate formats to URLComposer classes. It can also relate a format/protocol combination to a URLComposer class.
| Field Summary | |
static java.lang.String |
CONFIG_FILE
|
| Method Summary | |
protected boolean |
addURLComposer(URLComposer uc,
java.util.List urls)
Add urlcomposer to list of urlcomposers if that is possible. |
java.util.List |
createURLComposers(MMObjectNode provider,
MMObjectNode source,
MMObjectNode fragment,
java.util.Map info,
java.util.List urls,
java.util.Set 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 java.util.List |
getTemplates(MMObjectNode fragment)
You can relate template objects to media fragments. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String CONFIG_FILE
| Method Detail |
public static URLComposerFactory getInstance()
protected java.util.List getTemplates(MMObjectNode fragment)
protected boolean addURLComposer(URLComposer uc,
java.util.List urls)
public java.util.List createURLComposers(MMObjectNode provider,
MMObjectNode source,
MMObjectNode fragment,
java.util.Map info,
java.util.List urls,
java.util.Set cacheExpireObjects)
provider - MMObjectNodesource - MMObjectNodeinfo - A Map with additional optionsurls - A List with URLComposer to which the new ones must be added, or null.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||