C# Class RDFSharp.Model.RDFTypedLiteral

RDFTypedLiteral represents a RDFLiteral which is denoted by a Datatype.
Inheritance: RDFSharp.Model.RDFLiteral
Afficher le fichier Open project: mdesalvo/RDFSharp Class Usage Examples

Méthodes publiques

Méthode Description
RDFTypedLiteral ( String value, RDFModelEnums datatype ) : System

Default-ctor to build a typed literal with given value and given datatype. Semantic validation of given value against given datatype is performed.

ToString ( ) : String

Gives the string representation of the typed literal

Private Methods

Méthode Description
HasBooleanDatatype ( ) : System.Boolean

Checks if the datatype of this typed literal is compatible with boolean

HasDatetimeDatatype ( ) : System.Boolean

Checks if the datatype of this typed literal is compatible with datetime

HasDecimalDatatype ( ) : System.Boolean

Checks if the datatype of this typed literal is compatible with decimal

HasStringDatatype ( ) : System.Boolean

Checks if the datatype of this typed literal is compatible with string

HasTimespanDatatype ( ) : System.Boolean

Checks if the datatype of this typed literal is compatible with timespan

Method Details

RDFTypedLiteral() public méthode

Default-ctor to build a typed literal with given value and given datatype. Semantic validation of given value against given datatype is performed.
public RDFTypedLiteral ( String value, RDFModelEnums datatype ) : System
value String
datatype RDFModelEnums
Résultat System

ToString() public méthode

Gives the string representation of the typed literal
public ToString ( ) : String
Résultat String