public interface I_CmsFormatterBean
限定符和类型 | 方法和说明 |
---|---|
java.util.Set<java.lang.String> |
getContainerTypes()
Returns the formatter container type.
|
java.util.Set<java.lang.String> |
getCssHeadIncludes()
Gets the CSS head includes.
|
java.lang.String |
getId()
Returns the id of this formatter.
|
java.lang.String |
getInlineCss()
Gets the inline CSS snippets.
|
java.lang.String |
getInlineJavascript()
Gets the inline JS snippets.
|
java.util.List<java.lang.String> |
getJavascriptHeadIncludes()
Gets the Javascript head includes.
|
java.lang.String |
getJspRootPath()
Returns the root path of the formatter JSP in the OpenCms VFS.
|
CmsUUID |
getJspStructureId()
Returns the structure id of the JSP resource for this formatter.
|
java.lang.String |
getLocation()
Returns the location this formatter was defined in.
|
int |
getMaxWidth()
Returns the maximum formatter width.
|
int |
getMinWidth()
Returns the minimum formatter width.
|
java.lang.String |
getNiceName()
Gets the nice name for this formatter.
|
int |
getRank()
Gets the rank.
|
java.lang.String |
getResourceTypeName()
Gets the resource type name.
|
java.util.Map<java.lang.String,CmsXmlContentProperty> |
getSettings()
Gets the defined settings.
|
boolean |
isAutoEnabled()
Returns true if the formatter is automatically enabled.
|
boolean |
isDetailFormatter()
Returns true if the formatter can be used for detail views.
|
boolean |
isFromFormatterConfigFile()
Returns true if the formatter is from a formatter configuration file.
|
boolean |
isMatchAll()
Returns true if this formatter should match all type/width combinations.
|
boolean |
isPreviewFormatter()
Indicates if this formatter is to be used as preview in the ADE gallery GUI.
|
boolean |
isSearchContent()
Returns
true in case an XML content formatted with this formatter should be included in the
online full text search. |
boolean |
isTypeFormatter()
Returns
true in case this formatter is based on type information. |
void |
setJspStructureId(CmsUUID structureId)
Sets the JSP structure id.
|
java.util.Set<java.lang.String> getContainerTypes()
If this is "*", then the formatter is a width based formatter.
java.util.Set<java.lang.String> getCssHeadIncludes()
java.lang.String getId()
This method may return null because the id is not always defined for formatters, e.g. for those formatters declared in a schema.
java.lang.String getInlineCss()
java.lang.String getInlineJavascript()
java.util.List<java.lang.String> getJavascriptHeadIncludes()
java.lang.String getJspRootPath()
CmsUUID getJspStructureId()
java.lang.String getLocation()
This will be an OpenCms VFS root path, either to the XML schema XSD, or the configuration file this formatter was defined in, or to the JSP that makes up this formatter.
int getMaxWidth()
If this is not set, then Integer.MAX_VALUE
is returned.
int getMinWidth()
If this is not set, then -1
is returned.
java.lang.String getNiceName()
int getRank()
java.lang.String getResourceTypeName()
java.util.Map<java.lang.String,CmsXmlContentProperty> getSettings()
boolean isAutoEnabled()
boolean isDetailFormatter()
boolean isFromFormatterConfigFile()
boolean isMatchAll()
boolean isPreviewFormatter()
true
if this formatter is to be used as preview in the ADE gallery GUIboolean isSearchContent()
true
in case an XML content formatted with this formatter should be included in the
online full text search.true
in case an XML content formatted with this formatter should be included in the
online full text searchboolean isTypeFormatter()
true
in case this formatter is based on type information.true
in case this formatter is based on type informationvoid setJspStructureId(CmsUUID structureId)
structureId
- the jsp structure id