Class NiceLabelDocumentServiceTemplateDTO


public class NiceLabelDocumentServiceTemplateDTO extends NiceLabelDocumentTemplateDTO
An empty implementation of DocumentTemplateDTO, with predefined constants for the NICELABEL processor.
  • Field Details

    • PARSE_QUERY_EXAMPLE_XMLS

      public static final String PARSE_QUERY_EXAMPLE_XMLS
      Return the predefined example XMLs of a document template (plain list of UTF8 strings, one name per line). Each line, including the last one, is delimited by the system line separator. These example XMLs are resources of a bundle and must be manually added. To return a specific example XML from that list the NiceLabelDocumentTemplateDTO.PARSE_QUERY_EXAMPLE_XML can be extended by a '?' and the name of the XML: query="XML?some-known-example.xml" To determine a generic example XML the parse command NiceLabelDocumentTemplateDTO.PARSE_QUERY_EXAMPLE_XML can be used.
      See Also:
    • PARSE_QUERY_SCHEMA_DTO

      public static final String PARSE_QUERY_SCHEMA_DTO
      Return the data schema definition (proprietary format DocumentTemplateSchemaDTO).
      See Also:
    • PARAM_CONTENT_VARIANT

      public static final String PARAM_CONTENT_VARIANT
      Overrides the default content variant of a document. Documents can be be stored in the engine for a certain amount of time. It's contents are distinguished by the content variant. Overriding is only supported for documents, which are stored in the engine.
      See Also:
  • Constructor Details

    • NiceLabelDocumentServiceTemplateDTO

      public NiceLabelDocumentServiceTemplateDTO()