Skip navigation links

Oracle® Database XML Java API Reference
11g Release 1 (11.1)

B28391-01


oracle.xml.binxml
Interface BinXMLStream


public interface BinXMLStream

This interface represents the binary XML Stream object. A Decoder or Encoder can be created from the binary XML stream. Otherise its mostly an opaque object.


Method Summary
 BinXMLDecoder getDecoder()
          Factory method to get the BinXMLDecoder object associated with this binary stream.
 BinXMLEncoder getEncoder()
          Factory method to get the BinXMLEncoder object associated with this binary stream.

 

Method Detail

getEncoder

BinXMLEncoder getEncoder()
                         throws BinXMLException
Factory method to get the BinXMLEncoder object associated with this binary stream. Only getEncoder() or getDecoder() can be called on a stream but not both.
Returns:
BinXMLEncoder object for encoding to this binary stream
Throws:
BinXMLException - Raised for any errors encountered

getDecoder

BinXMLDecoder getDecoder()
                         throws BinXMLException
Factory method to get the BinXMLDecoder object associated with this binary stream. Only getEncoder() or getDecoder() can be called on a stream but not both.
Returns:
BinXMLDecoder object for decoding from this binary stream
Throws:
BinXMLException - Raised for any errors encountered

Skip navigation links

Oracle® Database XML Java API Reference
11g Release 1 (11.1)

B28391-01


Copyright © 2003, 2007, Oracle. All rights reserved.