Package uk.ac.diamond.scisoft.analysis.rpc.flattening
package uk.ac.diamond.scisoft.analysis.rpc.flattening
This package contains the "flatteners" that are used as part of AnalysisRpc to flatten/unflatten data types before
passing them to the XML-RPC transport layer.
Most clients will want to deal with AnalysisRpc* classes directly and let them instantiate and use the flatteners as needed. The only exception is the special wrapper classes that allow specific functionality to be performed that cannot be easily represented without wrapping simpler data types. At the time of writing, these are the classes, see their javadocs for more info:
-
ClassDescriptionUse this class to describe a data set that already resides on disk and can be loaded using the file loaders.IFlattener<T>Implementations can "flatten" or "unflatten" instances of objects.Specification of legal form for flattened objects.Implementations can "flatten" themselves by implementing this interface.
IRootFlattenerimplementation to flatten/unflatten objects for transportation over XMLRPC.A wrapper type fornull(on Java) orNone(on Python)