TextLayerSource.java 724 Bytes
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  com.scene7.is.provider.LayerSourceEnum
 *  org.jetbrains.annotations.NotNull
 */
package com.scene7.is.ps.provider;

import com.scene7.is.provider.LayerSourceEnum;
import com.scene7.is.ps.provider.LayerSource;
import org.jetbrains.annotations.NotNull;

public class TextLayerSource
implements LayerSource {
    @NotNull
    private final String value;

    public TextLayerSource(@NotNull String value) {
        this.value = value;
    }

    @NotNull
    @Override
    public LayerSourceEnum getType() {
        return LayerSourceEnum.IS;
    }

    @NotNull
    @Override
    public String getValue() {
        return this.value;
    }
}