Open Journal Systems  2.4.3
 All Classes Namespaces Functions Variables Groups Pages
MetadataTypeDescription Class Reference
Inheritance diagram for MetadataTypeDescription:
ClassTypeDescription TypeDescription

Public Member Functions

 checkType (&$object)
 
 getAssocType ()
 
 getMetadataSchemaClass ()
 
 getNamespace ()
 
 MetadataTypeDescription ($typeName)
 
 parseTypeName ($typeName)
 
- Public Member Functions inherited from ClassTypeDescription
 checkType (&$object)
 
 ClassTypeDescription ($typeName)
 
 getNamespace ()
 
 parseTypeName ($typeName)
 
 splitClassName ($typeName)
 
- Public Member Functions inherited from TypeDescription
 _parseTypeNameInternally ($typeName)
 
 checkType (&$object)
 
 getNamespace ()
 
 getTypeDescription ()
 
 getTypeName ()
 
 isCompatible (&$object)
 
 parseTypeName ($typeName)
 
 TypeDescription ($typeName)
 

Detailed Description

Type validator for metadata input/output.

This type description accepts descriptors of the following form: metadata::fully.qualified.MetadataSchema(ASSOC)

e.g.: metadata::lib.pkp.plugins.metadata.nlm30.schema.Nlm30CitationSchema(ARTICLE)

The assoc form must be the final part of a ASSOC_TYPE_* definition. It can be '*' to designate any assoc type.

Definition at line 28 of file MetadataTypeDescription.inc.php.

Member Function Documentation

MetadataTypeDescription::checkType ( $object)
MetadataTypeDescription::getAssocType ( )
Returns
integer

Definition at line 68 of file MetadataTypeDescription.inc.php.

MetadataTypeDescription::getMetadataSchemaClass ( )
Returns
string the fully qualified class name of the meta-data schema.

Definition at line 61 of file MetadataTypeDescription.inc.php.

MetadataTypeDescription::getNamespace ( )
MetadataTypeDescription::MetadataTypeDescription (   $typeName)

Constructor

Parameters
$typeNamestring a fully qualified class name.

Definition at line 44 of file MetadataTypeDescription.inc.php.

MetadataTypeDescription::parseTypeName (   $typeName)

The documentation for this class was generated from the following file: