Class Code

    • Constructor Summary

      Constructors 
      Constructor Description
      Code​(java.lang.String name, java.lang.String type, java.lang.String value)
      This class represents codes (barcode or QR codes) (created using the data of the key) for a template.
    • Constructor Detail

      • Code

        public Code​(java.lang.String name,
                    java.lang.String type,
                    java.lang.String value)
        This class represents codes (barcode or QR codes) (created using the data of the key) for a template.
        Parameters:
        name - Name of this code for the tag.
        type - Type of code required. The options can be found on: http://www.cloudofficeprint.com/docs/#barcode-qrcode-tags
        value - Data to create the code from.
    • Method Detail

      • getType

        public java.lang.String getType()
        Returns:
        Type of code required. The options can be found on: http://www.cloudofficeprint.com/docs/#barcode-qrcode-tags
      • setType

        public void setType​(java.lang.String type)
        Parameters:
        type - Type of code required. The options can be found on: http://www.cloudofficeprint.com/docs/#barcode-qrcode-tags
      • getTemplateTags

        public java.util.Set<java.lang.String> getTemplateTags()
        Specified by:
        getTemplateTags in class RenderElement
        Returns:
        An immutable set containing all available template tags this element can replace.