Class NameValidatorProvider
java.lang.Object
org.apache.jackrabbit.oak.spi.commit.ValidatorProvider
org.apache.jackrabbit.oak.plugins.name.NameValidatorProvider
- All Implemented Interfaces:
EditorProvider
Validator service that checks that all node and property names as well
as any name values are syntactically valid and that any namespace prefixes
are properly registered.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetRootValidator
(NodeState before, NodeState after, CommitInfo info) Returns a validator for checking the changes between the given two root states.Methods inherited from class org.apache.jackrabbit.oak.spi.commit.ValidatorProvider
getRootEditor
-
Constructor Details
-
NameValidatorProvider
public NameValidatorProvider()
-
-
Method Details
-
getRootValidator
Description copied from class:ValidatorProvider
Returns a validator for checking the changes between the given two root states.- Specified by:
getRootValidator
in classValidatorProvider
- Parameters:
before
- original root stateafter
- modified root stateinfo
- metadata about this commit- Returns:
- validator for checking the modifications,
or
null
if this validator is not needed for this commit
-