All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.adobe.epubcheck.vocab.EpubCheckVocab Maven / Gradle / Ivy

Go to download

EPUBCheck is a tool to validate the conformance of EPUB publications against the EPUB specifications. EPUBCheck can be run as a standalone command-line tool or used as a Java library.

There is a newer version: 5.1.0
Show newest version
package com.adobe.epubcheck.vocab;

import java.util.Map;

import com.google.common.collect.ImmutableMap;

/**
 * A vocabulary used for storing (temporary) info into properties for
 * EpubCheck's internal use.
 *
 */
public final class EpubCheckVocab
{
  public static final String PREFIX = "epubcheck";
  public static final String URI = "http://www.idpf.org/epubcheck/#";
  public static final EnumVocab VOCAB = new EnumVocab(PROPERTIES.class, URI,
      PREFIX);
  public static final Map VOCAB_MAP = ImmutableMap
      . of(EpubCheckVocab.PREFIX, EpubCheckVocab.VOCAB);

  public static enum PROPERTIES
  {
    /**
     * Property of OPF items representing Fixed Layout Content Documents
     */
    FIXED_LAYOUT,
    /**
     * Property of OPF items referenced in 'index' collections
     */
    IN_INDEX_COLLECTION,
    /**
     * Property of OCF entries in Multiple Renditions
     */
    MULTIPLE_RENDITION,
    /**
     * Property of non-linear OPF items
     */
    NON_LINEAR,
    /**
     * Property used to identify the Rendition Mapping Document in the OCF
     * checker
     */
    RENDITION_MAPPING;

  }

  private EpubCheckVocab()
  {
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy