view gnv-artifacts/src/main/java/de/intevation/gnv/transition/OutputTransition.java @ 70:0035862b0295

Refactoringwork done because of changes in the artifact-module gnv-artifacts/trunk@60 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Thu, 10 Sep 2009 09:40:49 +0000
parents d117fd4b82e5
children 504570de21fd
line wrap: on
line source
/**
 *
 */
package de.intevation.gnv.transition;

import java.util.Collection;

import de.intevation.gnv.transition.exception.TransitionException;

/**
 * @author Tim Englich <tim.englich@intevation.de>
 *
 */
public interface OutputTransition extends Transition {

    /**
     * Returns the Rendered Result of an Transition.
     * @param outputMode The Mode that should be produces (Chart, Map, ...)
     * @return The Bytecode of the Result
     * @throws TransitionException
     */
    public byte[] out( String outputMode) throws TransitionException;
    
    /**
     * Delivers the provided OutputModes of an Transition
     * @return the provided OutputModes of an Transition
     */
    public Collection<OutputMode> getOutputModes();
}

http://dive4elements.wald.intevation.org