DTD
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
contents | SpecialCharactersString | readonly | The contents of the text. Can return: String or SpecialCharacters enumerator. |
id | number | readonly | The unique ID of the DTD. |
index | number | readonly | The index of the DTD within its containing object. |
parent | Document XMLElement XMLItem |
readonly | The parent of the DTD (a Document, XMLElement or XMLItem). |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
publicId | string | readonly | The public ID of the DOCTYPE declaration. Note: Valid only when the DTD is an external subset. |
rootTag | XMLTag | r/w | The tag of the root object. |
systemId | string | readonly | The system ID of the DOCTYPE declaration. Note: Valid only when the DTD is an external subset. |
Methods
Instances
DTD duplicate ()
Duplicates the DTD.
Array
of Object getElements ()
Resolves the object specifier, creating an array of object references.
void remove ()
Deletes the DTD.
void select ([existingSelection:
SelectionOptions=SelectionOptions.REPLACE_WITH])
Selects the object.
Parameter | Type | Description |
---|---|---|
existingSelection | SelectionOptions: SelectionOptions.ADD_TO SelectionOptions.REMOVE_FROM SelectionOptions.REPLACE_WITH | The selection status of the DTD in relation to previously selected objects. (Optional) (default: SelectionOptions.REPLACE_WITH) |
string toSource ()
Generates a string which, if executed, will return the DTD.
Used in:
array of DTD DTDs.itemByRange (from: any, to: any)
DTD DTDs.nextItem (obj: DTD)
DTD DTDs.previousItem (obj: DTD)
Return
DTD DTD.duplicate ()
DTD DTDs.anyItem ()
Array of DTD DTDs.everyItem ()
DTD DTDs.firstItem ()
DTD DTDs.item (index: any)
DTD DTDs.itemByID (id: number)
DTD DTDs.itemByName (name: string)
Array of DTD DTDs.itemByRange (from: any, to: any)
DTD DTDs.lastItem ()
DTD DTDs.middleItem ()
DTD DTDs.nextItem (obj: DTD)
DTD DTDs.previousItem (obj: DTD)
Jongware, 27-Jun-2010 v3.0.3d | Contents :: Index |