org.apache.tapestry.record
Class PersistentPropertyData

java.lang.Object
  extended by org.apache.tapestry.record.PersistentPropertyData

public class PersistentPropertyData
extends java.lang.Object

Stores persistent property changes concerning a single page. The data may be stored as an encoded string and the PPD can turn between encoded and object form.

Since:
4.0
Author:
Howard M. Lewis Ship

Constructor Summary
PersistentPropertyData(PersistentPropertyDataEncoder encoder)
          Creates a new data using the specified encoder.
 
Method Summary
 java.lang.String getEncoded()
           
 java.util.List getPageChanges()
           
 void store(java.lang.String componentPath, java.lang.String propertyName, java.lang.Object newValue)
           
 void storeEncoded(java.lang.String encoded)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistentPropertyData

public PersistentPropertyData(PersistentPropertyDataEncoder encoder)
Creates a new data using the specified encoder. The set of page changes is initially empty.

Method Detail

getEncoded

public java.lang.String getEncoded()

getPageChanges

public java.util.List getPageChanges()

store

public void store(java.lang.String componentPath,
                  java.lang.String propertyName,
                  java.lang.Object newValue)

storeEncoded

public void storeEncoded(java.lang.String encoded)