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.

      @Deprecated
      public interface XMLSerializable

  Interface for Cayenne objects that can be saved to XML.
  Since:
    1.2

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `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.

Copyright © 2001–2018 Apache Cayenne. All rights reserved.