Class RMXMLReader
java.lang.Object
com.inductiveautomation.rm.base.RMXMLReader
This class creates an object graph of collections (Map/List) and core Java types from a given XML
source. This works best when an RMSchema is provided or an <RMSchema> tag is present in the
xml (otherwise one is generated).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEntityList(String aName) Returns the individual list of maps for the given entity name.Returns the entity maps.getName()Returns the name of the root element.Returns the resources read from last source.Returns a hierarchy of RMEntity objects describing the XML.readObject(Object aSource) Returns a map loaded from the given XML source.readObject(Object aSource, Schema aSchema) Returns a map loaded from the given XML source with the given XML schema.
-
Constructor Details
-
RMXMLReader
public RMXMLReader()Creates an uninitialized reader.
-
-
Method Details
-
readObject
-
readObject
-
getName
Returns the name of the root element. -
getSchema
Returns a hierarchy of RMEntity objects describing the XML. -
getResources
-
getEntityLists
-
getEntityList
-