org.apache.tapestry.record
Interface PersistentPropertyDataEncoder

All Known Implementing Classes:
PersistentPropertyDataEncoderImpl

public interface PersistentPropertyDataEncoder

Responsible for encoding PropertyChanges into and out of plain strings.

Since:
4.0
Author:
Howard M. Lewis Ship

Method Summary
 java.util.List decodePageChanges(java.lang.String encoded)
          Takes a string with an encoded set of page changes, and converts it back into a list of PropertyChanges.
 java.lang.String encodePageChanges(java.util.List changes)
          Encodes a (possibly empty) list of PropertyChanges into a string representation that can later be decoded.
 

Method Detail

encodePageChanges

public java.lang.String encodePageChanges(java.util.List changes)
Encodes a (possibly empty) list of PropertyChanges into a string representation that can later be decoded.


decodePageChanges

public java.util.List decodePageChanges(java.lang.String encoded)
Takes a string with an encoded set of page changes, and converts it back into a list of PropertyChanges.