All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.codehaus.stax2.io.Stax2ReferentialResult Maven / Gradle / Ivy

Go to download

Stax2 API is an extension to basic Stax 1.0 API that adds significant new functionality, such as full-featured bi-direction validation interface and high-performance Typed Access API.

There is a newer version: 4.2.2
Show 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
    /////////////////////////////////////////
     */

    @Override
    public abstract Writer constructWriter() throws IOException;

    @Override
    public abstract OutputStream constructOutputStream() throws IOException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy