org.mmbase.applications.media.urlcomposers
Class RamURLComposer

java.lang.Object
  extended byorg.mmbase.applications.media.urlcomposers.URLComposer
      extended byorg.mmbase.applications.media.urlcomposers.FragmentURLComposer
          extended byorg.mmbase.applications.media.urlcomposers.RamURLComposer
Direct Known Subclasses:
CgiSbURLComposer, CgiURLComposer

public class RamURLComposer
extends FragmentURLComposer

Provides the functionality to create URL's (or URI's) for a certain fragment, source, provider combination. Depends on mediafragment.ram.jsp and mediafragment.asf.jsp in the templates dir. These can be mapped to something else in web.xml. The servlet name must be media-asf and media-rm then.

Since:
MMBase-1.7
Author:
Michiel Meeuwissen, Rob Vermeulen (VPRO)
See Also:
Config

Field Summary
protected  Format format
           
 
Fields inherited from class org.mmbase.applications.media.urlcomposers.FragmentURLComposer
fragment
 
Fields inherited from class org.mmbase.applications.media.urlcomposers.URLComposer
info, provider, source
 
Constructor Summary
RamURLComposer()
           
 
Method Summary
 Format getFormat()
          The format of the produced URL.
protected  java.lang.StringBuffer getURLBuffer()
          Extension will normally create URL's differently.
 void init(MMObjectNode provider, MMObjectNode source, MMObjectNode fragment, java.util.Map info, java.util.Set cacheExpireObjects)
           
 
Methods inherited from class org.mmbase.applications.media.urlcomposers.FragmentURLComposer
equals, getFragment, isAvailable
 
Methods inherited from class org.mmbase.applications.media.urlcomposers.URLComposer
canCompose, getDescription, getGUIIndicator, getInfo, getProvider, getSource, getURL, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

format

protected Format format
Constructor Detail

RamURLComposer

public RamURLComposer()
Method Detail

init

public void init(MMObjectNode provider,
                 MMObjectNode source,
                 MMObjectNode fragment,
                 java.util.Map info,
                 java.util.Set cacheExpireObjects)
Overrides:
init in class FragmentURLComposer

getURLBuffer

protected java.lang.StringBuffer getURLBuffer()
Description copied from class: URLComposer
Extension will normally create URL's differently. They override this function.

Overrides:
getURLBuffer in class URLComposer

getFormat

public Format getFormat()
Description copied from class: URLComposer
The format of the produced URL. This is not necessarily the format of the source. (Though it normally would be)

Overrides:
getFormat in class URLComposer


MMBase build 1.7.1.20041002