StructureOutputAdapter

Inheritance: java.lang.Object, com.groupdocs.search.common.ResultBuilderFactory, com.groupdocs.search.common.OutputAdapter

All Implemented Interfaces: com.groupdocs.search.common.IStructureOutputAdapter

public class StructureOutputAdapter extends OutputAdapter implements IStructureOutputAdapter

Represents an output adapter that collects output as a structure containing each field separately.

Constructors

Constructor Description
StructureOutputAdapter(OutputFormat outputFormat) Initializes a new instance of the StructureOutputAdapter class.

Methods

Method Description
getResult() Gets the resulting array of fields.

StructureOutputAdapter(OutputFormat outputFormat)

public StructureOutputAdapter(OutputFormat outputFormat)

Initializes a new instance of the StructureOutputAdapter class.

Parameters:

Parameter Type Description
outputFormat OutputFormat The output format.

getResult()

public final DocumentField[] getResult()

Gets the resulting array of fields.

Returns: com.groupdocs.search.common.DocumentField[] - The resulting array of fields.