|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.progeeks.meta.format.AbstractPropertyFormat
org.progeeks.meta.format.MetaFieldPropertyFormat
public class MetaFieldPropertyFormat
PropertyFormat implementation that uses the value of a MetaObject field to convert a MetaObject into a string.
| Constructor Summary | |
|---|---|
MetaFieldPropertyFormat(java.lang.String fieldName)
Creates a property format object that will use the value of the specified field to convert a meta-object into a String using String.valueOf() on the property value. |
|
MetaFieldPropertyFormat(java.lang.String fieldName,
PropertyFormat format)
Creates a property format object that will use the value of the specified field to convert a meta-object into a String. |
|
| Method Summary | |
|---|---|
java.lang.String |
format(java.lang.Object obj)
Returns the formatted String for the specified Object. |
java.lang.Object |
parseObject(java.lang.String source,
int index)
Parsing is not supported. |
java.lang.String |
toString()
String summary. |
| Methods inherited from class org.progeeks.meta.format.AbstractPropertyFormat |
|---|
format, parseObject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MetaFieldPropertyFormat(java.lang.String fieldName)
public MetaFieldPropertyFormat(java.lang.String fieldName,
PropertyFormat format)
| Method Detail |
|---|
public java.lang.String format(java.lang.Object obj)
format in interface PropertyFormatformat in class AbstractPropertyFormat
public java.lang.Object parseObject(java.lang.String source,
int index)
parseObject in interface PropertyFormatparseObject in class AbstractPropertyFormatpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||