public class ResourceValidationModelProviderImpl extends Object implements org.apache.sling.validation.model.spi.ValidationModelProvider, org.osgi.service.event.EventHandler
Modifier and Type | Field and Description |
---|---|
static String |
APPLICABLE_PATHS |
static String |
CHILDREN |
static String |
NAME_REGEX |
static String |
OPTIONAL |
static String |
PROPERTIES |
static String |
PROPERTY_MULTIPLE |
static String |
SEVERITY |
static String |
VALIDATING_RESOURCE_TYPE |
static String |
VALIDATION_MODEL_RESOURCE_TYPE |
static String |
VALIDATOR_ARGUMENTS |
static String |
VALIDATORS |
Constructor and Description |
---|
ResourceValidationModelProviderImpl() |
Modifier and Type | Method and Description |
---|---|
protected void |
activate(org.osgi.service.component.ComponentContext componentContext) |
protected void |
deactivate(org.osgi.service.component.ComponentContext componentContext) |
List<org.apache.sling.validation.model.ValidationModel> |
getValidationModels(String relativeResourceType) |
void |
handleEvent(org.osgi.service.event.Event event) |
@Nonnull public static final String NAME_REGEX
@Nonnull public static final String CHILDREN
@Nonnull public static final String VALIDATOR_ARGUMENTS
@Nonnull public static final String VALIDATORS
@Nonnull public static final String OPTIONAL
@Nonnull public static final String PROPERTY_MULTIPLE
@Nonnull public static final String PROPERTIES
@Nonnull public static final String VALIDATION_MODEL_RESOURCE_TYPE
@Nonnull public static final String APPLICABLE_PATHS
@Nonnull public static final String VALIDATING_RESOURCE_TYPE
@Nonnull public static final String SEVERITY
protected void activate(org.osgi.service.component.ComponentContext componentContext) throws org.apache.sling.api.resource.LoginException
org.apache.sling.api.resource.LoginException
protected void deactivate(org.osgi.service.component.ComponentContext componentContext)
public void handleEvent(org.osgi.service.event.Event event)
handleEvent
in interface org.osgi.service.event.EventHandler
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.