XmlSnapshotServiceDefault

API

XmlSnapshotServiceDefault.java
class XmlSnapshotServiceDefault {
  XmlSnapshotServiceDefault(XmlService xmlService, SpecificationLoader specificationLoader)
  XmlSnapshotService.Snapshot snapshotFor(Object domainObject)     (1)
  Snapshot.Builder builderFor(Object domainObject)     (2)
  T getChildElementValue(Element el, String tagname, Class<T> expectedCls)
}
1 snapshotFor(Object)

Creates a simple snapshot of the domain object.

2 builderFor(Object)

Creates a builder that allows a custom snapshot - traversing additional associated properties or collections (using org.apache.causeway.applib.services.xmlsnapshot.XmlSnapshotService.Snapshot.Builder#includePath(String) and org.apache.causeway.applib.services.xmlsnapshot.XmlSnapshotService.Snapshot.Builder#includePathAndAnnotation(String, String) ) - to be created.

Members

snapshotFor(Object)

Creates a simple snapshot of the domain object.

builderFor(Object)

Creates a builder that allows a custom snapshot - traversing additional associated properties or collections (using org.apache.causeway.applib.services.xmlsnapshot.XmlSnapshotService.Snapshot.Builder#includePath(String) and org.apache.causeway.applib.services.xmlsnapshot.XmlSnapshotService.Snapshot.Builder#includePathAndAnnotation(String, String) ) - to be created.