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

com.adobe.epubcheck.vocab.Vocab 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.2.1
Show newest version
package com.adobe.epubcheck.vocab;

import com.google.common.base.Optional;

/**
 * Represents a vocabulary of properties.
 * 
 * @author Romain Deltour
 *
 */
public interface Vocab
{
  /**
   * Returns whether a property in allowed in this vocabulary.
   * 
   * @param name
   *          the property name (unprefixed).
   * @return an {@link Property} reference which contains a {@link Property} if
   *         the lookup was successful or nothing if the property was not found
   *         in this vocabulary.
   */
  Optional lookup(String name);

  /**
   * Returns the base URI of this vocabulary.
   * 
   * @return the base URI of this vocabulary.
   */
  String getURI();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy