electric.xml.io
Interface ISerializable

All Known Subinterfaces:
ICommand, IInquiryCommand, IPublicationCommand, ISecurityPolicyCommand, ISubscriptionCommand
All Known Implementing Classes:
AccessPoint, AddAssertions, Address, AddressLine, Assertion, Assertions, AssertionStatus, AssertionStatusReport, Authorization, Binding, Bindings, Business, Businesses, BusinessInfo, BusinessInfos, Contact, DeleteAssertions, DeleteBindings, DeleteBusinesses, DeleteServices, DeleteSubscriptions, DeleteTModels, Description, DiscardAuthorization, DiscoveryURL, DispositionReport, Email, FindBindings, FindBusinesses, FindRelatedBusinesses, FindServices, FindTModels, GetAssertions, GetAssertionStatusReport, GetAuthorization, GetBindings, GetBusinesses, GetOperationalInfo, GetRegistered, GetServices, GetSubscriptionResults, GetSubscriptions, GetTModels, KeyedReference, Name, OperationalInfo, OperationalInfos, Overview, Phone, Qualifier, Registered, RelatedBusinessInfo, RelatedBusinessInfos, SaveBindings, SaveBusinesses, SaveServices, SaveSubscriptions, SaveTModels, Service, ServiceInfo, ServiceInfos, Services, SetAssertions, Subscription, SubscriptionResults, Subscriptions, TModel, TModelInfo, TModelInfos, TModelInstance, TModels

public interface ISerializable

ISerializable must be implemented by all objects that wish to serialize/deserialize their contents to an XML stream.

Author:
webMethods

Method Summary
 void read(IReader reader)
          Restore myself from the specified reader.
 void write(IWriter writer)
          Write myself to the specified writer.
 

Method Detail

write

public void write(IWriter writer)
           throws java.io.IOException
Write myself to the specified writer.

Parameters:
writer - The IWriter
Throws:
java.io.IOException - If a serialization error occurs.

read

public void read(IReader reader)
          throws java.io.IOException
Restore myself from the specified reader.

Parameters:
reader - The IReader
Throws:
java.io.IOException - If a deserialization error occurs.


copyright© 2001-2004 by webMethods All Rights Reserved.