
com.adobe.epubcheck.vocab.Vocab Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of epubcheck Show documentation
Show all versions of epubcheck Show documentation
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.
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