com.bea.content.el.support
Class UrlServiceImpl

java.lang.Object
  extended by com.bea.content.el.support.UrlServiceImpl

public class UrlServiceImpl
extends Object

This EL wrapper class implementation adds functionality around the Property class by creating references to the ShowPropertyURL and DownloadBinaryURL class.

Examples:

     ${myNode.url.downloadUrl}
     ${myNode.versions.versionById['3'].propertyMap['myBinaryProperty'].url.renderUrl}
 

See Also
ShowPropertyURL, DownloadBinaryURL

Method Summary
 String getDownloadUrl()
          Retrieves a URL to the DownloadBinaryServlet.
 String getRenderUrl()
          Retrieves a URL to the ShowPropertyServlet.
 String toString()
          Returns the renderUrl by default.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getRenderUrl

public String getRenderUrl()
Retrieves a URL to the ShowPropertyServlet.

Returns
Stringified com.bea.content.url.ShowPropertyURL
See Also
com.bea.content.url.ShowPropertyURL

getDownloadUrl

public String getDownloadUrl()
Retrieves a URL to the DownloadBinaryServlet.

Returns
Stringified com.bea.content.url.DownloadBinaryURL
See Also
com.bea.content.url.DownloadBinaryURL

toString

public String toString()
Returns the renderUrl by default.

Overrides:
toString in class Object


Copyright © 2011, Oracle. All rights reserved.