Package alps.java.api.util
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 TypMethodeBeschreibungclone()
Clones the current string with extra to get a new instanceReturns the content, the actual stringgetExtra()
Returns the extra that is specified in addition to the string.org.apache.jena.graph.Node
getNodeFromString
(IPASSGraph graph) Creates aRDFNode
from the current string (a literal node) therefor it needs a graph as contextvoid
setContent
(String content) Sets the content, the actual stringvoid
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
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
Sets the extra that is specified in addition to the string. What this is depends on the concrete implementation.- Parameter:
extra
-
-
getNodeFromString
Creates aRDFNode
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
IStringWithExtra clone()Clones the current string with extra to get a new instance- Gibt zurück:
- clone of the current String
-