ReportMill 7.0 API

com.reportmill.foundation
Class RMXMLReader

java.lang.Object
  extended bycom.reportmill.foundation.RMXMLReader

public class RMXMLReader
extends java.lang.Object

RMXMLReader This class tries to load an XML file as a plist. A plist is made up of simple types (String, Number, Date) and just two complex types (List/Map). This makes the loaded data much less ambigous than standard XML datastructures. This code hopes to find a tag that better describes the form of the plist.


Constructor Summary
RMXMLReader()
           
 
Method Summary
 java.lang.String getError()
           
 java.lang.String getName()
          Returns the name of the root element.
 com.reportmill.foundation.RMEntity getSchema()
          Returns a heirarchy of RMEntity objects describing the XML.
 java.util.Map readObject(java.lang.Object aSource)
           
 java.util.Map readObject(java.lang.Object aSource, boolean schemaOnly)
           
 java.util.Map readObject(java.lang.Object aSource, com.reportmill.foundation.RMEntity aSchema)
           
 java.util.Map readObject(java.lang.Object aSource, com.reportmill.foundation.RMEntity aSchema, boolean schemaOnly)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMXMLReader

public RMXMLReader()
Method Detail

getName

public java.lang.String getName()
Returns the name of the root element.


getSchema

public com.reportmill.foundation.RMEntity getSchema()
Returns a heirarchy of RMEntity objects describing the XML.


readObject

public java.util.Map readObject(java.lang.Object aSource)

readObject

public java.util.Map readObject(java.lang.Object aSource,
                                boolean schemaOnly)

readObject

public java.util.Map readObject(java.lang.Object aSource,
                                com.reportmill.foundation.RMEntity aSchema)

readObject

public java.util.Map readObject(java.lang.Object aSource,
                                com.reportmill.foundation.RMEntity aSchema,
                                boolean schemaOnly)

getError

public java.lang.String getError()

ReportMill 7.0 API