Enum Class NameResolverStrategy

java.lang.Object
java.lang.Enum<NameResolverStrategy>
org.semanticweb.owlapi.krss1.parser.NameResolverStrategy
All Implemented Interfaces:
Serializable, Comparable<NameResolverStrategy>, java.lang.constant.Constable

public enum NameResolverStrategy extends Enum<NameResolverStrategy>
resolver strategies.
  • Enum Constant Details

    • ADAPTIVE

      public static final NameResolverStrategy ADAPTIVE
      if the first n names are URIs(NAMEs) all names are assumed to be URIs (NAMEs), otherwise we have to CHECK.
    • IRI

      public static final NameResolverStrategy IRI
      every found concept/role name in KRSS is an absolute IRI.
    • NAME

      public static final NameResolverStrategy NAME
      concept/roles names in KRSS are all names, URI must be created (namespace of the ontology's URI).
    • CHECK

      public static final NameResolverStrategy CHECK
      for every concept/role name in KRSS we have to check whether it is an URI or NAME. This is very expensive.
  • Method Details

    • values

      public static NameResolverStrategy[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static NameResolverStrategy valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null