Class TAttachment

Unit

Declaration

type TAttachment = class(TElement)

Description

For referring to data content defined in other formats. If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions

Hierarchy

Overview

Methods

Public constructor Create; override;

Properties

Public property contentType : string read GetcontentType write SetcontentType;
Public property contentTypeElement : Tcode read GetcontentTypeElement write SetcontentTypeElement;
Public property language : string read Getlanguage write Setlanguage;
Public property languageElement : Tcode read GetlanguageElement write SetlanguageElement;
Public property data : string read Getdata write Setdata;
Public property dataElement : Tbase64Binary read GetdataElement write SetdataElement;
Public property url : string read Geturl write Seturl;
Public property urlElement : Turl read GeturlElement write SeturlElement;
Public property size : Int64 read Getsize write Setsize;
Public property sizeElement : TunsignedInt read GetsizeElement write SetsizeElement;
Public property hash : string read Gethash write Sethash;
Public property hashElement : Tbase64Binary read GethashElement write SethashElement;
Public property title : string read Gettitle write Settitle;
Public property titleElement : Tstring read GettitleElement write SettitleElement;
Public property creation : string read Getcreation write Setcreation;
Public property creationElement : TdateTime_ read GetcreationElement write SetcreationElement;

Description

Methods

Public constructor Create; override;
 

Properties

Public property contentType : string read GetcontentType write SetcontentType;

Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate.

Public property contentTypeElement : Tcode read GetcontentTypeElement write SetcontentTypeElement;
 
Public property language : string read Getlanguage write Setlanguage;

The human language of the content. The value can be any valid value according to BCP 47.

Public property languageElement : Tcode read GetlanguageElement write SetlanguageElement;
 
Public property data : string read Getdata write Setdata;

The actual data of the attachment - a sequence of bytes, base64 encoded.

Public property dataElement : Tbase64Binary read GetdataElement write SetdataElement;
 
Public property url : string read Geturl write Seturl;

A location where the data can be accessed.

Public property urlElement : Turl read GeturlElement write SeturlElement;
 
Public property size : Int64 read Getsize write Setsize;

The number of bytes of data that make up this attachment (before base64 encoding, if that is done).

Public property sizeElement : TunsignedInt read GetsizeElement write SetsizeElement;
 
Public property hash : string read Gethash write Sethash;

The calculated hash of the data using SHA-1. Represented using base64.

Public property hashElement : Tbase64Binary read GethashElement write SethashElement;
 
Public property title : string read Gettitle write Settitle;

A label or set of text to display in place of the data.

Public property titleElement : Tstring read GettitleElement write SettitleElement;
 
Public property creation : string read Getcreation write Setcreation;

The date that the attachment was first created.

Public property creationElement : TdateTime_ read GetcreationElement write SetcreationElement;
 

Generated by PasDoc 0.15.0.