com.groupdocs.parser.legacy

Interfaces

Classes

Exceptions

com.groupdocs.parser.legacy

Class DocumentTemplate



  • public final class DocumentTemplate
    extends Object

    Provides a template for data extraction from documents.

    • Constructor Detail

      • DocumentTemplate

        public DocumentTemplate(List<TemplateField> templateFields)

        Initializes a new instance of the DocumentTemplate class.

        Parameters:
        templateFields - A collection of template fields.
      • DocumentTemplate

        public DocumentTemplate(List<TemplateField> templateFields,
                        List<TemplateTable> templateTables)

        Initializes a new instance of the DocumentTemplate class.

        Parameters:
        templateFields - A collection of template fields.
        templateTables - A collection of template tables.
    • Method Detail

      • getCount

        public int getCount()

        Gets a total number of template fields.

        Returns:
        An integer value that represents the total number of the template fields.
      • get_Item

        public TemplateField get_Item(int index)

        Gets a template field.

        Parameters:
        index - A zero-based index of the template field.
        Returns:
        An instance of TemplateField.
      • getTables

        public List<TemplateTable> getTables()

        Gets a collection of template tables.

        Returns:
        A collection of template tables.