org.opencms.xml.containerpage
Class CmsXmlInheritGroupContainerHandler

java.lang.Object
  extended by org.opencms.xml.content.CmsDefaultXmlContentHandler
      extended by org.opencms.xml.containerpage.CmsXmlInheritGroupContainerHandler
All Implemented Interfaces:
I_CmsXmlContentHandler

public class CmsXmlInheritGroupContainerHandler
extends CmsDefaultXmlContentHandler

The XML content handler class for inheritance groups.


Field Summary
 
Fields inherited from class org.opencms.xml.content.CmsDefaultXmlContentHandler
APPINFO_APPINFO, APPINFO_ATTR_BOOST, APPINFO_ATTR_CLASS, APPINFO_ATTR_COLLAPSE, APPINFO_ATTR_CONFIGURATION, APPINFO_ATTR_CONTAINER_PAGE_ONLY, APPINFO_ATTR_COPY_FIELDS, APPINFO_ATTR_DEFAULT, APPINFO_ATTR_DESCRIPTION, APPINFO_ATTR_ELEMENT, APPINFO_ATTR_ERROR, APPINFO_ATTR_INVALIDATE, APPINFO_ATTR_KEY, APPINFO_ATTR_LOCALE, APPINFO_ATTR_MAPPING, APPINFO_ATTR_MAPTO, APPINFO_ATTR_MAXWIDTH, APPINFO_ATTR_MESSAGE, APPINFO_ATTR_MINWIDTH, APPINFO_ATTR_NAME, APPINFO_ATTR_NICE_NAME, APPINFO_ATTR_PREVIEW, APPINFO_ATTR_REGEX, APPINFO_ATTR_RULE_REGEX, APPINFO_ATTR_RULE_TYPE, APPINFO_ATTR_SEARCHCONTENT, APPINFO_ATTR_SELECT_INHERIT, APPINFO_ATTR_SOURCE_FIELD, APPINFO_ATTR_TARGET_FIELD, APPINFO_ATTR_TYPE, APPINFO_ATTR_TYPE_NODE, APPINFO_ATTR_TYPE_PARENT, APPINFO_ATTR_TYPE_WARNING, APPINFO_ATTR_URI, APPINFO_ATTR_USEALL, APPINFO_ATTR_VALUE, APPINFO_ATTR_WIDGET, APPINFO_ATTR_WIDGET_CONFIG, APPINFO_ATTRIBUTE_TYPE_CSS, APPINFO_ATTRIBUTE_TYPE_JAVASCRIPT, APPINFO_BUNDLE, APPINFO_DEFAULT, APPINFO_DEFAULTS, APPINFO_FORBIDDEN_CONTEXTS, APPINFO_FORMATTER, APPINFO_FORMATTERS, APPINFO_HEAD_INCLUDE, APPINFO_HEAD_INCLUDES, APPINFO_LAYOUT, APPINFO_LAYOUTS, APPINFO_MAPPING, APPINFO_MAPPINGS, APPINFO_MODELFOLDER, APPINFO_PREVIEW, APPINFO_PROPERTYBUNDLE, APPINFO_RELATION, APPINFO_RELATIONS, APPINFO_RESOURCE, APPINFO_RESOURCEBUNDLE, APPINFO_RESOURCEBUNDLES, APPINFO_RULE, APPINFO_SCHEMA_FILE, APPINFO_SCHEMA_FILE_TYPES, APPINFO_SCHEMA_SYSTEM_ID, APPINFO_SCHEMA_TYPES_SYSTEM_ID, APPINFO_SEARCHSETTING, APPINFO_SEARCHSETTINGS, APPINFO_SETTING, APPINFO_SETTINGS, APPINFO_SOLR_FIELD, APPINFO_TAB, APPINFO_TABS, APPINFO_TEMPLATE, APPINFO_TEMPLATES, APPINFO_VALIDATIONRULE, APPINFO_VALIDATIONRULES, APPINFO_XMLBUNDLE, ATTR_ENABLED, ATTR_ENABLED_BY_DEFAULT, ATTR_USE_ACACIA, ATTRIBUTE_INCLUDE_TYPE_CSS, ATTRIBUTE_INCLUDE_TYPE_JAVASCRIPT, m_allowedTemplates, m_configurationValues, m_cssHeadIncludes, m_defaultValues, m_elementMappings, m_elementWidgets, m_formatterConfiguration, m_formatters, m_jsHeadIncludes, m_messageBundleNames, m_modelFolder, m_previewLocation, m_relationChecks, m_relations, m_searchFields, m_searchSettings, m_settings, m_tabs, m_titleMappings, m_useAcacia, m_validationErrorMessages, m_validationErrorRules, m_validationWarningMessages, m_validationWarningRules, MACRO_PREVIEW_TEMPFILE, MESSAGE_VALIDATION_DEFAULT_ERROR, MESSAGE_VALIDATION_DEFAULT_WARNING
 
