ContentDocumentElementType Data Type

This subclass of DocumentElementType indicates that the element has binary data attached to it.

Abstract Type
Subtypes
ScannedDocumentElementType, FileDocumentElementType
Properties
name data type description
annotations array of AnnotationType Returns the annotations.
nodeType DocumentNodeType Returns the document node type.
children array of DocumentElementType Returns the document element children.
content InputStream Returns the content.
contentMetaData ContentMetaDataType
Properties inherited from DocumentElementType
creationDate number Returns the creation date.
variables map of string Returns the element variables.
nodeType DocumentNodeType Returns the document node type.
children array of DocumentElementType Returns the document element children.
Properties inherited from ResourceType
reference ReferenceType Returns the resource's object reference.

Example

This data type is abstract. The example below may be incomplete. More accurate examples can be found in subtypes pages.
{
  "annotations" : [ {
    "accessData" : {
      "aclName" : "...",
      "creationDate" : 12345,
      "creationUser" : 12345,
      "lastModificationDate" : 12345,
      "lastModificationUser" : 12345
    },
    "height" : 12345,
    "page" : 12345,
    "width" : 12345,
    "x" : 12345,
    "y" : 12345
  }, {
    "accessData" : {
      "aclName" : "...",
      "creationDate" : 12345,
      "creationUser" : 12345,
      "lastModificationDate" : 12345,
      "lastModificationUser" : 12345
    },
    "height" : 12345,
    "page" : 12345,
    "width" : 12345,
    "x" : 12345,
    "y" : 12345
  } ],
  "nodeType" : "CONTENT",
  "children" : [ {
    "creationDate" : 12345,
    "variables" : {
      "property1" : "...",
      "property2" : "..."
    },
    "nodeType" : "CONTENT",
    "children" : [ { }, { } ],
    "reference" : { }
  }, {
    "creationDate" : 12345,
    "variables" : {
      "property1" : "...",
      "property2" : "..."
    },
    "nodeType" : "STRUCTURE",
    "children" : [ { }, { } ],
    "reference" : { }
  } ],
  "content" : { },
  "contentMetaData" : {
    "hash" : "...",
    "uncompressedSize" : 12345,
    "compressedSize" : 12345,
    "hashAlgorithm" : "..."
  },
  "creationDate" : 12345,
  "variables" : {
    "property1" : "...",
    "property2" : "..."
  },
  "reference" : { }
}