Class DocumentOnlySearch

  • All Implemented Interfaces:
    ImmutableSearch

    public class DocumentOnlySearch
    extends Search
    A search that was derived from an sd file containing no search element(s), only document specifications, so the name of this is decided by parsing and adding the document instance.
    Author:
    vegardh
    • Constructor Detail

      • DocumentOnlySearch

        public DocumentOnlySearch()
    • Method Detail

      • addDocument

        public void addDocument​(SDDocumentType docType)
        Description copied from class: Search
        Adds a document type which is defined in this search definition
        Overrides:
        addDocument in class Search
        Parameters:
        docType - the document type to add