def font_items(self): """ The list of items with `media-type` associated with font formats. :rtype: list of :class:`yael.opfitem.OPFItem` objects """ return list(e for e in self.items if MediaType.is_font(e.media_type))
def video_items(self): """ The list of items with `media-type` associated with video formats. :rtype: list of :class:`yael.opfitem.OPFItem` objects """ return list(e for e in self.items if MediaType.is_video(e.v_media_type))
def content_document_items(self): """ The list of items corresponding to Content Documents. :rtype: list of :class:`yael.opfitem.OPFItem` objects """ return list(e for e in self.items if MediaType.is_content_document(e.v_media_type))
def content_document_items(self): """ The list of items corresponding to Content Documents. :rtype: list of :class:`yael.opfitem.OPFItem` objects """ return list(e for e in self.items if MediaType.is_content_document( e.v_media_type))