Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cayenne.xml
Interface XMLSerializable

All Known Implementing Classes:
  CayenneDataObject

Deprecated. since 3.1 this XML serialization package is deprecated and will be removed in the following releases. It has a number of functional and performance limitations that make it impossible to evolve further. A replacement may be provided in an undefined future. For now we recommend the users to implement XML serialization of persistent objects based JAXB, XStream or other similar frameworks.

    public interface XMLSerializable

Interface for Cayenne objects that can be saved to XML.

Since:
  1.2

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

Method Detail

### encodeAsXML

    void encodeAsXML(XMLEncoder encoder)

  Deprecated.
  Encodes itself as XML using the provided XMLEncoder.

  Parameters:
    `encoder` - The encoder object.

### decodeFromXML

    void decodeFromXML(XMLDecoder decoder)

  Deprecated.
  Decodes itself from XML using the provided XMLDecoder.

  Parameters:
    `decoder` - The decoder object.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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