CORBA-JAVA

 view release on metacpan or  search on metacpan

javaxml/XMLOutputStream.java  view on Meta::CPAN

/*
 * @(#)XMLOutputStream.java
 *
 * Copyright 2004, Francois PERRAD
 */

package org.omg.CORBA.portable;

import java.io.*;
import org.omg.CORBA.TypeCode;
import org.omg.CORBA.Any;

import org.omg.CORBA.portable.XMLInputStream;

/**
 * XMLOuputStream is the Java API for writing IDL types
 * to XML/WS-I marshal streams. These methods are used by the ORB to
 * marshal IDL types as well as to insert IDL types into Anys.
 */


public abstract class XMLOutputStream extends java.io.OutputStream
{
    public abstract void write_open_tag (java.lang.String tag);

    public abstract void write_close_tag (java.lang.String tag);

    public abstract void write_pcdata (java.lang.String data);

    /**
     * Returns an input stream with the same buffer.
     *@return an input stream with the same buffer.
     */
    public abstract XMLInputStream create_input_stream();

    /**
     * Writes a boolean value to this stream.
     * @param value the value to be written.
     * @param tag the tag to be written.
     */
    public abstract void write_boolean (boolean value, java.lang.String tag);
    /**
     * Writes a char value to this stream.
     * @param value the value to be written.
     * @param tag the tag to be written.
     */
    public abstract void write_char (char value, java.lang.String tag);
    /**
     * Writes a wide char value to this stream.
     * @param value the value to be written.
     * @param tag the tag to be written.
     */
    public abstract void write_wchar (char value, java.lang.String tag);
    /**
     * Writes a CORBA octet (i.e. byte) value to this stream.
     * @param value the value to be written.
     * @param tag the tag to be written.
     */
    public abstract void write_octet (byte value, java.lang.String tag);
    /**
     * Writes a short value to this stream.
     * @param value the value to be written.
     * @param tag the tag to be written.
     */
    public abstract void write_short (short value, java.lang.String tag);
    /**
     * Writes an unsigned short value to this stream.
     * @param value the value to be written.
     * @param tag the tag to be written.
     */
    public abstract void write_ushort (short value, java.lang.String tag);
    /**
     * Writes a CORBA long (i.e. Java int) value to this stream.
     * @param value the value to be written.
     * @param tag the tag to be written.
     */
    public abstract void write_long (int value, java.lang.String tag);
    /**
     * Writes an unsigned CORBA long (i.e. Java int) value to this stream.
     * @param value the value to be written.
     * @param tag the tag to be written.
     */
    public abstract void write_ulong (int value, java.lang.String tag);
    /**
     * Writes a CORBA longlong (i.e. Java long) value to this stream.
     * @param value the value to be written.
     * @param tag the tag to be written.
     */



( run in 1.948 second using v1.01-cache-2.11-cpan-39bf76dae61 )