|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.kilim.model.mapping.TextAreaMapper
Field Summary | |
private static java.util.HashMap |
inverse_table
|
private java.lang.String |
prefix
|
private javax.swing.JTextArea |
textArea
|
private static java.util.HashMap |
variables
|
private Mapper |
wrappedMapper
|
Constructor Summary | |
TextAreaMapper()
|
|
TextAreaMapper(Mapper aMapper)
Method JavaLogMapper. |
Method Summary | |
private static void |
addParameters(java.lang.StringBuffer bffr,
java.lang.Object[] paramObjects,
java.lang.String[] typeNames)
|
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. |
private static java.lang.String |
getResultString(java.lang.Object obj)
|
javax.swing.JTextArea |
getTextArea()
Method getTreeModel. |
private static java.lang.String |
getVariableName(java.lang.Object obj)
|
void |
leaveContext(MappingContext aContext)
Method leaveContext. |
private static java.lang.String |
normalizeToString(java.lang.Object obj)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private Mapper wrappedMapper
private javax.swing.JTextArea textArea
private java.lang.String prefix
private static java.util.HashMap variables
private static java.util.HashMap inverse_table
Constructor Detail |
public TextAreaMapper(Mapper aMapper)
aMapper
- :public TextAreaMapper()
Object.Object()
Method Detail |
public javax.swing.JTextArea getTextArea()
public void enterContext(MappingContext aContext) throws KilimException
Mapper
enterContext
in interface Mapper
aContext
- : 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 Mapper
aContext
- : the mapping context.
KilimException
- : generated by a specific mapper to indicate a (specific problem).org.objectweb.kilim.model.mapping.Mapper#leaveContext()
public java.lang.Object getGetterValue(java.lang.Object aSupport, boolean isStatic, java.lang.String fieldName, MappingContext aContext) throws KilimException
Mapper
getGetterValue
in interface Mapper
aSupport
- : 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 Mapper
aSupport
- : 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 Mapper
aSupport
- : 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 Mapper
aSupport
- : 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 Mapper
aClass
- : 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 Mapper
aClass
- : 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 Mapper
aValue
- : 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 Mapper
aValue
- : 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 Mapper
aClassName
- : 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 Mapper
aContext
- : 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 Mapper
aContext
- : 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)
executeNullElement
in interface Mapper
aContext
- :private static final void addParameters(java.lang.StringBuffer bffr, java.lang.Object[] paramObjects, java.lang.String[] typeNames)
private static java.lang.String normalizeToString(java.lang.Object obj)
private static java.lang.String getResultString(java.lang.Object obj)
private static java.lang.String getVariableName(java.lang.Object obj)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |