public class CompositeIndexEditorProvider extends java.lang.Object implements IndexEditorProvider
| Constructor and Description |
|---|
CompositeIndexEditorProvider(IndexEditorProvider... providers) |
| Modifier and Type | Method and Description |
|---|---|
static IndexEditorProvider |
compose(java.util.Collection<IndexEditorProvider> providers) |
Editor |
getIndexEditor(java.lang.String type,
NodeBuilder builder,
NodeState root,
IndexUpdateCallback callback)
Each provider knows how to produce a certain type of index.
|
public CompositeIndexEditorProvider(IndexEditorProvider... providers)
public static IndexEditorProvider compose(java.util.Collection<IndexEditorProvider> providers)
public Editor getIndexEditor(java.lang.String type, NodeBuilder builder, NodeState root, IndexUpdateCallback callback) throws CommitFailedException
IndexEditorProvidertype param is of an unknown value, the provider is expected
to return null.
The definition builder must points to the index definition
node under which the indexer is expected to store the index content.
getIndexEditor in interface IndexEditorProvidertype - index typebuilder - index definition node builder, used for updatesroot - root node state, used for things like node type informationcallback - used to register for index update notificationsnull if type is unknownCommitFailedException"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"