Package org.opencms.configuration
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
,
so that the import of the resources can proceed.CmsResourceTypeUnknown
- Since:
- 6.0.2
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for the resource type configuration factory. -
Method Summary
Methods inherited from class org.apache.commons.digester3.AbstractObjectCreationFactory
getDigester, setDigester
-
Constructor Details
-
CmsDigesterResourceTypeCreationFactory
Default constructor for the resource type configuration factory.
-
-
Method Details
-
createObject
- Specified by:
createObject
in interfaceorg.apache.commons.digester3.ObjectCreationFactory<I_CmsResourceType>
- Specified by:
createObject
in classorg.apache.commons.digester3.AbstractObjectCreationFactory<I_CmsResourceType>
- Throws:
Exception
- See Also:
-
ObjectCreationFactory.createObject(org.xml.sax.Attributes)
-