The full example of implementing a custom extractor is presented in the documentation for the IFieldExtractor interface.
These extractors are not used for the documents that are extracted in a separate process (see ExtractInSeparateProcess): the process of the extraction uses the custom extractors of CustomExtractors.