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.pdf;
017
018import static org.modeshape.sequencer.pdf.PdfMetadataLexicon.Namespace.PREFIX;
019
020import org.modeshape.common.annotation.Immutable;
021
022
023/**
024 * A lexicon of names used within PDF sequencer.
025 *
026 * @since 5.1
027 */
028@Immutable
029public class PdfMetadataLexicon {
030
031    public static class Namespace {
032        public static final String URI = "http://www.modeshape.org/pdf/1.0/";
033        public static final String PREFIX = "pdf";
034    }
035
036    public static final String METADATA_NODE = PREFIX + ":metadata";
037    public static final String XMP_NODE = PREFIX + ":xmp";
038    public static final String ATTACHMENT_NODE = PREFIX + ":attachment";
039    public static final String PAGE_NODE = PREFIX + ":page";
040
041    public static final String PAGE_COUNT = PREFIX + ":pageCount";
042    public static final String ORIENTATION = PREFIX + ":orientation";
043    public static final String ENCRYPTED = PREFIX + ":encrypted";
044    public static final String VERSION = PREFIX + ":version";
045
046    public static final String AUTHOR = PREFIX + ":author";
047    public static final String CREATION_DATE= PREFIX + ":creationDate";
048    public static final String CREATOR = PREFIX + ":creator";
049    public static final String KEYWORDS = PREFIX + ":keywords";
050    public static final String MODIFICATION_DATE = PREFIX + ":modificationDate";
051    public static final String PRODUCER = PREFIX + ":producer";
052    public static final String SUBJECT = PREFIX + ":subject";
053    public static final String TITLE = PREFIX + ":title";
054
055    public static final String PAGE_NUMBER = PREFIX + ":pageNumber";
056    public static final String NAME = PREFIX + ":name";
057}