abstract class RdfConstants

Defines constants for RDF terms.

Hierarchy

Expanded class hierarchy of RdfConstants

3 files declare their use of RdfConstants
BundleSchema.php in drupal/core/modules/rdf/lib/Drupal/rdf/SiteSchema/BundleSchema.php
Contains BundleSchema.
EntitySchema.php in drupal/core/modules/rdf/lib/Drupal/rdf/SiteSchema/EntitySchema.php
Contains EntitySchema.
SchemaTermBase.php in drupal/core/modules/rdf/lib/Drupal/rdf/SiteSchema/SchemaTermBase.php
Contains SchemaTermBase.

File

drupal/core/modules/rdf/lib/Drupal/rdf/RdfConstants.php, line 13
Contains RdfConstants.

Namespace

Drupal\rdf
View source
abstract class RdfConstants {
  const RDF_TYPE = 'http://www.w3.org/1999/02/22-rdf-syntax-ns#type';

  // RDF Schema terms.
  const RDFS_CLASS = 'http://www.w3.org/2000/01/rdf-schema#class';
  const RDFS_DOMAIN = 'http://www.w3.org/2000/01/rdf-schema#domain';
  const RDFS_IS_DEFINED_BY = 'http://www.w3.org/2000/01/rdf-schema#isDefinedBy';
  const RDFS_RANGE = 'http://www.w3.org/2000/01/rdf-schema#range';
  const RDFS_SUB_CLASS_OF = 'http://www.w3.org/2000/01/rdf-schema#subClassOf';

  // XSD datatypes.
  const XSD_INTEGER = 'http://www.w3.org/2001/XMLSchema#integer';
  const XSD_DOUBLE = 'http://www.w3.org/2001/XMLSchema#double';
  const XSD_BOOLEAN = 'http://www.w3.org/2001/XMLSchema#boolean';
  const XSD_STRING = 'http://www.w3.org/2001/XMLSchema#string';

}

Members