Enum SPARQLResultFormat

    • Method Detail

      • values

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

        public static SPARQLResultFormat valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null
      • getUri

        public String getUri()
        This method returns the uri of the format.
        Returns:
        the uri of the format.
      • getContentType

        public String getContentType()
        This method returns the content type of the format.
        Returns:
        the content type of the format.
      • getReferenceFormulations

        public Set<String> getReferenceFormulations()
        This method returns the reference formulation of the format.
        Returns:
        the reference formulation of the format.
      • toString

        public String toString()
        This method returns a String representation of the format, based on the format's name.
        Overrides:
        toString in class Enum<SPARQLResultFormat>
        Returns:
        String representation of the format.