ItemProperties

A collection of data on an item in a Titania Delivery Project.

Properties

ItemIdentifier item
The encapsulated Project key and Item key for this item.
SpecifiedItemDetails specifiedDetails
The details that can be on this item in the admin application, such as name and description. Only available if this is a non-parsable binary file.
Map embeddedMetadata
The embedded metadata from the file. This will be present for PDF, Microsoft Office, several graphics formats, and a number of other file types.
String effectiveUrlPath
The URL path by which this document can be directly addressed as a standalone document.
Map propertyMap

A hash of properties set on this document. Keys common to all files are:

  • key - The key of the document
  • name - The name of the document
  • projectKey - The key of the Project containing this document
  • size - The size of the document, in bytes
  • contentType - The MIME Type of the document
  • path - The path to this document within the Project
  • createDate - The date the document was created in Titania Delivery
  • lastModified - The date the document was last modified in Titania Delivery

Keys set on image files only are:

  • img_width - The width of the image, in pixels
  • img_height - The height of the image, in pixels

Keys set on XML files only are:

  • xml_isWellFormed
  • xml_hasDTD
  • xml_hasSchema
  • xml_hasDoctype
  • xml_doctypeExists
  • xml_isValid
  • xml_elementCount
  • xml_elementIds
  • xml_primarySchema
  • xml_publicId
  • xml_systemId
  • xml_schemas
  • xml_rootElement
  • xml_rootNamespace
  • xml_doctypeFile
  • xml_doctypeProject
  • xml_doctypeName
  • xml_title
  • dita_navtitle
  • xml_validationError
  • xml_isDita
  • dita_isTopic
  • dita_isMap
  • dita_isDitabase
  • dita_domains
Date createDate
The date that this item was created in Titania Delivery.
MetadataEntry[] metadataEntries
The metadata entries set on this document. It does not contain the metadata inherited from parent maps or the containing project.
FragmentMetadata[] allFragmentMetadata
Get all fragment metadata as a list.