gr.uoa.di.madgik.execution.utils
Class ReflectableAnalyzer

java.lang.Object
  extended by gr.uoa.di.madgik.execution.utils.ReflectableAnalyzer

public class ReflectableAnalyzer
extends Object


Field Summary
 IExternalClassLoader extLoader
           
 Class<?> Reflectable
           
 HashSet<String> UnderInvestigation
           
 
Constructor Summary
ReflectableAnalyzer()
           
ReflectableAnalyzer(Class<?> Reflectable, IExternalClassLoader extLoader)
           
 
Method Summary
 boolean CanDescribeAsReflectable()
           
 boolean CanRepresentAsReflectable()
           
static Class<?> GetBaseComponentType(Class<?> Array, IExternalClassLoader extLoader)
           
 String GetReflectableDescription()
           
 DataTypeReflectable PopulateReflectableFromTemplate(String Template, String Value, int i, Map<String,String> TokenMapping)
           
 Object PopulateTarget(DataTypeReflectable template, Map<String,String> TokenMapping)
           
 String PopulateTemplateFromReflectable(String Template, DataTypeReflectable refl, Map<String,String> TokenMapping)
           
 DataTypeReflectable ProduceReflectable(Object Value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Reflectable

public Class<?> Reflectable

UnderInvestigation

public HashSet<String> UnderInvestigation

extLoader

public IExternalClassLoader extLoader
Constructor Detail

ReflectableAnalyzer

public ReflectableAnalyzer()

ReflectableAnalyzer

public ReflectableAnalyzer(Class<?> Reflectable,
                           IExternalClassLoader extLoader)
Method Detail

CanDescribeAsReflectable

public boolean CanDescribeAsReflectable()

CanRepresentAsReflectable

public boolean CanRepresentAsReflectable()

GetReflectableDescription

public String GetReflectableDescription()

PopulateTemplateFromReflectable

public String PopulateTemplateFromReflectable(String Template,
                                              DataTypeReflectable refl,
                                              Map<String,String> TokenMapping)
                                       throws Exception
Throws:
Exception

PopulateReflectableFromTemplate

public DataTypeReflectable PopulateReflectableFromTemplate(String Template,
                                                           String Value,
                                                           int i,
                                                           Map<String,String> TokenMapping)
                                                    throws Exception
Throws:
Exception

PopulateTarget

public Object PopulateTarget(DataTypeReflectable template,
                             Map<String,String> TokenMapping)
                      throws InstantiationException,
                             IllegalAccessException,
                             IllegalArgumentException,
                             InvocationTargetException,
                             ExecutionValidationException
Throws:
InstantiationException
IllegalAccessException
IllegalArgumentException
InvocationTargetException
ExecutionValidationException

ProduceReflectable

public DataTypeReflectable ProduceReflectable(Object Value)
                                       throws ExecutionValidationException,
                                              IllegalArgumentException,
                                              IllegalAccessException,
                                              InvocationTargetException
Throws:
ExecutionValidationException
IllegalArgumentException
IllegalAccessException
InvocationTargetException

GetBaseComponentType

public static Class<?> GetBaseComponentType(Class<?> Array,
                                            IExternalClassLoader extLoader)


Copyright © 2012. All Rights Reserved.