Class ContentPropertyExtractionManagerImpl
java.lang.Object
com.atlassian.confluence.plugins.contentproperty.index.extractor.ContentPropertyExtractionManagerImpl
- All Implemented Interfaces:
 ContentPropertyExtractionManager
@Component
public class ContentPropertyExtractionManagerImpl
extends Object
implements ContentPropertyExtractionManager
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionextract(JsonString json, Iterable<ContentPropertySchemaField> schemaFields) Extracts JSON document fragments and transforms them into v2 API Field Descriptors with user-defined types. 
- 
Constructor Details
- 
ContentPropertyExtractionManagerImpl
public ContentPropertyExtractionManagerImpl() 
 - 
 - 
Method Details
- 
extract
public Iterable<FieldDescriptor> extract(JsonString json, Iterable<ContentPropertySchemaField> schemaFields) Description copied from interface:ContentPropertyExtractionManagerExtracts JSON document fragments and transforms them into v2 API Field Descriptors with user-defined types. If for some reason type can't be allied (e.g. JSON value is a string, and user defined type was a date), field will not be included in the result.- Specified by:
 extractin interfaceContentPropertyExtractionManager- Parameters:
 json- JSON document, which fragments will be used to populate v2 API Field DescriptorsschemaFields- all schema fields which should be extracted from a given JSON document- Returns:
 - all Field Descriptors which could be extracted from a given JSON
 
 
 -