aboutsummaryrefslogtreecommitdiffstats
path: root/documentapi/src/main/java/com/yahoo/documentapi/DocumentVisitor.java
blob: 6a8e6305d287fc18e3d2889092a60fe8ac4be8ea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.documentapi;

/**
 * Visitor that simply returns documents found in storage.
 *
 * @author Håkon Humberset
 */
public class DocumentVisitor extends VisitorParameters {

    /**
     * Creates a document visitor.
     *
     * @param documentSelection the document selection criteria.
     */
    public DocumentVisitor(String documentSelection) {
        super(documentSelection);
    }

    public String getVisitorLibrary() { return "DumpVisitor"; }

}