TypeInfo

Obsolete
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.

obsolete TypeInfo interface was intended to be used to describe a DOM data type by keying its name to a namespace within the document's schema.

特性

TypeInfo.typeName 只读
返回 DOMString indicating the type's name.
TypeInfo.typeNamespace 只读
返回 DOMString indicating the type's namespace within the schema.

方法

TypeInfo.isDerivedFrom()
返回 Boolean .

常量

常量
DERIVATION_RESTRICTION 1
DERIVATION_EXTENSION 2
DERIVATION_UNION 4
DERIVATION_LIST 8

规范

规范 状态 Comment
Document Object Model (DOM) Level 3 Core Specification
The definition of 'TypeInfo' in that specification.
Obsolete 初始定义