public class RMXMLReader
extends java.lang.Object
Constructor and Description |
---|
RMXMLReader()
Creates an uninitialized reader.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.util.Map> |
getEntityList(java.lang.String aName)
Returns the individual list of maps for the given entity name.
|
java.util.Map<java.lang.String,java.util.List<java.util.Map>> |
getEntityLists()
Returns the entity maps.
|
java.lang.String |
getName()
Returns the name of the root element.
|
java.util.List<RXElement> |
getResources()
Returns the resources read from last source.
|
Schema |
getSchema()
Returns a hierarchy of RMEntity objects describing the XML.
|
java.util.Map |
readObject(java.lang.Object aSource)
Returns a map loaded from the given XML source.
|
java.util.Map |
readObject(java.lang.Object aSource,
Schema aSchema)
Returns a map loaded from the given XML source with the given XML schema.
|
public java.util.Map readObject(java.lang.Object aSource)
public java.util.Map readObject(java.lang.Object aSource, Schema aSchema)
public java.lang.String getName()
public Schema getSchema()
public java.util.List<RXElement> getResources()
public java.util.Map<java.lang.String,java.util.List<java.util.Map>> getEntityLists()
public java.util.List<java.util.Map> getEntityList(java.lang.String aName)