Class CmsDigesterResourceTypeCreationFactory

java.lang.Object
org.apache.commons.digester3.AbstractObjectCreationFactory<I_CmsResourceType>
org.opencms.configuration.CmsDigesterResourceTypeCreationFactory
All Implemented Interfaces:
org.apache.commons.digester3.ObjectCreationFactory<I_CmsResourceType>

public class CmsDigesterResourceTypeCreationFactory extends org.apache.commons.digester3.AbstractObjectCreationFactory<I_CmsResourceType>
Factory to create resource type instances from the XML configuration.

This is required because the default digester implementation will cause an exception in case a resource type class is missing. However, a missing class is common if a module with a new resource type class is imported. In this case, the resource type class is changes to CmsResourceTypeUnknown, so that the import of the resources can proceed.

Since:
6.0.2