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.

The 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.

Properties

TypeInfo.typeName Read only
Returns a DOMString indicating the type's name.
TypeInfo.typeNamespace Read only
Returns a DOMString indicating the type's namespace within the schema.

Methods

TypeInfo.isDerivedFrom()
Returns a Boolean.

Constants

Constant Value
DERIVATION_RESTRICTION 1
DERIVATION_EXTENSION 2
DERIVATION_UNION 4
DERIVATION_LIST 8

Specifications

Specification Status Comment
Document Object Model (DOM) Level 3 Core Specification
The definition of 'TypeInfo' in that specification.
Obsolete Initial definition