public class RMXMLReader
extends java.lang.Object
This code hopes to find a
Constructor and Description |
---|
RMXMLReader()
Creates an unitialized reader.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getError()
Returns any error encountered while reading xml.
|
java.lang.String |
getName()
Returns the name of the root element.
|
RMSchema |
getSchema()
Returns a heirarchy of RMEntity objects describing the XML.
|
RMSchema |
getSchema(java.lang.Object aSource)
Returns a map loaded from the given XML source, with option to only return the schema.
|
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,
RMSchema aSchema)
Returns a map loaded from the given XML source with the given XML schema.
|
public java.lang.String getName()
public RMSchema getSchema()
public RMSchema getSchema(java.lang.Object aSource)
public java.util.Map readObject(java.lang.Object aSource)
public java.util.Map readObject(java.lang.Object aSource, RMSchema aSchema)
public java.lang.String getError()