001/* 002 * ModeShape (http://www.modeshape.org) 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 */ 016package org.modeshape.sequencer.odf; 017 018import static org.modeshape.sequencer.odf.OdfMetadataLexicon.Namespace.PREFIX; 019 020import org.modeshape.common.annotation.Immutable; 021 022 023/** 024 * A lexicon of names used within OpenDocument sequencer. 025 * 026 * @since 5.1 027 */ 028@Immutable 029public class OdfMetadataLexicon { 030 031 public static class Namespace { 032 public static final String URI = "http://www.modeshape.org/odf/1.0/"; 033 public static final String PREFIX = "odf"; 034 } 035 036 public static final String METADATA_NODE = PREFIX + ":metadata"; 037 038 public static final String PAGES = PREFIX + ":pages"; 039 public static final String SHEETS = PREFIX + ":sheets"; 040 041 public static final String CREATION_DATE = PREFIX + ":creationDate"; 042 public static final String CREATOR = PREFIX + ":creator"; 043 public static final String DESCRIPTION = PREFIX + ":description"; 044 public static final String EDITING_CYCLES = PREFIX + ":editingCycles"; 045 public static final String EDITING_TIME = PREFIX + ":editingTime"; 046 public static final String GENERATOR = PREFIX + ":generator"; 047 public static final String INITIAL_CREATOR = PREFIX + ":initialCreator"; 048 public static final String KEYWORDS = PREFIX + ":keywords"; 049 public static final String LANGUAGE = PREFIX + ":language"; 050 public static final String MODIFICATION_DATE = PREFIX + ":modificationDate"; 051 public static final String PRINTED_BY = PREFIX + ":printedBy"; 052 public static final String PRINT_DATE = PREFIX + ":printDate"; 053 public static final String SUBJECT = PREFIX + ":subject"; 054 public static final String TITLE = PREFIX + ":title"; 055}