tagtraum industries: SIXBS - Simple XML Bean Serialization: Interface SIXBSSerializable

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

## com.tagtraum.sixbs
Interface SIXBSSerializable

public interface SIXBSSerializable

Marks an object as SIXBS-serializable, with special rules. This means that properties are only serialized when the method `serializable(String)` with the property name as argument returns true.

This interface should be used, if you are writing new code, that explicitly wants to use SIXBS, but has public properties that should not be serialized. Think of this as a way to mark prooerties as transient.

If you want to like to serialize objects that do not comply with the java beans conventions that have been written by a third party, you have to create an `Adapter`.

Version:
  $Id: SIXBSSerializable.java,v 1.2 2001/05/11 16:45:16 Hendrik Exp $
Author:
  Hendrik Schreiber
See Also:
  `Adapter`

Field Summary
`static String` | `vcid` Source-Version

Method Summary
`boolean` | `serializable(String propertyname)` Indicates whether a certain property should be serialized or not.

Field Detail

### vcid

    public static final String vcid

  Source-Version

Method Detail

### serializable

    public boolean serializable(String propertyname)

  Indicates whether a certain property should be serialized or not.
  Parameters:
    `propertyname` - Name of the property. E.g. `name` if the methods `setName()` and `getName()` exist
  Returns:
    true, if the property shall be serialized

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

Copyright © 2001 tagtraum industries.