com.aspose.words
Class ReportingEngine

java.lang.Object
    extended by com.aspose.words.ReportingEngine

public class ReportingEngine 
extends java.lang.Object

Provides routines to populate template documents with data and a set of settings to control these routines.

Constructor Summary
ReportingEngine()
           Initializes a new instance of this class.
 
Property Getters/Setters Summary
KnownTypeSetgetKnownTypes()
           Gets an unordered set (i.e. a collection of unique items) containing java.lang.Class objects which fully or partially qualified names can be used within report templates processed by this engine instance to invoke the corresponding types' static members, perform type casts, etc.
intgetOptions()
voidsetOptions(int value)
           Gets or sets a set of flags controlling behavior of this ReportingEngine instance while building a report. The value of the property is ReportBuildOptions integer constant.
static booleangetUseReflectionOptimization()
static voidsetUseReflectionOptimization(boolean value)
           Gets or sets a value indicating whether invocations of custom type members performed via reflection API are optimized using dynamic class generation or not. The default value is true.
 
Method Summary
booleanequals(java.lang.Object obj)
          
 

Constructor Detail

ReportingEngine

public ReportingEngine()
Initializes a new instance of this class.

Property Getters/Setters Detail

getKnownTypes

public KnownTypeSet getKnownTypes()
Gets an unordered set (i.e. a collection of unique items) containing java.lang.Class objects which fully or partially qualified names can be used within report templates processed by this engine instance to invoke the corresponding types' static members, perform type casts, etc.

getOptions/setOptions

public int getOptions() / public void setOptions(int value)
Gets or sets a set of flags controlling behavior of this ReportingEngine instance while building a report. The value of the property is ReportBuildOptions integer constant.

getUseReflectionOptimization/setUseReflectionOptimization

public static boolean getUseReflectionOptimization() / public static void setUseReflectionOptimization(boolean value)
Gets or sets a value indicating whether invocations of custom type members performed via reflection API are optimized using dynamic class generation or not. The default value is true. There are some scenarios where it is preferrable to disable this optimization. For example, if you are dealing with small collections of data items all the time, then an overhead of dynamic class generation can be more noticeable than an overhead of direct reflection API calls.

Method Detail

equals

public boolean equals(java.lang.Object obj)

See Also:
          Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
          Aspose.Words Support Forum - our preferred method of support.