public class ValidatorContextImpl extends Object implements org.apache.sling.validation.spi.ValidatorContext
Constructor and Description |
---|
ValidatorContextImpl(String location,
int severity,
org.apache.sling.api.resource.ValueMap valueMap,
org.apache.sling.api.resource.Resource resource,
ResourceBundle defaultResourceBundle) |
Modifier and Type | Method and Description |
---|---|
ResourceBundle |
getDefaultResourceBundle() |
String |
getLocation() |
org.apache.sling.api.resource.Resource |
getResource() |
int |
getSeverity() |
org.apache.sling.api.resource.ValueMap |
getValueMap() |
public ValidatorContextImpl(@Nonnull String location, int severity, @Nonnull org.apache.sling.api.resource.ValueMap valueMap, org.apache.sling.api.resource.Resource resource, @Nonnull ResourceBundle defaultResourceBundle)
@Nonnull public String getLocation()
getLocation
in interface org.apache.sling.validation.spi.ValidatorContext
@Nonnull public org.apache.sling.api.resource.ValueMap getValueMap()
getValueMap
in interface org.apache.sling.validation.spi.ValidatorContext
@CheckForNull public org.apache.sling.api.resource.Resource getResource()
getResource
in interface org.apache.sling.validation.spi.ValidatorContext
public int getSeverity()
getSeverity
in interface org.apache.sling.validation.spi.ValidatorContext
@Nonnull public ResourceBundle getDefaultResourceBundle()
getDefaultResourceBundle
in interface org.apache.sling.validation.spi.ValidatorContext
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.