XmlSnapshotBuilder Builds a XmlSnapshot fluently with a builder: XmlSnapshot snapshot = XmlSnapshotBuilder .create(customer) .includePath("placeOfBirth") .includePath("orders/product") .build(); Element customerAsXml = snapshot.toXml(); API XmlSnapshotBuilder.java class XmlSnapshotBuilder { XmlSnapshotBuilder usingSchema(XmlSchema schema) XmlSnapshotBuilder includePath(String path) XmlSnapshotBuilder includePathAndAnnotation(String path, String annotation) XmlSnapshot build() }