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( anInputStream, java.lang.String aDescription, aURL)
          Decodes an object from the specified input stream.

Method Detail


java.lang.Object decode( anInputStream,
                        java.lang.String aDescription,
Decodes an object from the specified input stream.

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.
The object that was constructed from the XML content, or null if no object could be constructed.

Copyright © 2006 null. All Rights Reserved.