Package com.inductiveautomation.rm.base
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 SummaryConstructors
- 
Method SummaryModifier 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- 
RMXMLReaderpublic RMXMLReader()Creates an uninitialized reader.
 
- 
- 
Method Details- 
readObjectReturns a map loaded from the given XML source.
- 
readObjectReturns a map loaded from the given XML source with the given XML schema.
- 
getNameReturns the name of the root element.
- 
getSchemaReturns a hierarchy of RMEntity objects describing the XML.
- 
getResourcesReturns the resources read from last source.
- 
getEntityListsReturns the entity maps.
- 
getEntityListReturns the individual list of maps for the given entity name.
 
-