Help Center

Local Navigation

Object: DocumentType

Availability

BlackBerry® Device Software version 4.6 or later

Extends

Node

The DocumentType object represents the doctype for a document. If a document has a doctype, it will be a reference to this object.

DocumentType properties

Property name

Type

Description

Status

Support level

Availability

entities

NamedNodeMap

Returns a list of all the general entities defined within the DTD.

read only

DOM 2 Core

4.6 or later

internalSubset

DOMString

Returns the contents of the DTD subset. Contains the string between the “[“ and “]” characters.

read only

DOM 2 Core

4.6 or later

name

DOMString

Returns the name of the DTD.

read only

DOM 2 Core

4.6 or later

notations

NamedNodeMap

Returns a list of all the notations defined within the DTD.

read only

DOM 2 Core

4.6 or later

publicId

DOMString

Returns the public identifier of the external subset.

read only

DOM 2 Core

4.6 or later

systemId

DOMString

Returns the system identifier of the external subset.

read only

DOM 2 Core

4.6 or later

Previous topic: DocumentFragment methods

Was this information helpful? Send us your comments.