public static class

ContentTypes.ContentType

extends Object
java.lang.Object
   ↳ com.microstrategy.web.blocks.ContentTypes.ContentType

Class Overview

This class class defines a ContentType object. It holds any number of properties defined in the resource bundle file.

Summary

Constants
String PROP_NAME_BLOCK_RENDERER_FQCN The name of the property that holds Block Renderer Fully Qualified Class name.
Public Constructors
ContentTypes.ContentType()
Public Methods
String getMimeType()
Gets the MIME Type for this content type.
String getProperty(String propertyName)
Gets a named property.
String getRendererFQCN()
Gets the Fully Qualified Class Name of the Block Renderer for this content type.
void setProperty(String propertyName, String propertyValue)
Sets a named property.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String PROP_NAME_BLOCK_RENDERER_FQCN

The name of the property that holds Block Renderer Fully Qualified Class name.

Constant Value: "blockRendererFQCN"

Public Constructors

public ContentTypes.ContentType ()

Public Methods

public String getMimeType ()

Gets the MIME Type for this content type.

Returns
  • The MIME Type for this content type.

public String getProperty (String propertyName)

Gets a named property.

Parameters
propertyName The name of the property to inspect.
Returns
  • The value of the property.

public String getRendererFQCN ()

Gets the Fully Qualified Class Name of the Block Renderer for this content type.

Returns
  • The Fully Qualified Class Name of the Block Renderer for this content type.

public void setProperty (String propertyName, String propertyValue)

Sets a named property.

Parameters
propertyName The name of the property to set.
propertyValue The value of the property.