blackboard.data.content
Class ExternalLink
java.lang.Object
blackboard.data.BbObject
blackboard.data.content.Content
blackboard.data.content.ExternalLink
- All Implemented Interfaces:
- Available, IBbObject, Positionable, java.lang.Cloneable
public class ExternalLink
- extends Content
The ExternalLink
class is a representation of an external link
within the Bb Course Management System. ExternalLink
objects wrap
URLs.
- Since:
- Bb 5.5
- Version:
- $Revision: #1 $ $Date: 2005/06/27 $
Methods inherited from class blackboard.data.content.Content |
addContentFile, getAllowGuests, getAllowObservers, getBody, getContentFiles, getContentHandler, getContentStatus, getCourseId, getEndDate, getIsAvailable, getIsDescribed, getIsFolder, getIsFromCartridge, getIsLesson, getIsReviewable, getIsSequential, getIsTracked, getLaunchInNewWindow, getOfflineName, getOfflinePath, getParentId, getPersistentTitle, getPosition, getRemovedFiles, getRenderType, getStartDate, getTitle, getTitleColor, getUrl, printTree, removeContentFile, removeContentFile, setAllowGuests, setAllowObservers, setBody, setContentHandler, setCourseId, setEndDate, setIsAvailable, setIsDescribed, setIsFolder, setIsFromCartridge, setIsLesson, setIsReviewable, setIsSequential, setIsTracked, setLaunchInNewWindow, setOfflineName, setOfflinePath, setParentId, setPosition, setRenderType, setStartDate, setTitle, setTitleColor, setUrl, traverseContent, validate |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DATA_TYPE
public static final DataType DATA_TYPE
EXTERNAL_LINK_DATA_TYPE
public static final DataType EXTERNAL_LINK_DATA_TYPE
- Deprecated. Use the constant
DATA_TYPE
instead
ExternalLink
public ExternalLink()
- Default constructor. Ensures that the appropriate content handler string is set, and
defaults the
LaunchInNewWindow
property to false
.
setUrl
public void setUrl(java.net.URL url)
- Sets the URL associated with this
ExternalLink
. This field cannot
exceed 255 characters. Additionally, it is not required to conform to URL syntax,
and is not double checked for "live" links.
- Parameters:
url
- a java.net.URL
containing the url for this external link
getDescription
public FormattedText getDescription()
- Returns the description of this
ExternalLink
.
- Returns:
- a {FormattedText} representing the description of this external link
setDescription
public void setDescription(FormattedText desc)
- Sets the description of this
ExternalLink
. This field has an
unlimited length.
- Parameters:
desc
- a FormattedText
containing the description of this
external link
getDataType
public DataType getDataType()
- Returns the
DataType
identifier for this object. Can be used to
uniquely identify the "type" of this data object.
- Specified by:
getDataType
in interface IBbObject
- Overrides:
getDataType
in class Content
- Returns:
- the
DataType
for this object
Copyright © 2003 Blackboard, Inc. All Rights Reserved.