|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Deprecated public static interface StructIO.Customizer
Interface for type customizers that can be used to perform platform-specific type adjustments or other hacks.
A type customizer can be specified with Struct.customizer()
.
Each implementation must have a default constructor, and an unique instance of each implementation class will be cached by StructIO.getCustomizer(java.lang.Class)
.
Method Summary | |
---|---|
void |
afterBuild(StructIO io)
Deprecated. Called after everything is setup in the StructIO. |
void |
afterLayout(StructIO io,
List<StructIO.AggregatedFieldDesc> aggregatedFields)
Deprecated. This method can alter the aggregated fields and may even call again the performLayout(aggregatedFields) method. |
void |
beforeAggregation(StructIO io,
List<StructIO.FieldDecl> fieldDecls)
Deprecated. Last chance to remove field declarations |
void |
beforeLayout(StructIO io,
List<StructIO.AggregatedFieldDesc> aggregatedFields)
Deprecated. Last chance to remove aggregated fields |
Method Detail |
---|
void beforeAggregation(StructIO io, List<StructIO.FieldDecl> fieldDecls)
void beforeLayout(StructIO io, List<StructIO.AggregatedFieldDesc> aggregatedFields)
void afterLayout(StructIO io, List<StructIO.AggregatedFieldDesc> aggregatedFields)
void afterBuild(StructIO io)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |