org.apache.cayenne.xml
Interface XMLSerializable

All Known Implementing Classes:
CayenneDataObject

public interface XMLSerializable

Interface for Cayenne objects that can be saved to XML.

Since:
1.2

Method Summary
 void decodeFromXML(XMLDecoder decoder)
          Decodes itself from XML using the provided XMLDecoder.
 void encodeAsXML(XMLEncoder encoder)
          Encodes itself as XML using the provided XMLEncoder.
 

Method Detail

encodeAsXML

void encodeAsXML(XMLEncoder encoder)
Encodes itself as XML using the provided XMLEncoder.

Parameters:
encoder - The encoder object.

decodeFromXML

void decodeFromXML(XMLDecoder decoder)
Decodes itself from XML using the provided XMLDecoder.

Parameters:
decoder - The decoder object.


Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.