Class RdfSpecsHelper
Helper class with useful constants relating to the RDF Specification.
Inheritance
System.Object
RdfSpecsHelper
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VDS.RDF.Parsing
Assembly: dotNetRDF.dll
Syntax
public class RdfSpecsHelper
Fields
| Improve this Doc View SourceRdfDirection
URI for rdf:direction.
Declaration
public const string RdfDirection = "http://www.w3.org/1999/02/22-rdf-syntax-ns#direction"
Field Value
Type | Description |
---|---|
System.String |
RdfJson
URI for JSON literal datatype.
Declaration
public const string RdfJson = "http://www.w3.org/1999/02/22-rdf-syntax-ns#JSON"
Field Value
Type | Description |
---|---|
System.String |
RdfLangString
URI for rdf:langString the implicit type of language specified literals.
Declaration
public const string RdfLangString = "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"
Field Value
Type | Description |
---|---|
System.String |
RdfLanguage
URI for rdf:language.
Declaration
public const string RdfLanguage = "http://www.w3.org/1999/02/22-rdf-syntax-ns#language"
Field Value
Type | Description |
---|---|
System.String |
RdfList
URI for rdf:List.
Declaration
public const string RdfList = "http://www.w3.org/1999/02/22-rdf-syntax-ns#List"
Field Value
Type | Description |
---|---|
System.String |
RdfListFirst
URI for rdf:first.
Declaration
public const string RdfListFirst = "http://www.w3.org/1999/02/22-rdf-syntax-ns#first"
Field Value
Type | Description |
---|---|
System.String |
RdfListNil
URI for rdf:nil.
Declaration
public const string RdfListNil = "http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"
Field Value
Type | Description |
---|---|
System.String |
RdfListRest
URI for rdf:rest.
Declaration
public const string RdfListRest = "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest"
Field Value
Type | Description |
---|---|
System.String |
RdfObject
URI for rdf:object.
Declaration
public const string RdfObject = "http://www.w3.org/1999/02/22-rdf-syntax-ns#object"
Field Value
Type | Description |
---|---|
System.String |
RdfPredicate
URI for rdf:predicate.
Declaration
public const string RdfPredicate = "http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate"
Field Value
Type | Description |
---|---|
System.String |
RdfStatement
URI for rdf:Statement.
Declaration
public const string RdfStatement = "http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement"
Field Value
Type | Description |
---|---|
System.String |
RdfSubject
URI for rdf:subject.
Declaration
public const string RdfSubject = "http://www.w3.org/1999/02/22-rdf-syntax-ns#subject"
Field Value
Type | Description |
---|---|
System.String |
RdfType
URI for rdf:type.
Declaration
public const string RdfType = "http://www.w3.org/1999/02/22-rdf-syntax-ns#type"
Field Value
Type | Description |
---|---|
System.String |
RdfValue
URI for rdf:value.
Declaration
public const string RdfValue = "http://www.w3.org/1999/02/22-rdf-syntax-ns#value"
Field Value
Type | Description |
---|---|
System.String |
RdfXmlLiteral
URI for rdf:XMLLiteral.
Declaration
public const string RdfXmlLiteral = "http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral"
Field Value
Type | Description |
---|---|
System.String |
ValidLangSpecifiersPattern
Pattern for Valid Language Specifiers.
Declaration
public const string ValidLangSpecifiersPattern = "^@?[A-Za-z]+(\\-[A-Za-z0-9]+)*$"
Field Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceIsValidLangSpecifier(String)
Determines whether a given String is a valid Language Specifier.
Declaration
public static bool IsValidLangSpecifier(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | String to test. |
Returns
Type | Description |
---|---|
System.Boolean |