net.wotonomy.foundation.xml
Interface XMLDecoder


public interface XMLDecoder

Defines an interface for classes that can de-serialize java objects from an XML representation.


Method Summary
 java.lang.Object decode(java.io.InputStream anInputStream, java.lang.String aDescription, java.net.URL aURL)
          Decodes an object from the specified input stream.
 

Method Detail

decode

java.lang.Object decode(java.io.InputStream anInputStream,
                        java.lang.String aDescription,
                        java.net.URL aURL)
Decodes an object from the specified input stream.

Parameters:
anInputStream - The input stream from which to read. The stream will be read fully.
aDescription - A description to accompany error messages for the stream, typically a file name.
aURL - A URL against which relative references within the XML will be resolved.
Returns:
The object that was constructed from the XML content, or null if no object could be constructed.


Copyright © 2006 null. All Rights Reserved.