org.codehaus.stax2.io.Stax2ReferentialResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of swagger-all Show documentation
Show all versions of swagger-all Show documentation
swagger-all is a rebundled verison of Swagger as one OSGi bundle.
The newest version!
package org.codehaus.stax2.io;
import java.io.*;
/**
* This is the mid-level abstract base class for {@link Stax2Result}s
* that refer to a resource in such a way, that an efficient
* {@link OutputStream} or {@link Writer} can be constructed.
*
* @see Stax2FileResult
*/
public abstract class Stax2ReferentialResult
extends Stax2Result
{
protected Stax2ReferentialResult() { }
/*
/////////////////////////////////////////
// Public API
/////////////////////////////////////////
*/
public abstract Writer constructWriter() throws IOException;
public abstract OutputStream constructOutputStream() throws IOException;
}