Package com.igormaznitsa.jbbp.io
Class JBBPOut
java.lang.Object
com.igormaznitsa.jbbp.io.AbstractMappedClassFieldObserver
com.igormaznitsa.jbbp.io.JBBPOut
The Class implements some kind of DSL to form binary blocks. The Class is not
a thread-safe one.
- Since:
- 1.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JBBPBitOrderThe Default bit outOrder.static final JBBPByteOrderThe Default byte outOrder. -
Method Summary
Modifier and TypeMethodDescriptionAlign()Align the current stream for 1 byte.Align(int value) Align number of bytes in the stream to the value.protected voidAssert that the session has not ended.static JBBPOutBeginBin()Start a DSL session for default parameters and inside byte array stream.static JBBPOutBeginBin(int initialSize) Start a DSL session for default parameters and inside byte array stream with defined start size.static JBBPOutBeginBin(JBBPBitOrder bitOrder) Start a DSL session for default byte outOrder and defined bite outOrder.static JBBPOutBeginBin(JBBPByteOrder byteOrder) Start a DSL session for default bit outOrder and defined byte outOrder.static JBBPOutBeginBin(JBBPByteOrder byteOrder, JBBPBitOrder bitOrder) Start a DSL session for defined both byte outOrder and bit outOrder parameters.static JBBPOutBeginBin(OutputStream out) Start a DSL session for a defined output stream and default parameters.static JBBPOutBeginBin(OutputStream out, JBBPByteOrder byteOrder, JBBPBitOrder bitOrder) Start a DSL session for a defined stream with defined parameters.Save fields of an object marked by Bin annotation.Bin(Object object, JBBPCustomFieldWriter customFieldWriter) Save fields of an object marked by Bin annotation.Bin(Object object, JBBPCustomFieldWriter customFieldWriter, BinFieldFilter binFieldFilter) Save fields of an object marked by Bin annotation.Bin(Object object, BinFieldFilter binFieldFilter) Save fields of an object marked by Bin annotation.Bin(Object object, BinAnnotationWrapper binAnnotationWrapper, JBBPCustomFieldWriter customFieldWriter) Save fields of object but bin annotation wrapper can be provided to replace some annotation field values in all field annotations.Bin(Object object, BinAnnotationWrapper binAnnotationWrapper, JBBPCustomFieldWriter customFieldWriter, BinFieldFilter binFieldFilter) Save fields of object but bin annotation wrapper can be provided to replace some annotation field values in all field annotations.BinForceByteOrder(Object object) Works likeBin(Object)but forcing override of all annotation byte order values by the JBBPOut byte order.BinForceByteOrder(Object object, JBBPCustomFieldWriter customFieldWriter) Works likeBin(Object, JBBPCustomFieldWriter)but forcing override of all annotation byte order values by the context byte order.Bit(boolean value) Write a bit into the session.Bit(boolean... value) Write bits represented as boolean flags into the output stream.Bit(byte value) Write the lowest bit from a byte value.Bit(byte[] value) Write the lowest bits of bytes from an array.Bit(int... value) Write the lowest bits of integers from an array.Bits(JBBPBitNumber numberOfBits, byte[] value) Write bits of each byte value from an array into the output stream.Bits(JBBPBitNumber numberOfBits, int value) Write bits from a value into the output streamBits(JBBPBitNumber numberOfBits, int... value) Write bits of each integer value from an array into the output stream.Bool(boolean value) Write a boolean value into the session stream as a byte.Bool(boolean... value) Write boolean values from an array into the session stream as bytes.Bool(boolean value, JBBPBitOrder bitOrder) Write a boolean value into the session stream as a byte.Byte(byte[] value) Write a byte array into the session stream.Byte(int value) Write the lower byte of an integer value into the session stream.Byte(int... value) Write the lower byte of an integer value into the session stream.Write String chars trimmed to bytes, only the lower 8 bit will be saved per char code.Byte(String str, JBBPBitOrder bitOrder) Write String chars trimmed to bytes, only the lower 8 bit will be saved per char code.ByteOrder(JBBPByteOrder value) Define the byte outOrder for next session operations.Double(double... value) Write a double value array as long bits into the stream.End()Flush the stream and end the session.Float(float... value) Write a float value array as integer bits into the stream.Flush()Flush inside buffers into the stream.longget the current byte counter value for the underlying stream.Int(int value) Write an integer value into the session stream.Int(int... value) Write each integer value from an integer array into the session stream.Long(long value) Write a long value into the session stream.Long(long... value) Write each long value from a long value array into the session stream.protected voidonFieldBits(Object obj, Field field, Bin annotation, JBBPBitNumber bitNumber, int value) Notification about bit field.protected voidonFieldBool(Object obj, Field field, Bin annotation, boolean value) Notification about boolean field.protected voidonFieldByte(Object obj, Field field, Bin annotation, boolean signed, int value) Notification about byte field.protected voidNotification about custom field.protected voidonFieldDouble(Object obj, Field field, Bin annotation, double value) Notification about double field.protected voidonFieldFloat(Object obj, Field field, Bin annotation, float value) Notification about float field.protected voidonFieldInt(Object obj, Field field, Bin annotation, int value) Notification about integer field.protected voidonFieldLong(Object obj, Field field, Bin annotation, long value) Notification about long field.protected voidonFieldShort(Object obj, Field field, Bin annotation, boolean signed, int value) Notification about short field.protected voidonFieldString(Object obj, Field field, Bin annotation, String value) Notification about string field.protected voidonFieldUInt(Object obj, Field field, Bin annotation, int value) Notification about unsigned integer field.Reset the byte counter and the inside bit buffer of the output stream.Short(char[] value) Write short values from a char arrayShort(int value) Write lower pair of bytes of an integer value into the session stream as a short value.Short(int... value) Write lower pair of bytes of each integer value from an integer array into the session stream as a short value.Short(short[] value) Write short values from an arrayWrite codes of chars as 16 bit values into the stream.Short(String str, JBBPBitOrder bitOrder) Write codes of chars as 16 bit values into the stream.Skip(int numberOfBytes) Skip number of bytes in the stream, zero bytes will be written and also will be aligned inside bit cache even if the value is 0.Write string into output stream with length information.Write string array as sequence of strings with information about string length.UInt(long... value) Write each long value as unsigned integer one into the session stream.Write chars of a String as encoded Utf8 byte array.Var(JBBPOutVarProcessor processor, Object... args) Output data externally.Methods inherited from class com.igormaznitsa.jbbp.io.AbstractMappedClassFieldObserver
onArrayEnd, onArrayStart, onStructEnd, onStructStart, processObject, processObject, processObjectField, processObjectField
-
Field Details
-
DEFAULT_BYTE_ORDER
The Default byte outOrder. -
DEFAULT_BIT_ORDER
The Default bit outOrder.
-
-
Method Details
-
BeginBin
Start a DSL session for defined both byte outOrder and bit outOrder parameters.- Parameters:
byteOrder- the byte outOrder to be used for the sessionbitOrder- the bit outOrder to be used for the session- Returns:
- the new DSL session generated with the parameters and inside byte array stream.
-
BeginBin
Start a DSL session for a defined stream with defined parameters.- Parameters:
out- the defined streambyteOrder- the byte outOrder for the sessionbitOrder- the bit outOrder for the session- Returns:
- the new DSL session generated for the stream with parameters
-
BeginBin
Start a DSL session for default parameters and inside byte array stream.- Returns:
- the new DSL session generated with the default parameters and inside byte array stream.
-
BeginBin
Start a DSL session for default parameters and inside byte array stream with defined start size.- Parameters:
initialSize- the start size of inside buffer of the byte array output stream, must be positive- Returns:
- the new DSL session generated with the default parameters and inside byte array stream.
-
BeginBin
Start a DSL session for a defined output stream and default parameters.- Parameters:
out- an output stream to write session data, must not be null.- Returns:
- the new DSL session generated for the default parameters and the output stream.
-
BeginBin
Start a DSL session for default bit outOrder and defined byte outOrder. It will be using inside byte array stream.- Parameters:
byteOrder- the byte outOrder for the session, it must not be null.- Returns:
- the new DSL session
-
BeginBin
Start a DSL session for default byte outOrder and defined bite outOrder. It will be using inside byte array stream.- Parameters:
bitOrder- the bite outOrder for the session, it must not be null.- Returns:
- the new DSL session
-
Align
Align the current stream for 1 byte. If there are any bites inside bit cache then they will be saved and the stream will be positioning to the next byte. It works relative to the byte output counter.- Returns:
- the DSL session
- Throws:
IOException- it will be thrown for transport errors- See Also:
-
Align
Align number of bytes in the stream to the value. It works relative to the byte output counter.- Parameters:
value- the byte border to align the stream.- Returns:
- the DSL session
- Throws:
IOException- it will be thrown for transport errors- See Also:
-
Skip
Skip number of bytes in the stream, zero bytes will be written and also will be aligned inside bit cache even if the value is 0.- Parameters:
numberOfBytes- the number of bytes to be skipped- Returns:
- the DSL session
- Throws:
IOException- it will be thrown for transport errorsIllegalArgumentException- it will be thrown if the value is negative one
-
ByteOrder
Define the byte outOrder for next session operations.- Parameters:
value- the byte outOrder to be used in next operations, must not be null- Returns:
- the DSL session
-
Bit
Write a bit into the session.- Parameters:
value- true if the bit is 1, 0 otherwise- Returns:
- the DSL session
- Throws:
IOException- it will be thrown for transport errors
-
Bit
Write the lowest bit from a byte value.- Parameters:
value- the byte value which lowest bit will be written into the stream- Returns:
- the DSL session
- Throws:
IOException- it will be thrown for transport errors
-
Bit
Write the lowest bits of bytes from an array.- Parameters:
value- a byte array, lowest bit of each byte will be saved as a bit into the output stream, it must not be null- Returns:
- the DSL session
- Throws:
IOException- it will be thrown for transport errors
-
Bit
Write the lowest bits of integers from an array.- Parameters:
value- an integer array, lowest bit of each integer value will be saved as a bit into the output stream, it must not be null- Returns:
- the DSL session
- Throws:
IOException- it will be thrown for transport errors
-
Bit
Write bits represented as boolean flags into the output stream.- Parameters:
value- a boolean array which values will be saved into the output stream as bits, true is a bit on, false is bit off. It must not be null- Returns:
- the DSL session.
- Throws:
IOException- it will be thrown for transport errors
-
Bits
Write bits from a value into the output stream- Parameters:
numberOfBits- the number of bits to be savedvalue- the value which bits must be saved- Returns:
- the DSL session
- Throws:
IOException- it will be thrown for transport errors
-
Bits
Write bits of each integer value from an array into the output stream.- Parameters:
numberOfBits- the number of bits to be savedvalue- an integer array which elements will be used as sources of bits, it must not be null- Returns:
- the DSL session
- Throws:
IOException- it will be thrown for transport errors
-
Bits
Write bits of each byte value from an array into the output stream.- Parameters:
numberOfBits- the number of bits to be savedvalue- a byte array which elements will be used as sources of bits, it must not be null- Returns:
- the DSL session
- Throws:
IOException- it will be thrown for transport errors
-
Byte
Write the lower byte of an integer value into the session stream.- Parameters:
value- an integer value which byte should be written into- Returns:
- the DSL session
- Throws:
IOException- it will be thrown for transport errors
-
Byte
Write the lower byte of an integer value into the session stream.- Parameters:
value- an integer array which values will be byte sources to write their lower byte into the stream- Returns:
- the DSL session
- Throws:
IOException- it will be thrown for transport errors
-
Byte
Write a byte array into the session stream.- Parameters:
value- a byte array to be written- Returns:
- the DSL session
- Throws:
IOException- it will be thrown for transport errors
-
Byte
Write String chars trimmed to bytes, only the lower 8 bit will be saved per char code.- Parameters:
str- a String which chars should be trimmed to bytes and saved- Returns:
- the DSL session
- Throws:
IOException- it will be thrown for transport errors
-
Byte
Write String chars trimmed to bytes, only the lower 8 bit will be saved per char code.- Parameters:
str- a String which chars should be trimmed to bytes and savedbitOrder- the bit outOrder to save bytes- Returns:
- the DSL session
- Throws:
IOException- it will be thrown for transport errors- Since:
- 1.1
-
Utf8
Write chars of a String as encoded Utf8 byte array. There will not be aby information about string length.- Parameters:
str- a String which bytes should be written as Utf8, must not be null- Returns:
- the DSL session
- Throws:
IOException- it will be thrown for transport errors
-
String
Write string into output stream with length information. the byte order in saved char data will be BIG_ENDIAN- Parameters:
str- string to be written, it can be null- Returns:
- the DSL session
- Throws:
IOException- it will be thrown for transport errors- Since:
- 1.4.0
- See Also:
-
Strings
Write string array as sequence of strings with information about string length. the byte order in saved char data will be BIG_ENDIAN- Parameters:
strings- array of strings, must not be null but can contain null- Returns:
- the DSL session
- Throws:
IOException- it will be thrown for transport errors- Since:
- 1.4.0
- See Also:
-
Bool
Write a boolean value into the session stream as a byte.- Parameters:
value- a boolean value to be written, true is 1, false is 0- Returns:
- the DSL session
- Throws:
IOException- it will be thrown for transport errors
-
Bool
Write a boolean value into the session stream as a byte.- Parameters:
value- a boolean value to be written, true is 1, false is 0bitOrder- bit outOrder for saving data- Returns:
- the DSL session
- Throws:
IOException- it will be thrown for transport errors- Since:
- 1.1
-
Bool
Write boolean values from an array into the session stream as bytes.- Parameters:
value- a boolean array to be saved as bytes, true is 1, false is 0. It must not be null- Returns:
- the DSL session
- Throws:
IOException- it will be thrown for transport errors
-
Short
Write lower pair of bytes of an integer value into the session stream as a short value.- Parameters:
value- an integer value which lower pair of bytes will be written into- Returns:
- the DSL session
- Throws:
IOException- it will be thrown for transport errors
-
Short
Write codes of chars as 16 bit values into the stream.- Parameters:
str- the string which chars will be written, must not be null- Returns:
- the DSL session
- Throws:
IOException- it will be thrown for transport errors- Since:
- 1.1
-
Short
Write codes of chars as 16 bit values into the stream.- Parameters:
str- the string which chars will be written, must not be nullbitOrder- the bit outOrder- Returns:
- the DSL session
- Throws:
IOException- it will be thrown for transport errors- Since:
- 1.1
-
Short
Write short values from an array- Parameters:
value- a short value array which values should be written into, it must not be null- Returns:
- the DSL session
- Throws:
IOException- it will be thrown for transport errors
-
Short
Write short values from a char array- Parameters:
value- a char array which values should be written into, it must not be null- Returns:
- the DSL session
- Throws:
IOException- it will be thrown for transport errors- Since:
- 1.3
-
Short
Write lower pair of bytes of each integer value from an integer array into the session stream as a short value.- Parameters:
value- an integer array which values will be written into- Returns:
- the DSL session
- Throws:
IOException- it will be thrown for transport errors
-
Int
Write an integer value into the session stream.- Parameters:
value- an integer value to be written into- Returns:
- the DSl session
- Throws:
IOException- it will be thrown for transport errors
-
Int
Write each integer value from an integer array into the session stream.- Parameters:
value- an integer array which values should be written into- Returns:
- the DSl session
- Throws:
IOException- it will be thrown for transport errors
-
onFieldUInt
Description copied from class:AbstractMappedClassFieldObserverNotification about unsigned integer field.- Overrides:
onFieldUIntin classAbstractMappedClassFieldObserver- Parameters:
obj- the object instance, must not be nullfield- the field, must not be nullannotation- the annotation for field, must not be nullvalue- the value of the field
-
Float
Write a float value array as integer bits into the stream.- Parameters:
value- a float array which values will be written into- Returns:
- the DSL session
- Throws:
IOException- it will be thrown for transport errors- Since:
- 1.4.0
- See Also:
-
Long
Write a long value into the session stream.- Parameters:
value- a long value to be written into- Returns:
- the DSL session
- Throws:
IOException- it will b e thrown for transport errors
-
Double
Write a double value array as long bits into the stream.- Parameters:
value- a double array which values will be written into- Returns:
- the DSL session
- Throws:
IOException- it will be thrown for transport errors- Since:
- 1.4.0
- See Also:
-
ResetCounter
Reset the byte counter and the inside bit buffer of the output stream. it is useful to align command because the command makes alignment for the counter.- Returns:
- the DSL context
- See Also:
-
Long
Write each long value from a long value array into the session stream.- Parameters:
value- a long value array which values will be written into- Returns:
- the DSL session
- Throws:
IOException- it will be thrown for transport errors
-
Var
Output data externally.- Parameters:
processor- a processor which will get the stream to write data, must not be nullargs- optional arguments to be provided to the processor- Returns:
- the DSL context
- Throws:
IOException- it will be thrown for transport errorsNullPointerException- it will be thrown for null as a processor
-
Flush
Flush inside buffers into the stream. Be careful with bit operations because the operation will flush the inside bit buffer.- Returns:
- the DSL session
- Throws:
IOException- it will be thrown for transport errors
-
End
Flush the stream and end the session.- Returns:
- if the session output stream is based on a byte array output stream then the stream will be returned, null otherwise
- Throws:
IOException- it will be thrown for transport errors.
-
getByteCounter
public long getByteCounter()get the current byte counter value for the underlying stream. it has appropriate value only if it was not reset.- Returns:
- the current byte counter for the underlying stream.
-
assertNotEnded
protected void assertNotEnded()Assert that the session has not ended.- Throws:
IllegalStateException- if the session has been ended
-
Bin
Save fields of an object marked by Bin annotation. Fields will be ordered throughBin.order()field, NB! By default, Java doesn't keep field outOrder. Ordered fields of class will be saved into internal cache for speed but the cache can be reset throughJBBPMapper.clearFieldCache()Warning! it doesn't affect byte order provided in Bin annotations of object.- Parameters:
object- an object to be saved into stream, must not be null- Returns:
- the context
- Throws:
IOException- it will be thrown for any transport error- Since:
- 1.1
- See Also:
-
Bin
Save fields of an object marked by Bin annotation. Fields will be ordered throughBin.order()field, NB! By default, Java doesn't keep field outOrder. Ordered fields of class will be saved into internal cache for speed but the cache can be reset throughJBBPMapper.clearFieldCache()Warning! it doesn't affect byte order provided in Bin annotations of object.- Parameters:
object- an object to be saved into stream, must not be nullbinFieldFilter- filter to exclude some fields from process, can be null- Returns:
- the context
- Throws:
IOException- it will be thrown for any transport error- Since:
- 2.0.4
- See Also:
-
Bin
Save fields of an object marked by Bin annotation. Fields will be ordered throughBin.order()field, NB! By default, Java doesn't keep field outOrder. Ordered fields of class will be saved into internal cache for speed but the cache can be reset throughJBBPMapper.clearFieldCache()Warning! it doesn't affect byte order provided in Bin annotations of object.- Parameters:
object- an object to be saved into stream, must not be nullcustomFieldWriter- a custom field writer to be used for saving of custom fields of the object, it can be null- Returns:
- the context
- Since:
- 1.1
- See Also:
-
Bin
public JBBPOut Bin(Object object, JBBPCustomFieldWriter customFieldWriter, BinFieldFilter binFieldFilter) Save fields of an object marked by Bin annotation. Fields will be ordered throughBin.order()field, NB! By default, Java doesn't keep field outOrder. Ordered fields of class will be saved into internal cache for speed but the cache can be reset throughJBBPMapper.clearFieldCache()Warning! it doesn't affect byte order provided in Bin annotations of object.- Parameters:
object- an object to be saved into stream, must not be nullcustomFieldWriter- a custom field writer to be used for saving of custom fields of the object, it can be nullbinFieldFilter- filter to exclude fields from process, can be null- Returns:
- the context
- Since:
- 2.0.4
- See Also:
-
Bin
public JBBPOut Bin(Object object, BinAnnotationWrapper binAnnotationWrapper, JBBPCustomFieldWriter customFieldWriter) Save fields of object but bin annotation wrapper can be provided to replace some annotation field values in all field annotations.- Parameters:
object- an object to be saved into stream, must not be nullbinAnnotationWrapper- wrapper for all bin annotations, can be nullcustomFieldWriter- a custom field writer to be used for saving of custom fields of the object, it can be null- Returns:
- the context
- Since:
- 2.0.2
-
Bin
public JBBPOut Bin(Object object, BinAnnotationWrapper binAnnotationWrapper, JBBPCustomFieldWriter customFieldWriter, BinFieldFilter binFieldFilter) Save fields of object but bin annotation wrapper can be provided to replace some annotation field values in all field annotations.- Parameters:
object- an object to be saved into stream, must not be nullbinAnnotationWrapper- wrapper for all bin annotations, can be nullcustomFieldWriter- a custom field writer to be used for saving of custom fields of the object, it can be nullbinFieldFilter- filter to exclude some fields from process, can be null- Returns:
- the context
- Since:
- 2.0.4
-
BinForceByteOrder
Works likeBin(Object)but forcing override of all annotation byte order values by the JBBPOut byte order.- Parameters:
object- an object to be saved into stream, must not be null- Returns:
- the context
- Throws:
IOException- it will be thrown for any transport error- Since:
- 2.0.2
- See Also:
-
BinForceByteOrder
Works likeBin(Object, JBBPCustomFieldWriter)but forcing override of all annotation byte order values by the context byte order.- Parameters:
object- an object to be saved into stream, must not be nullcustomFieldWriter- a custom field writer to be used for saving of custom fields of the object, it can be null- Returns:
- the context
- Since:
- 2.0.2
- See Also:
-
onFieldFloat
Description copied from class:AbstractMappedClassFieldObserverNotification about float field.- Overrides:
onFieldFloatin classAbstractMappedClassFieldObserver- Parameters:
obj- the object instance, must not be nullfield- the field, must not be nullannotation- the annotation for field, must not be nullvalue- the value of the field
-
onFieldString
Description copied from class:AbstractMappedClassFieldObserverNotification about string field.- Overrides:
onFieldStringin classAbstractMappedClassFieldObserver- Parameters:
obj- the object instance, must not be nullfield- the field, must not be nullannotation- the annotation for field, must not be nullvalue- the value of the field
-
onFieldDouble
Description copied from class:AbstractMappedClassFieldObserverNotification about double field.- Overrides:
onFieldDoublein classAbstractMappedClassFieldObserver- Parameters:
obj- the object instance, must not be nullfield- the field, must not be nullannotation- the annotation for field, must not be nullvalue- the value of the field
-
onFieldLong
Description copied from class:AbstractMappedClassFieldObserverNotification about long field.- Overrides:
onFieldLongin classAbstractMappedClassFieldObserver- Parameters:
obj- the object instance, must not be nullfield- the field, must not be nullannotation- the annotation for field, must not be nullvalue- the value of the field
-
onFieldInt
Description copied from class:AbstractMappedClassFieldObserverNotification about integer field.- Overrides:
onFieldIntin classAbstractMappedClassFieldObserver- Parameters:
obj- the object instance, must not be nullfield- the field, must not be nullannotation- the annotation for field, must not be nullvalue- the value of the field
-
UInt
Write each long value as unsigned integer one into the session stream.- Parameters:
value- a long value array which values should be written into- Returns:
- the DSl session
- Throws:
IOException- it will be thrown for transport errors- Since:
- 2.0.4
-
onFieldShort
Description copied from class:AbstractMappedClassFieldObserverNotification about short field.- Overrides:
onFieldShortin classAbstractMappedClassFieldObserver- Parameters:
obj- the object instance, must not be nullfield- the field, must not be nullannotation- the annotation for field, must not be nullsigned- flag shows that the field id signedvalue- the value of the field
-
onFieldByte
Description copied from class:AbstractMappedClassFieldObserverNotification about byte field.- Overrides:
onFieldBytein classAbstractMappedClassFieldObserver- Parameters:
obj- the object instance, must not be nullfield- the field, must not be nullannotation- the annotation for field, must not be nullsigned- flag shows that the field id signedvalue- the value of the field
-
onFieldBool
Description copied from class:AbstractMappedClassFieldObserverNotification about boolean field.- Overrides:
onFieldBoolin classAbstractMappedClassFieldObserver- Parameters:
obj- the object instance, must not be nullfield- the field, must not be nullannotation- the annotation for field, must not be nullvalue- the value of the field
-
onFieldBits
protected void onFieldBits(Object obj, Field field, Bin annotation, JBBPBitNumber bitNumber, int value) Description copied from class:AbstractMappedClassFieldObserverNotification about bit field.- Overrides:
onFieldBitsin classAbstractMappedClassFieldObserver- Parameters:
obj- the object instance, must not be nullfield- the field, must not be nullannotation- the annotation for field, must not be nullbitNumber- number of bits for the field, must not be nullvalue- the value of the field
-
onFieldCustom
protected void onFieldCustom(Object obj, Field field, Bin annotation, Object customFieldProcessor, Object value) Description copied from class:AbstractMappedClassFieldObserverNotification about custom field.- Overrides:
onFieldCustomin classAbstractMappedClassFieldObserver- Parameters:
obj- the object instance, must not be nullfield- the custom field, must not be nullannotation- the annotation for the field, must not be nullcustomFieldProcessor- processor for custom fields, must not be nullvalue- the value of the custom field
-