Annotation Type PofExtractor
@Inherited @ExtractorBinding @Documented @Retention(RUNTIME) @Repeatable(Extractors.class) public @interface PofExtractorA
ExtractorBindingannotation representing a
This annotation can be used to define an extractor that extracts and attribute from a POF stream based on an array of integer property indices, in which case the type is optional, or a property path based on serialized field names concatenated using period (ie.
address.city, in which case
type()attribute must be set as well.
The latter approach can only be used if the specified type is annotated with a
@PortableTypeannotation and has been instrumented using
path()must be specified within this annotation in order for it to be valid.
- Jonathan Knight
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description
indexReturns an array of POF indexes to use to extract the value.
pathReturns a property path to use to extract the value.
typeReturns the root type to extract property from.
java.lang.String pathReturns a property path to use to extract the value.
This attribute can only be used in combination with the
type()attribute, and only if the specified type is annotated with a
@PortableTypeannotation and instrumented using
- a property path to use to extract the value