Interface Vocab

All Known Implementing Classes:
AggregateVocab, EnumVocab, UncheckedVocab

public interface Vocab
Represents a vocabulary of properties.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the base URI of this vocabulary.
    com.google.common.base.Optional<Property>
    lookup(String name)
    Returns whether a property in allowed in this vocabulary.
  • Method Details

    • lookup

      com.google.common.base.Optional<Property> lookup(String name)
      Returns whether a property in allowed in this vocabulary.
      Parameters:
      name - the property name (unprefixed).
      Returns:
      an Property reference which contains a Property if the lookup was successful or nothing if the property was not found in this vocabulary.
    • getURI

      String getURI()
      Returns the base URI of this vocabulary.
      Returns:
      the base URI of this vocabulary.