EnhancedPropertyFormatter, PropertyFormatter@Deprecated public class EnhancedPropertyFormatterWrapper extends Object implements EnhancedPropertyFormatter
| Constructor | Description |
|---|---|
EnhancedPropertyFormatterWrapper(PropertyFormatter delegate) |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
appendFormatted(StringBuilder builder,
boolean b) |
Deprecated.
Format a boolean.
|
void |
appendFormatted(StringBuilder builder,
boolean[] b) |
Deprecated.
Format an array of booleans
|
void |
appendFormatted(StringBuilder builder,
byte b) |
Deprecated.
Format a byte
|
void |
appendFormatted(StringBuilder builder,
byte[] b) |
Deprecated.
Format an array of bytes
|
void |
appendFormatted(StringBuilder builder,
char c) |
Deprecated.
Format a character
|
void |
appendFormatted(StringBuilder builder,
char[] c) |
Deprecated.
Format an array of characters
|
void |
appendFormatted(StringBuilder builder,
double d) |
Deprecated.
Format a double
|
void |
appendFormatted(StringBuilder builder,
double[] d) |
Deprecated.
Format an array of doubles
|
void |
appendFormatted(StringBuilder builder,
float f) |
Deprecated.
Format a float
|
void |
appendFormatted(StringBuilder builder,
float[] f) |
Deprecated.
Format an array of floats
|
void |
appendFormatted(StringBuilder builder,
int i) |
Deprecated.
Format an integer
|
void |
appendFormatted(StringBuilder builder,
int[] i) |
Deprecated.
Format an array of integers
|
void |
appendFormatted(StringBuilder builder,
long l) |
Deprecated.
Format a long
|
void |
appendFormatted(StringBuilder builder,
long[] l) |
Deprecated.
Format an array of longs
|
void |
appendFormatted(StringBuilder builder,
short s) |
Deprecated.
Format a short
|
void |
appendFormatted(StringBuilder builder,
short[] s) |
Deprecated.
Format an array of shorts
|
void |
appendFormatted(StringBuilder builder,
Object o) |
Deprecated.
Format an object; no attempt will be made to format it as an array.
|
void |
appendFormatted(StringBuilder builder,
Object[] o) |
Deprecated.
Format an array of Objects
|
void |
appendFormattedPossibleArray(StringBuilder builder,
Object o) |
Deprecated.
Format an object, which may be an array.
|
String |
format(Object value) |
Deprecated.
Format a given value.
|
void |
initialize(AnnotatedElement element) |
Deprecated.
Initialize the formatter for use; this method will be called exactly once on an instance, prior
to any calls to
PropertyFormatter.format(Object). |
public EnhancedPropertyFormatterWrapper(PropertyFormatter delegate)
public void initialize(AnnotatedElement element)
PropertyFormatterPropertyFormatter.format(Object). This method does not need to be thread-safe. A typical implementation
might inspect the element for additional annotations used to configure the formatter.initialize in interface EnhancedPropertyFormatterinitialize in interface PropertyFormatterelement - the field or method this formatter will be used for.public String format(Object value)
PropertyFormatterformat in interface PropertyFormattervalue - the value to formatpublic void appendFormatted(StringBuilder builder, Object o)
EnhancedPropertyFormatterappendFormatted in interface EnhancedPropertyFormatterbuilder - the builder to append the formatted representation of the object too - the object to formatpublic void appendFormatted(StringBuilder builder, boolean b)
EnhancedPropertyFormatterappendFormatted in interface EnhancedPropertyFormatterbuilder - the builder to append the formatted representation of the boolean tob - the boolean to formatpublic void appendFormatted(StringBuilder builder, byte b)
EnhancedPropertyFormatterappendFormatted in interface EnhancedPropertyFormatterbuilder - the builder to append the formatted representation of the byte tob - the byte to formatpublic void appendFormatted(StringBuilder builder, short s)
EnhancedPropertyFormatterappendFormatted in interface EnhancedPropertyFormatterbuilder - the builder to append the formatted representation of the short tos - the short to formatpublic void appendFormatted(StringBuilder builder, char c)
EnhancedPropertyFormatterappendFormatted in interface EnhancedPropertyFormatterbuilder - the builder to append the formatted representation of the character toc - the character to formatpublic void appendFormatted(StringBuilder builder, int i)
EnhancedPropertyFormatterappendFormatted in interface EnhancedPropertyFormatterbuilder - the builder to append the formatted representation of the integer toi - the integer to formatpublic void appendFormatted(StringBuilder builder, long l)
EnhancedPropertyFormatterappendFormatted in interface EnhancedPropertyFormatterbuilder - the builder to append the formatted representation of the long tol - the long to formatpublic void appendFormatted(StringBuilder builder, float f)
EnhancedPropertyFormatterappendFormatted in interface EnhancedPropertyFormatterbuilder - the builder to append the formatted representation of the float tof - the float to formatpublic void appendFormatted(StringBuilder builder, double d)
EnhancedPropertyFormatterappendFormatted in interface EnhancedPropertyFormatterbuilder - the builder to append the formatted representation of the double tod - the double to formatpublic void appendFormatted(StringBuilder builder, boolean[] b)
EnhancedPropertyFormatterappendFormatted in interface EnhancedPropertyFormatterbuilder - the builder to append the formatted representation of the array tob - the array to formatpublic void appendFormatted(StringBuilder builder, byte[] b)
EnhancedPropertyFormatterappendFormatted in interface EnhancedPropertyFormatterbuilder - the builder to append the formatted representation of the array tob - the array to formatpublic void appendFormatted(StringBuilder builder, short[] s)
EnhancedPropertyFormatterappendFormatted in interface EnhancedPropertyFormatterbuilder - the builder to append the formatted representation of the array tos - the array to formatpublic void appendFormatted(StringBuilder builder, char[] c)
EnhancedPropertyFormatterappendFormatted in interface EnhancedPropertyFormatterbuilder - the builder to append the formatted representation of the array toc - the array to formatpublic void appendFormatted(StringBuilder builder, int[] i)
EnhancedPropertyFormatterappendFormatted in interface EnhancedPropertyFormatterbuilder - the builder to append the formatted representation of the array toi - the array to formatpublic void appendFormatted(StringBuilder builder, long[] l)
EnhancedPropertyFormatterappendFormatted in interface EnhancedPropertyFormatterbuilder - the builder to append the formatted representation of the array tol - the array to formatpublic void appendFormatted(StringBuilder builder, float[] f)
EnhancedPropertyFormatterappendFormatted in interface EnhancedPropertyFormatterbuilder - the builder to append the formatted representation of the array tof - the array to formatpublic void appendFormatted(StringBuilder builder, double[] d)
EnhancedPropertyFormatterappendFormatted in interface EnhancedPropertyFormatterbuilder - the builder to append the formatted representation of the array tod - the array to formatpublic void appendFormatted(StringBuilder builder, Object[] o)
EnhancedPropertyFormatterappendFormatted in interface EnhancedPropertyFormatterbuilder - the builder to append the formatted representation of the array too - the array to formatpublic void appendFormattedPossibleArray(StringBuilder builder, Object o)
EnhancedPropertyFormatterappendFormattedPossibleArray in interface EnhancedPropertyFormatterbuilder - the builder to append the formatted representation of the object too - the object to formatCopyright © 2008–2018. All rights reserved.