Package com.microstrategy.web.blocks
Class ContentTypes.ContentType
- java.lang.Object
-
- com.microstrategy.web.blocks.ContentTypes.ContentType
-
- Enclosing class:
- ContentTypes
public static class ContentTypes.ContentType extends java.lang.Object
This class class defines a ContentType object. It holds any number of properties defined in the resource bundle file.- Since:
- MicroStrategy Web 9.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PROP_NAME_BLOCK_RENDERER_FQCN
The name of the property that holds Block Renderer Fully Qualified Class name.
-
Constructor Summary
Constructors Constructor Description ContentType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMimeType()
Gets the MIME Type for this content type.java.lang.String
getProperty(java.lang.String propertyName)
Gets a named property.java.lang.String
getRendererFQCN()
Gets the Fully Qualified Class Name of the Block Renderer for this content type.void
setProperty(java.lang.String propertyName, java.lang.String propertyValue)
Sets a named property.
-
-
-
Field Detail
-
PROP_NAME_BLOCK_RENDERER_FQCN
public static final java.lang.String PROP_NAME_BLOCK_RENDERER_FQCN
The name of the property that holds Block Renderer Fully Qualified Class name.- See Also:
- Constant Field Values
-
-
Method Detail
-
getProperty
public java.lang.String getProperty(java.lang.String propertyName)
Gets a named property.- Parameters:
propertyName
- The name of the property to inspect.- Returns:
- The value of the property.
-
setProperty
public void setProperty(java.lang.String propertyName, java.lang.String propertyValue)
Sets a named property.- Parameters:
propertyName
- The name of the property to set.propertyValue
- The value of the property.
-
getRendererFQCN
public java.lang.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.
-
getMimeType
public java.lang.String getMimeType()
Gets the MIME Type for this content type.- Returns:
- The MIME Type for this content type.
-
-