blackboard.data.content
Class Content.RenderType

java.lang.Object
  extended by blackboard.base.BbEnum
      extended by blackboard.data.content.Content.RenderType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable
Enclosing class:
Content

public static final class Content.RenderType
extends BbEnum

Class to encapsulate the hints used by the renderers.

Since:
Bb 6.0
Version:
$Revision: #1 $ $Date: 2005/06/27 $
See Also:
Serialized Form

Field Summary
static Content.RenderType DEFAULT
           
static Content.RenderType FILE
          Renders the underlying object as a reference to a single file.
static Content.RenderType LINK
          Render the underlying object as a course link
static Content.RenderType REGULAR
          Renders the underlying object in the default fashion (a la Course Documents)
static Content.RenderType URL
          Render the underlying object as a URL container (a la, ExternalLink)
 
Method Summary
static Content.RenderType fromExternalString(java.lang.String externalString)
          Returns the Content.Rendertype element specified by the externalString.
static Content.RenderType[] getValues()
          Returns an array of all of the elements in this enumeration.
 
Methods inherited from class blackboard.base.BbEnum
compareTo, defineAlias, defineDefault, fromExternalString, fromFieldName, fromFieldName, getDefaultElement, getValues, isDefault, readResolve, toExternalString, toFieldName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

REGULAR

public static final Content.RenderType REGULAR
Renders the underlying object in the default fashion (a la Course Documents)


FILE

public static final Content.RenderType FILE
Renders the underlying object as a reference to a single file.


LINK

public static final Content.RenderType LINK
Render the underlying object as a course link


URL

public static final Content.RenderType URL
Render the underlying object as a URL container (a la, ExternalLink)


DEFAULT

public static final Content.RenderType DEFAULT
Method Detail

getValues

public static Content.RenderType[] getValues()
Returns an array of all of the elements in this enumeration.


fromExternalString

public static Content.RenderType fromExternalString(java.lang.String externalString)
                                             throws java.lang.IllegalArgumentException
Returns the Content.Rendertype element specified by the externalString.

Throws:
java.lang.IllegalArgumentException - if the given string is not an external representation of one of the elements this enumeration class.


Copyright © 2003 Blackboard, Inc. All Rights Reserved.