com.ibm.portal.content
Interface ContentURL
- All Superinterfaces:
- ActiveFlag, ContentNode, DeviceClassCapable, Identifiable, Localized, MarkupCapable
- All Known Subinterfaces:
- ExternalContentURL, InternalContentURL, ModifiableContentURL, ModifiableExternalContentURL, ModifiableInternalContentURL
public interface ContentURL
- extends ContentNode
An interface for a content node representing an internal or external URL.
Inactive content URLs and their children do not show in the content model
used for rendering.
- Since:
- 5.1.0.1
Method Summary |
java.lang.String |
getURL(Markup aMarkup)
Deprecated. use newURL() instead
Returns the URL that this content node represents for the given
markup. |
java.lang.String |
getURL(java.lang.String aMarkup)
Deprecated. use newURL() instead
Returns the URL that this content node represents for the given
markup. Whenever possible, use the method getURL(Markup aMarkup)
instead of this one - this method will be deprecated at some
point in the future. |
DisposableURL |
newURL()
Returns a URL object that this content node represents. |
getURL
java.lang.String getURL(Markup aMarkup)
- Deprecated. use
newURL()
instead
Returns the URL that this content node represents for the given
markup.
- Parameters:
aMarkup
- the markup for which to retrieve the URL
- Returns:
- a URL
getURL
java.lang.String getURL(java.lang.String aMarkup)
- Deprecated. use
newURL()
instead
Returns the URL that this content node represents for the given
markup. Whenever possible, use the method getURL(Markup aMarkup)
instead of this one - this method will be deprecated at some
point in the future.
- Parameters:
aMarkup
- the markup for which to retrieve the URL
- Returns:
- a URL
newURL
DisposableURL newURL()
- Returns a URL object that this content node represents.
- Returns:
- a URL object for the resource referenced by this
ContentURL
,
never null
.