summaryrefslogtreecommitdiffstats
path: root/document/src/main/java/com/yahoo/document/serialization/SpanNodeReader.java
blob: d5485be95feb53963db6bfa9d297efc5dfcfbeb0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.document.serialization;

import com.yahoo.document.annotation.AlternateSpanList;
import com.yahoo.document.annotation.Span;
import com.yahoo.document.annotation.SpanList;
import com.yahoo.document.annotation.SpanNode;

/**
 * @author <a href="mailto:einarmr@yahoo-inc.com">Einar M R Rosenvinge</a>
 */
public interface SpanNodeReader {
    public void read(Span span);
    public void read(SpanList spanList);
    public void read(AlternateSpanList altSpanList);
}