Schnittstelle IStringWithExtra

Alle bekannten Implementierungsklassen:
DataTypeString, LanguageSpecificString, StringWithExtra, StringWithoutExtra

public interface IStringWithExtra
A language specific string is a string combined with a language specifier.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    Clones the current string with extra to get a new instance
    Returns the content, the actual string
    Returns the extra that is specified in addition to the string.
    org.apache.jena.graph.Node
    Creates a RDFNode from the current string (a literal node) therefor it needs a graph as context
    void
    setContent(String content)
    Sets the content, the actual string
    void
    Sets the extra that is specified in addition to the string.
  • Methodendetails

    • getContent

      String getContent()
      Returns the content, the actual string
      Gibt zurück:
      the actual String
    • setContent

      void setContent(String content)
      Sets the content, the actual string
      Parameter:
      content -
    • getExtra

      String getExtra()
      Returns the extra that is specified in addition to the string. What this is depends on the concrete implementation
      Gibt zurück:
      the extra information
    • setExtra

      void setExtra(String extra)
      Sets the extra that is specified in addition to the string. What this is depends on the concrete implementation.
      Parameter:
      extra -
    • getNodeFromString

      org.apache.jena.graph.Node getNodeFromString(IPASSGraph graph)
      Creates a RDFNode from the current string (a literal node) therefor it needs a graph as context
      Parameter:
      graph - the context in which the node is created
      Gibt zurück:
      the created Node
    • clone

      Clones the current string with extra to get a new instance
      Gibt zurück:
      clone of the current String