001/* 002 * (C) Copyright 2007 Nuxeo SA (http://nuxeo.com/) and others. 003 * 004 * Licensed under the Apache License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.apache.org/licenses/LICENSE-2.0 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 * 016 * Contributors: 017 * Nuxeo - initial API and implementation 018 * 019 * $Id$ 020 */ 021 022package org.nuxeo.ecm.platform.picture.api; 023 024/** 025 * @author Max Stepanov 026 * @author Catalin Baican 027 */ 028public class MetadataConstants { 029 030 public static final String META_WIDTH = "width"; 031 032 public static final String META_HEIGHT = "height"; 033 034 /* EXIF */ 035 public static final String META_DESCRIPTION = "description"; 036 037 public static final String META_COMMENT = "comment"; 038 039 public static final String META_EQUIPMENT = "equipment"; 040 041 public static final String META_ORIGINALDATE = "originalDate"; 042 043 public static final String META_HRESOLUTION = "horizontalResolution"; 044 045 public static final String META_VRESOLUTION = "verticalResolution"; 046 047 public static final String META_PIXEL_XDIMENSION = "pixelXDimension"; 048 049 public static final String META_PIXEL_YDIMENSION = "pixelYDimension"; 050 051 public static final String META_COPYRIGHT = "copyright"; 052 053 public static final String META_EXPOSURE = "exposure"; 054 055 public static final String META_ISOSPEED = "ISOspeed"; 056 057 public static final String META_FOCALLENGTH = "focalLength"; 058 059 public static final String META_COLORSPACE = "colorSpace"; 060 061 public static final String META_WHITEBALANCE = "whiteBalance"; 062 063 public static final String META_ICCPROFILE = "iccProfile"; 064 065 public static final String META_ORIENTATION = "orientation"; 066 067 public static final String META_FNUMBER = "fNumber"; 068 069 /* IPTC */ 070 public static final String META_BY_LINE = "byLine"; 071 072 public static final String META_BY_LINE_TITLE = "byLineTitle"; 073 074 public static final String META_CAPTION = "caption"; 075 076 public static final String META_CATEGORY = "category"; 077 078 public static final String META_CITY = "city"; 079 080 public static final String META_COPYRIGHT_NOTICE = "copyrightNotice"; 081 082 public static final String META_COUNTRY_OR_PRIMARY_LOCATION = "countryOrPrimaryLocation"; 083 084 public static final String META_CREDIT = "credit"; 085 086 public static final String META_DATE_CREATED = "dateCreated"; 087 088 public static final String META_HEADLINE = "headline"; 089 090 public static final String META_KEYWORDS = "keywords"; 091 092 public static final String META_LANGUAGE = "language"; 093 094 public static final String META_OBJECT_NAME = "objectName"; 095 096 public static final String META_ORIGINAL_TRANSMISSION_REFERENCE = "originalTransmissionReference"; 097 098 public static final String META_ORIGINATING_PROGRAM = "originatingProgram"; 099 100 public static final String META_PROVINCE_OR_STATE = "provinceOrState"; 101 102 public static final String META_RECORD_VERSION = "recordVersion"; 103 104 public static final String META_RELEASE_DATE = "releaseDate"; 105 106 public static final String META_RELEASE_TIME = "releaseTime"; 107 108 public static final String META_SOURCE = "source"; 109 110 public static final String META_SPECIAL_INSTRUCTIONS = "specialInstructions"; 111 112 public static final String META_SUPPLEMENTAL_CATEGORIES = "supplementalCategories"; 113 114 public static final String META_TIME_CREATED = "timeCreated"; 115 116 public static final String META_URGENCY = "urgency"; 117 118 public static final String META_WRITER = "writer"; 119 120 private MetadataConstants() { 121 } 122 123}