Class ModelNamespace

All Implemented Interfaces:
Serializable, Comparable<Namespace>, Namespace

class ModelNamespace extends AbstractNamespace
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • prefix

      private final String prefix
    • name

      private final String name
  • Constructor Details

    • ModelNamespace

      ModelNamespace(String prefix, String name)
  • Method Details

    • getPrefix

      public String getPrefix()
      Description copied from interface: Namespace
      Gets the prefix of the current namespace. The default namespace is represented by an empty prefix string.
      Returns:
      prefix of namespace, or an empty string in case of the default namespace.
    • getName

      public String getName()
      Description copied from interface: Namespace
      Gets the name of the current namespace (i.e. its IRI).
      Returns:
      name of namespace