Skip navigation links

Overview | Package | Class | Tree | Index | Help
| Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.tangosol.run.xml
Interface XmlSerializable

All Known Implementing Classes:
  SimpleDocument, SimpleElement, XmlBean

      public interface XmlSerializable

An interface for XML serialization.

Author:
  cp 2000.10.22

Method Summary
`void` | `fromXml(XmlElement xml)` Deserialize the object from an XmlElement.
`XmlElement` | `toXml()` Serialize the object into an XmlElement.

Method Detail

### toXml

    XmlElement toXml()

  Serialize the object into an XmlElement.
  Returns:
    an XmlElement that contains the serialized form of the object

### fromXml

    void fromXml(XmlElement xml)

  Deserialize the object from an XmlElement. This method can throw one of several RuntimeExceptions.
  Parameters:
    `xml` - an XmlElement that contains the serialized form of the object
  Throws:
    `UnsupportedOperationException`
    `IllegalStateException`
    `IllegalArgumentException`

Skip navigation links

Overview | Package | Class | Tree | Index | Help
| Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000, 2010, Oracle and/or its affiliates. All rights reserved.