|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTranslatableAnalyzer
com.ibm.dtfj.analyzer.base.SimpleAnalyzerBean
com.ibm.dtfj.analyzer.helpers.ValueWrapper
com.ibm.dtfj.analyzer.helpers.objectwrapper.ObjectWrapper
com.ibm.dtfj.analyzer.j2se.wrappers.DateWrapper
public class DateWrapper
Extract information from a JavaObject that represents an instance of java.util.Date.
Field Summary |
---|
Fields inherited from class com.ibm.dtfj.analyzer.helpers.objectwrapper.ObjectWrapper |
---|
MODE_ALL, MODE_DEFAULT, MODE_INCLUDE_HEADER, MODE_INCLUDE_SIGNATURE, MODE_NONE, MODE_SHOW_INSTANCE_FINAL_FIELDS, MODE_SHOW_INSTANCE_NONFINAL_FIELDS, MODE_SHOW_STATIC_FINAL_FIELDS, MODE_SHOW_STATIC_NONFINAL_FIELDS, MODE_SPECIAL_FULL_REPORT |
Constructor Summary | |
---|---|
DateWrapper()
|
Method Summary | |
---|---|
java.util.Date |
getData()
Return an object that represents the data contained in the original Date. |
java.util.Date |
getDateValue()
Return an object that represents the data contained in the original Date. |
java.lang.String |
getIdentityString()
Provide a way for an analyzer to specify a customized identity string, that will be used in report references created with IAnalysisReport.printIdent(). |
static DateWrapper |
getInstance(IAnalyzerContext context,
com.ibm.dtfj.java.JavaObject parent)
Find the DateWrapper bean instance associated with a given parent JavaObject (create it if necessary) |
void |
setParent(java.lang.Object parent)
Set the parent JavaObject underlying this analyzer bean. |
Methods inherited from class com.ibm.dtfj.analyzer.helpers.objectwrapper.ObjectWrapper |
---|
checkMaskedField, endPrintGroup, getCachingPriority, getInstance, getValueAtPath, getValueAtPath, getVersion, printCollectionEntriesAtPath, printCollectionEntriesAtPath, printCollectionMapEntryReportsAtPath, printCollectionSizeAtPath, printCollectionValueReportsAtPath, printReportAtPath, printValueAtPath, printValueAtPath, produceReport, setMaskedFieldPattern, startPrintGroup, toString |
Methods inherited from class com.ibm.dtfj.analyzer.helpers.ValueWrapper |
---|
equals, getBooleanValue, getByteValue, getCharacterValue, getDoubleValue, getFloatValue, getIntegerValue, getJavaClassValue, getJavaObjectValue, getLongValue, getObjectWrapper, getObjectWrapper, getOneJavaClassValue, getOneJavaObjectValue, getRawValue, getShortValue, getStringValue, getTypeSignature, getValueWrapperInstance, hashCode, isBoolean, isByte, isCharacter, isDouble, isFloat, isInstanceOf, isInteger, isJavaClass, isJavaObject, isLong, isShort, isString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DateWrapper()
Method Detail |
---|
public static DateWrapper getInstance(IAnalyzerContext context, com.ibm.dtfj.java.JavaObject parent)
context
- the AnalyzerContext in which to locate this bean instanceparent
- the parent JavaObject underlying this analyzer bean
public void setParent(java.lang.Object parent)
setParent
in interface IWrapper
setParent
in class ValueWrapper
parent
- The parent object to set. Must be of type JavaObject,
and this JavaObject must represent an instance of a Date.IWrapper.setParent(java.lang.Object)
public java.util.Date getData() throws com.ibm.dtfj.image.DTFJException
com.ibm.dtfj.image.DTFJException
public java.util.Date getDateValue() throws com.ibm.dtfj.image.DTFJException
com.ibm.dtfj.image.DTFJException
public java.lang.String getIdentityString() throws com.ibm.dtfj.image.DTFJException
IWrapper
getIdentityString
in interface IWrapper
getIdentityString
in class SimpleAnalyzerBean
com.ibm.dtfj.image.DTFJException
IWrapper.getIdentityString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |