Edit in GitHubLog an issue

DTDs

A collection of DTDs.

Instance

Read Only

Number length

The number of objects in the collection.

Methods

Number count()

Displays the number of elements in the DTD.


DTD item( Mixed index )

Returns the DTD with the specified index or name.

Parameters

TypeNameDescription
Mixed
index
The index or name. Can accept: Long Integer or String.

DTD itemByID( Number id )

Returns the DTD with the specified ID.

Parameters

TypeNameDescription
Number
id
The ID.

DTD itemByRange( Mixed from, Mixed to )

Returns the DTDs within the specified range.

Parameters

TypeNameDescription
Mixed
from
The DTD, index, or name at the beginning of the range. Can accept: DTD, Long Integer or String.
Mixed
to
The DTD, index, or name at the end of the range. Can accept: DTD, Long Integer or String.

DTD firstItem()

Returns the first DTD in the collection.


DTD lastItem()

Returns the last DTD in the collection.


DTD middleItem()

Returns the middle DTD in the collection.


DTD previousItem( DTD obj )

Returns the DTD with the index previous to the specified index.

Parameters

TypeNameDescription
DTD
obj
The index of the DTD that follows the desired DTD.

DTD nextItem( DTD obj )

Returns the DTD whose index follows the specified DTD in the collection.

Parameters

TypeNameDescription
DTD
obj
The DTD whose index comes before the desired DTD.

DTD anyItem()

Returns any DTD in the collection.


DTD everyItem()

Returns every DTD in the collection.


String toSource()

Generates a string which, if executed, will return the DTD.


DTD []( Number index )

Returns the DTD with the specified index.

Parameters

TypeNameDescription
Number
index
The index.
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.