public class CmsFlexFormatterBean extends CmsFormatterBean
DEFAULT_CONFIGURATION_RANK, DEFAULT_SCHEMA_RANK, m_containerTypes, m_cssHeadIncludes, m_description, m_displayType, m_id, m_inlineCss, m_inlineJavascript, m_isAutoEnabled, m_isDetail, m_isFromFormatterConfigFile, m_isPreviewFormatter, m_javascriptHeadIncludes, m_jspRootPath, m_jspStructureId, m_location, m_matchAll, m_maxWidth, m_metaMappings, m_minWidth, m_nestedFormatterSettings, m_niceName, m_rank, m_resourceTypeNames, m_search, m_settings, m_strictContainers, m_useMetaMappingsForNormalElements, PREVIEW_TYPE, PREVIEW_WIDTH, WILDCARD_TYPE| Constructor and Description |
|---|
CmsFlexFormatterBean(java.util.Set<java.lang.String> containerTypes,
java.lang.String jspRootPath,
CmsUUID jspStructureId,
int minWidth,
int maxWidth,
boolean searchContent,
java.lang.String location,
java.lang.String niceName,
java.lang.String description,
java.util.Collection<java.lang.String> resourceTypeNames,
int rank,
java.lang.String id,
java.lang.String defaultContentRootPath,
CmsUUID defaultContentStructureId,
java.util.Map<java.lang.String,CmsXmlContentProperty> settings,
boolean isAutoEnabled,
boolean isDetail,
java.lang.String displayType,
boolean isAllowsSettingsInEditor,
java.lang.String stringTemplate,
java.lang.String placeholderStringTemplate,
java.util.List<CmsMetaMapping> metaMappings,
boolean useMetaMappingsForNormalElements)
Constructor for creating a new formatter configuration with resource structure id.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDefaultContentRootPath()
Returns the root path to the default content.
|
CmsUUID |
getDefaultContentStructureId()
Returns the UUID of the default content.
|
java.lang.String |
getPlaceholderStringTemplate()
Returns the placeholder string template.
|
java.lang.String |
getStringTemplate()
Returns the string template.
|
getAttributes, getContainerTypes, getCssHeadIncludes, getDescription, getDisplayType, getId, getInlineCss, getInlineJavascript, getJavascriptHeadIncludes, getJspRootPath, getJspStructureId, getLocation, getMaxWidth, getMetaMappings, getMinWidth, getNiceName, getRank, getResourceTypeNames, getSettings, hashCode, hasNestedFormatterSettings, isAllowsSettingsInEditor, isAutoEnabled, isDetailFormatter, isDisplayFormatter, isFromFormatterConfigFile, isMatchAll, isPreviewFormatter, isPreviewType, isSearchContent, isStrictContainers, isTypeFormatter, setJspStructureId, toString, useMetaMappingsForNormalElementspublic CmsFlexFormatterBean(java.util.Set<java.lang.String> containerTypes, java.lang.String jspRootPath, CmsUUID jspStructureId, int minWidth, int maxWidth, boolean searchContent, java.lang.String location, java.lang.String niceName, java.lang.String description, java.util.Collection<java.lang.String> resourceTypeNames, int rank, java.lang.String id, java.lang.String defaultContentRootPath, CmsUUID defaultContentStructureId, java.util.Map<java.lang.String,CmsXmlContentProperty> settings, boolean isAutoEnabled, boolean isDetail, java.lang.String displayType, boolean isAllowsSettingsInEditor, java.lang.String stringTemplate, java.lang.String placeholderStringTemplate, java.util.List<CmsMetaMapping> metaMappings, boolean useMetaMappingsForNormalElements)
containerTypes - the formatter container typesjspRootPath - the formatter JSP VFS root pathjspStructureId - the structure id of the formatter JSPminWidth - the formatter min widthmaxWidth - the formatter max widthsearchContent - indicates if the content should be searchable in the online index when this formatter is usedlocation - the location where this formatter was defined, should be an OpenCms VFS resource pathniceName - the configuration display namedescription - the help text for the formatterresourceTypeNames - the resource type namesrank - the configuration rankid - the configuration iddefaultContentRootPath - the root path to the default contentdefaultContentStructureId - the UUID of the default content resourcesettings - the settings configurationisDetail - true if detail formatterisAutoEnabled - true if auto enableddisplayType - the display typeisAllowsSettingsInEditor - whether this formatter allows settings to be edited in the content editorstringTemplate - the string templateplaceholderStringTemplate - the placeholder string templatemetaMappings - the meta mappingsuseMetaMappingsForNormalElements - if true, meta mappings will be evaluated for normal container elements, not just detail elementspublic java.lang.String getDefaultContentRootPath()
public CmsUUID getDefaultContentStructureId()
public java.lang.String getPlaceholderStringTemplate()
public java.lang.String getStringTemplate()