Open Journal Systems  2.4.4
 All Classes Namespaces Functions Variables Groups Pages
XMLTypeDescription Class Reference
Inheritance diagram for XMLTypeDescription:
TypeDescription

Public Member Functions

 checkType (&$object)
 
 getNamespace ()
 
 parseTypeName ($typeName)
 
 XMLTypeDescription ($typeName)
 
- Public Member Functions inherited from TypeDescription
 _parseTypeNameInternally ($typeName)
 
 checkType (&$object)
 
 getNamespace ()
 
 getTypeDescription ()
 
 getTypeName ()
 
 isCompatible (&$object)
 
 parseTypeName ($typeName)
 
 TypeDescription ($typeName)
 

Detailed Description

Class that describes an XML input/output type.

Type descriptors follow the syntax: xml::validation-schema(http://url.to.the/file.{xsd|dtd|rng})

Example: xml::schema(http://www.crossref.org/schema/queryResultSchema/crossref_query_output2.0.xsd)

XML input/output can be either represented as a string or as a DOMDocument object.

NB: XML validation currently requires PHP5

Definition at line 33 of file XMLTypeDescription.inc.php.

Member Function Documentation

XMLTypeDescription::checkType ( $object)
See Also
TypeDescription::checkType()

Definition at line 102 of file XMLTypeDescription.inc.php.

XMLTypeDescription::getNamespace ( )
See Also
TypeDescription::getNamespace()

Definition at line 58 of file XMLTypeDescription.inc.php.

XMLTypeDescription::parseTypeName (   $typeName)
See Also
TypeDescription::parseTypeName()

Definition at line 69 of file XMLTypeDescription.inc.php.

XMLTypeDescription::XMLTypeDescription (   $typeName)

Constructor

Parameters
$typeNamestring Allowed primitive types are 'integer', 'string', 'float' and 'boolean'.

Definition at line 47 of file XMLTypeDescription.inc.php.


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