Class Vocabularies.VocabularyNamespace

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String namespace  
      private java.lang.String prefix  
    • Constructor Summary

      Constructors 
      Constructor Description
      VocabularyNamespace​(java.lang.String prefix, java.lang.String namespace)  
    • Field Detail

      • prefix

        private final java.lang.String prefix
      • namespace

        private final java.lang.String namespace
    • Constructor Detail

      • VocabularyNamespace

        public VocabularyNamespace​(java.lang.String prefix,
                                   java.lang.String namespace)
    • Method Detail

      • getPrefix

        public java.lang.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 java.lang.String getName()
        Description copied from interface: Namespace
        Gets the name of the current namespace (i.e. its IRI).
        Returns:
        name of namespace