Class RMArchiver
java.lang.Object
com.inductiveautomation.rm.archiver.RXArchiver
com.inductiveautomation.rm.archiver.RMArchiver
This class handles RM document archival.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.inductiveautomation.rm.archiver.RXArchiver
RXArchiver.Resource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Map
Creates the class map.Returns the class map.getDoc
(Object aSource, Archivable aBaseDoc) Creates a document.getParentShape
(Object aSource) Returns a parent shape for source.getShape
(Object aSource, Archivable aRootObj) Creates a document.static void
registerClass
(String elementName, Class clazz) If you add an RMShape type, you must register your xml element name here along with the class to use when deserializing.static void
unregisterClass
(String elementName) Methods inherited from class com.inductiveautomation.rm.archiver.RXArchiver
addResource, copy, fromXML, fromXML, fromXML, fromXMLList, getClass, getClass, getClassLoader, getParent, getParent, getReference, getReference, getReference, getResource, getResource, getResources, getResources, getRootObject, getRootXML, getSourceURL, indexOf, indexOf, newInstance, newInstance, popParent, pushParent, readObject, readObject, readObject, setClassLoader, setRootObject, toXML, toXML, writeObject
-
Constructor Details
-
RMArchiver
public RMArchiver()
-
-
Method Details
-
registerClass
If you add an RMShape type, you must register your xml element name here along with the class to use when deserializing. -
unregisterClass
-
getParentShape
Returns a parent shape for source. -
getShape
Creates a document. -
getDoc
Creates a document. -
getClassMap
Returns the class map.- Overrides:
getClassMap
in classRXArchiver
-
createClassMap
Creates the class map.- Overrides:
createClassMap
in classRXArchiver
-