Interface Value

  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    default boolean
    Check if the object is an instance of the given type.
    default boolean
    Check if the object is an instance of the given type.
    default boolean
    Check if the object is an instance of the given type.
    default boolean
    Check if the object is an instance of the given type.
    default boolean
    Check if the object is an instance of the given type.
    Returns the String-value of a Value object.
  • Method Details Link icon

    • isBNode Link icon

      default boolean isBNode()
      Check if the object is an instance of the given type. Typically 2x than using instanceof.

      For implementers: This default implementation is overridden in the repsective sub-interface.

      Returns:
      true if instance of BNode
    • isIRI Link icon

      default boolean isIRI()
      Check if the object is an instance of the given type. Typically 2x than using instanceof.

      For implementers: This default implementation is overridden in the repsective sub-interface.

      Returns:
      true if instance of IRI
    • isResource Link icon

      default boolean isResource()
      Check if the object is an instance of the given type. Typically 2x than using instanceof.

      For implementers: This default implementation is overridden in the repsective sub-interface.

      Returns:
      true if instance of Resource
    • isLiteral Link icon

      default boolean isLiteral()
      Check if the object is an instance of the given type. Typically 2x than using instanceof.

      For implementers: This default implementation is overridden in the repsective sub-interface.

      Returns:
      true if instance of Literal
    • isTriple Link icon

      default boolean isTriple()
      Check if the object is an instance of the given type. Typically 2x than using instanceof.

      For implementers: This default implementation is overridden in the repsective sub-interface.

      Returns:
      true if instance of Triple
    • stringValue Link icon

      String stringValue()
      Returns the String-value of a Value object. This returns either a Literal's label, a IRI's URI or a BNode's ID.