@Override
protected AbstractCapability createCapability(AbstractResource resource, String namespace, Map<String, Object> atts, Map<String, String> dirs) {
if (ContentNamespace.CONTENT_NAMESPACE.equals(namespace))
return new DefaultContentCapability(resource, namespace, atts, dirs);
else
return new DefaultCapability(resource, namespace, atts, dirs);
}