Java 类org.simpleframework.xml.core.Persist 实例源码

项目:c2mon    文件:DataTagQualityImpl.java   
/**
 * Only used for serialization. The persist method is invoked before the serialization of the object. This allows
 * the object to prepare in some implementation specific way for the serialization process.
 */
@Persist
private void prepare() {
    isValid = isValid();
}
项目:simplexml    文件:SubstituteTest.java   
@Persist
public void persist() {
   throw new IllegalStateException("Simple substitute should never be written only read");
}
项目:simplexml    文件:ContextualCallbackTest.java   
@Persist
public void persist(Map map) {
   persisted = true;              
}
项目:simple-xml    文件:SubstituteTest.java   
@Persist
public void persist() {
   throw new IllegalStateException("Simple substitute should never be written only read");
}
项目:simple-xml    文件:ContextualCallbackTest.java   
@Persist
public void persist(Map map) {
   persisted = true;              
}