|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.objectweb.kilim.model.mapping.TreeModelMapper
| Field Summary | |
static int |
ACTION
constants for an action trigger |
private int |
seqNumber
|
static int |
SOURCE
constants for a value source |
private KilimTraceTreeModel |
treeModel
|
private Mapper |
wrappedMapper
|
| Constructor Summary | |
TreeModelMapper()
Method JavaLogMapper. |
|
TreeModelMapper(Mapper aMapper)
Method JavaLogMapper. |
|
| Method Summary | |
void |
enterContext(MappingContext aContext)
Method enterContext. |
void |
executeConstructor(java.lang.Class aClass,
java.lang.Object[] paramObjects,
java.lang.String[] typeNames,
MappingContext aContext)
Method executeConstructor. |
void |
executeMethod(java.lang.Object aSupport,
boolean isStatic,
java.lang.String aMethodName,
java.lang.Object[] paramObjects,
java.lang.String[] typeNames,
MappingContext aContext)
Method executeMethod. |
void |
executeNullElement(MappingContext aContext)
Method executeNullElement. |
void |
executeSetter(java.lang.Object aSupport,
boolean isStatic,
java.lang.String fieldName,
java.lang.Object toBeSet,
MappingContext aContext)
Method executeSetter. |
java.lang.Object |
getClassValue(java.lang.String aClassName,
MappingContext aContext)
Method getClassSourceValue. |
java.lang.Object |
getConstructorValue(java.lang.Class aClass,
java.lang.Object[] paramObjects,
java.lang.String[] typeNames,
MappingContext aContext)
Method getConstructorValue. |
java.lang.Object |
getEventSourceValue(MappingContext aContext)
Method getEventSourceValue..... |
java.lang.Object |
getExternalValue(java.lang.Object aValue,
MappingContext aContext)
Method getExternalValue. |
java.lang.Object |
getGetterValue(java.lang.Object aSupport,
boolean isStatic,
java.lang.String fieldName,
MappingContext aContext)
Method getGetterValue. |
java.lang.Object |
getMethodValue(java.lang.Object aSupport,
boolean isStatic,
java.lang.String aMethodName,
java.lang.Object[] paramObjects,
java.lang.String[] typeNames,
MappingContext aContext)
Method getMethodValue. |
java.lang.Object |
getNullElementValue(MappingContext aContext)
Method getNullElementValue. |
java.lang.Object |
getPropertyValue(java.lang.Object aValue,
MappingContext aContext)
Method getPropertyValue. |
KilimTraceTreeModel |
getTraceTree()
Method getTreeModel. |
void |
leaveContext(MappingContext aContext)
Method leaveContext. |
private void |
setSeqNumberAndMode(MappingContext aContext,
int aMode)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int SOURCE
public static final int ACTION
private Mapper wrappedMapper
private KilimTraceTreeModel treeModel
private int seqNumber
| Constructor Detail |
public TreeModelMapper(Mapper aMapper)
aMapper - :public TreeModelMapper()
| Method Detail |
public KilimTraceTreeModel getTraceTree()
public void enterContext(MappingContext aContext)
throws KilimException
Mapper
enterContext in interface MapperaContext - : the mapping context
KilimException - : generated by a specific mapper to indicate a (specific problem).org.objectweb.kilim.model.mapping.Mapper#enterContext(Object)
public void leaveContext(MappingContext aContext)
throws KilimException
Mapper
leaveContext in interface MapperaContext - : the mapping context.
KilimException - : generated by a specific mapper to indicate a (specific problem).org.objectweb.kilim.model.mapping.Mapper#leaveContext()
private void setSeqNumberAndMode(MappingContext aContext,
int aMode)
public java.lang.Object getGetterValue(java.lang.Object aSupport,
boolean isStatic,
java.lang.String fieldName,
MappingContext aContext)
throws KilimException
Mapper
getGetterValue in interface MapperaSupport - : the support of the getterisStatic - : true if the getter is staticfieldName - : the name of the field to be accessedaContext - : the mapping context
KilimException - : generated if aSupport is null, if fieldName is null or if no getter corresponding to the signature exists.
Also generated by a specific mapper to indicate a (specific problem).org.objectweb.kilim.model.mapping.KilimMapper#getGetterValue(Object, boolean, String, MappingContext)
public void executeSetter(java.lang.Object aSupport,
boolean isStatic,
java.lang.String fieldName,
java.lang.Object toBeSet,
MappingContext aContext)
throws KilimException
Mapper
executeSetter in interface MapperaSupport - : the support of the getterisStatic - : true if the getter is staticfieldName - : the name of the field to be accessedtoBeSet - : the value to be set.aContext - : the mapping context
KilimException - : generated if aSupport is null, if fieldName is null or if no getter corresponding to the signature exists.
Also generated by a specific mapper to indicate a (specific problem).org.objectweb.kilim.model.mapping.KilimMapper#executeSetter(Object, boolean, String, Object, MappingContext)
public java.lang.Object getMethodValue(java.lang.Object aSupport,
boolean isStatic,
java.lang.String aMethodName,
java.lang.Object[] paramObjects,
java.lang.String[] typeNames,
MappingContext aContext)
throws KilimException
Mapper
getMethodValue in interface MapperaSupport - : the support of the methodisStatic - : true if the method is staticaMethodName - : the name of the methodparamObjects - : the ordered values of the method parameterstypeNames - : the ordered types of the method parameters.aContext - : the mapping context.
KilimException - :generated if aSupport is null, if methodName is null or if no method corresponding to the signature exists.
Also generated by a specific mapper to indicate a (specific problem).org.objectweb.kilim.model.mapping.KilimMapper#getMethodValue(Object, boolean, String, Object[], String[], MappingContext)
public void executeMethod(java.lang.Object aSupport,
boolean isStatic,
java.lang.String aMethodName,
java.lang.Object[] paramObjects,
java.lang.String[] typeNames,
MappingContext aContext)
throws KilimException
Mapper
executeMethod in interface MapperaSupport - : the support of the methodisStatic - : true if the method is staticaMethodName - : the name of the methodparamObjects - : the ordered values of the method parameterstypeNames - : the ordered types of the method parameters.aContext - : the mapping context.
KilimException - :generated if aSupport is null, if methodName is null or if no method corresponding to the signature exists.
Also generated by a specific mapper to indicate a (specific problem).org.objectweb.kilim.model.mapping.KilimMapper#executeMethod(Object, boolean, String, Object[], String[], MappingContext)
public java.lang.Object getConstructorValue(java.lang.Class aClass,
java.lang.Object[] paramObjects,
java.lang.String[] typeNames,
MappingContext aContext)
throws KilimException
Mapper
getConstructorValue in interface MapperaClass - : the class for the constructorparamObjects - : the ordered values of the method parameterstypeNames - : the ordered types of the method parameters.aContext - : the mapping context.
KilimException - :generated if aSupport is null, if methodName is null or if no method corresponding to the signature exists.
Also generated by a specific mapper to indicate a (specific problem).org.objectweb.kilim.model.mapping.KilimMapper#getConstructorValue(Class, Object[], String[], MappingContext)
public void executeConstructor(java.lang.Class aClass,
java.lang.Object[] paramObjects,
java.lang.String[] typeNames,
MappingContext aContext)
throws KilimException
Mapper
executeConstructor in interface MapperaClass - : the class for the constructorparamObjects - : the ordered values of the method parameterstypeNames - : the ordered types of the method parameters.aContext - : the mapping context.
KilimException - :generated if aSupport is null, if methodName is null or if no method corresponding to the signature exists.
Also generated by a specific mapper to indicate a (specific problem).org.objectweb.kilim.model.mapping.KilimMapper#executeConstructor(Class, Object[], String[], MappingContext)
public java.lang.Object getExternalValue(java.lang.Object aValue,
MappingContext aContext)
throws KilimException
Mapper
getExternalValue in interface MapperaValue - : the external reference identifier.aContext - : the mapping context.
KilimException - : generated if value is null. Also generated by a specific mapper to indicate a (specific problem).org.objectweb.kilim.model.mapping.KilimMapper#getExternalValue(Object, MappingContext)
public java.lang.Object getPropertyValue(java.lang.Object aValue,
MappingContext aContext)
throws KilimException
Mapper
getPropertyValue in interface MapperaValue - : the property identifier.aContext - : the mapping context.
KilimException - : generated if aValue is null. Also generated by a specific mapper to indicate a (specific problem).org.objectweb.kilim.model.mapping.KilimMapper#getPropertyValue(Object, MappingContext)
public java.lang.Object getClassValue(java.lang.String aClassName,
MappingContext aContext)
throws KilimException
Mapper
getClassValue in interface MapperaClassName - : the name of the classaContext - : the mapping context
KilimException - : generated if aClassName is null or if no Class object can be found.
Also generated by a specific mapper to indicate a (specific problem).org.objectweb.kilim.model.mapping.KilimMapper#getClassValue(String, MappingContext)
public java.lang.Object getEventSourceValue(MappingContext aContext)
throws KilimException
Mapper
getEventSourceValue in interface MapperaContext - : the mapping context.
KilimException - : generated by a specific mapper to indicate a (specific problem).org.objectweb.kilim.model.mapping.KilimMapper#getEventSourceValue(MappingContext)
public java.lang.Object getNullElementValue(MappingContext aContext)
throws KilimException
Mapper
getNullElementValue in interface MapperaContext - : the mapping context.
KilimException - : generated by a specific mapper to indicate a (specific problem).org.objectweb.kilim.model.mapping.KilimMapper#getNullElementValue(MappingContext)
public void executeNullElement(MappingContext aContext)
throws KilimException
Mapper
executeNullElement in interface MapperaContext - : the mapping context
KilimException - : generated by a specific mapper to indicate a (specific problem).Mapper.executeNullElement(MappingContext)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||