Fields inherited from interface org.opencms.xml.content.I_CmsXmlContentHandler
ATTRIBUTES, MAPTO_ATTRIBUTE, MAPTO_PERMISSION, MAPTO_PROPERTY, MAPTO_PROPERTY_INDIVIDUAL, MAPTO_PROPERTY_LIST, MAPTO_PROPERTY_LIST_INDIVIDUAL, MAPTO_PROPERTY_LIST_SHARED, MAPTO_PROPERTY_SHARED, MAPTO_URLNAME
 
Constructor Summary
CmsXmlInheritGroupContainerHandler()
          Constructor.
 
Method Summary
 java.util.Set<java.lang.String> getCSSHeadIncludes(CmsObject cms, CmsResource resource)
          Returns all the CSS resources to include into the html-page head.
 java.util.Set<java.lang.String> getJSHeadIncludes(CmsObject cms, CmsResource resource)
          Returns all the javascript resources to include into the html-page head.
static java.util.List<CmsContainerElementBean> loadInheritContainerElements(CmsObject cms, CmsResource resource)
          Returns the elements of the given inheritance group for the request context URI.
 
Methods inherited from class org.opencms.xml.content.CmsDefaultXmlContentHandler
addCheckRule, addConfiguration, addDefault, addDefaultCheckRules, addMapping, addSearchField, addSearchSetting, addValidationRule, addWidget, getAllowedTemplates, getConfiguration, getCSSHeadIncludes, getDefault, getDefault, getFormatterConfiguration, getJSHeadIncludes, getLocaleForResource, getMappings, getMessages, getModelFolder, getPreview, getReferencePath, getRelationType, getRelationType, getRelationType, getSearchFields, getSettings, getTabs, getTitleMapping, getValidationMessage, getWidget, init, initDefaultValues, initFormatters, initHeadIncludes, initialize, initLayouts, initMappings, initModelFolder, initPreview, initRelations, initResourceBundle, initSearchSettings, initSettings, initTabs, initTemplates, initValidationRules, invalidateBrokenLinks, isAcaciaEditorDisabled, isContainerPageOnly, isInvalidateParent, isSearchable, key, prepareForUse, prepareForWrite, removeEmptyMappings, resolveMapping, resolveValidation, validateAppinfoElement, validateCategories, validateLink, validateValue, validateValue, writeCategories
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsXmlInheritGroupContainerHandler

public CmsXmlInheritGroupContainerHandler()
Constructor.

Method Detail

loadInheritContainerElements

public static java.util.List<CmsContainerElementBean> loadInheritContainerElements(CmsObject cms,
                                                                                   CmsResource resource)
Returns the elements of the given inheritance group for the request context URI.

Parameters:
cms - the current cms context
resource - the inheritance group resource
Returns:
the elements

getCSSHeadIncludes

public java.util.Set<java.lang.String> getCSSHeadIncludes(CmsObject cms,
                                                          CmsResource resource)
                                                   throws CmsException
Description copied from interface: I_CmsXmlContentHandler
Returns all the CSS resources to include into the html-page head.

Specified by:
getCSSHeadIncludes in interface I_CmsXmlContentHandler
Overrides:
getCSSHeadIncludes in class CmsDefaultXmlContentHandler
Parameters:
cms - the current CMS context
resource - the resource from which to get the head includes
Returns:
the CSS resources to include into the html-page head
Throws:
CmsException - if something goes wrong
See Also:
CmsDefaultXmlContentHandler.getCSSHeadIncludes(org.opencms.file.CmsObject, org.opencms.file.CmsResource)

getJSHeadIncludes

public java.util.Set<java.lang.String> getJSHeadIncludes(CmsObject cms,
                                                         CmsResource resource)
                                                  throws CmsException
Description copied from interface: I_CmsXmlContentHandler
Returns all the javascript resources to include into the html-page head.

Specified by:
getJSHeadIncludes in interface I_CmsXmlContentHandler
Overrides:
getJSHeadIncludes in class CmsDefaultXmlContentHandler
Parameters:
cms - the current CMS context
resource - the resource for which the head includes should be retrieved
Returns:
the javascript resources to include into the html-page head
Throws:
CmsException - if something goes wrong
See Also:
CmsDefaultXmlContentHandler.getJSHeadIncludes(org.opencms.file.CmsObject, org.opencms.file.CmsResource)