FvctxNodeNull.java 4.21 KB
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  com.scene7.is.catalog.util.localization.LocaleMap
 *  com.scene7.is.provider.ImageSetColorLabel
 *  com.scene7.is.util.SizeInt
 *  com.scene7.is.util.error.ApplicationException
 *  org.jetbrains.annotations.NotNull
 */
package com.scene7.is.ps.provider.fvctx;

import com.scene7.is.catalog.util.localization.LocaleMap;
import com.scene7.is.provider.ImageSetColorLabel;
import com.scene7.is.ps.provider.IZoomException;
import com.scene7.is.ps.provider.Request;
import com.scene7.is.ps.provider.fvctx.FvctxImageProps;
import com.scene7.is.ps.provider.fvctx.FvctxNode;
import com.scene7.is.ps.provider.fvctx.MediaSetItemType;
import com.scene7.is.ps.provider.fvctx.MediaSetMetaData;
import com.scene7.is.ps.provider.fvctx.MediaSetSetType;
import com.scene7.is.ps.provider.fvctx.MediaSetVideoProps;
import com.scene7.is.util.SizeInt;
import com.scene7.is.util.error.ApplicationException;
import org.jetbrains.annotations.NotNull;

class FvctxNodeNull
implements FvctxNode {
    @NotNull
    private final FvctxNode next;

    FvctxNodeNull(@NotNull FvctxNode next) {
        this.next = next;
    }

    @NotNull
    public FvctxNode getNext() {
        return this.next;
    }

    @Override
    public void startItem(MediaSetItemType type) {
        this.next.startItem(type);
    }

    @Override
    public void endItem(@NotNull String imageVersion) {
        this.next.endItem(imageVersion);
    }

    @Override
    public void startSet(@NotNull String recordName, @NotNull MediaSetSetType setType) {
        this.next.startSet(recordName, setType);
    }

    @Override
    public void endSet(@NotNull MediaSetMetaData metaData) throws ApplicationException {
        this.next.endSet(metaData);
    }

    @Override
    public void startFrameset() {
        this.next.startFrameset();
    }

    @Override
    public void endFrameset(SizeInt size, String imageVersion, String metaVersion, boolean anonymousFrames) {
        this.next.endFrameset(size, imageVersion, metaVersion, anonymousFrames);
    }

    @Override
    public void startFrame(@NotNull String netPath, @NotNull String query, Request parsedRequest, FvctxImageProps imageProps, boolean hasNestedFrame, boolean isMediaSetItem) throws ApplicationException {
        this.next.startFrame(netPath, query, parsedRequest, imageProps, hasNestedFrame, isMediaSetItem);
    }

    @Override
    public void startVideoFrame(@NotNull String netPath, @NotNull String query, @NotNull MediaSetVideoProps videoProps) throws ApplicationException {
        this.next.startVideoFrame(netPath, query, videoProps);
    }

    @Override
    public void endFrame(SizeInt size, @NotNull String imageVersion, @NotNull MediaSetMetaData metaData, boolean hasNestedFrame) throws IZoomException {
        this.next.endFrame(size, imageVersion, metaData, hasNestedFrame);
    }

    @Override
    public void endVideoFrame(@NotNull MediaSetMetaData metaData, @NotNull String version, @NotNull String suffix) throws IZoomException {
        this.next.endVideoFrame(metaData, version, suffix);
    }

    @Override
    public void startAnonymousFrame() throws IZoomException {
        this.next.startAnonymousFrame();
    }

    @Override
    public void endAnonymousFrame() throws IZoomException {
        this.next.endAnonymousFrame();
    }

    @Override
    public void image(@NotNull String netPath, @NotNull String query, Request parsedRequest, FvctxImageProps imageProps) throws ApplicationException {
        this.next.image(netPath, query, parsedRequest, imageProps);
    }

    @Override
    public void swatch(@NotNull String netPath, @NotNull String query, Request parsedRequest, FvctxImageProps imageProps, boolean hasNestedFrame, boolean isMediaItemSwatch) throws ApplicationException {
        this.next.swatch(netPath, query, parsedRequest, imageProps, hasNestedFrame, isMediaItemSwatch);
    }

    @Override
    public void swatch(@NotNull ImageSetColorLabel data, @NotNull LocaleMap localeMap, @NotNull String locale, boolean hasNestedFrame) throws ApplicationException {
        this.next.swatch(data, localeMap, locale, hasNestedFrame);
    }

    @Override
    public void defaultSwatch() throws ApplicationException {
        this.next.defaultSwatch();
    }
}