[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Implements the default attribute node introduced in DOM Level 2.
Source position: laz2_dom.pas line 807
type TDOMAttrDef = class(TDOMAttr) |
||
protected |
||
FExternallyDeclared: Boolean; |
||
FEnumeration: ; |
||
public |
||
function AddEnumToken(); |
|
Adds the specified value to the allowed values for the attribute node. |
function HasEnumToken(); |
|
Checks whether the specified value is one of the allowed values for the attribute. |
function CloneNode(); override; overload; |
|
Makes a copy of the attribute node with the specified owner document. |
property Default: TAttrDefault; [rw] |
|
Indicates the origin of the value in the attribute node. |
property ExternallyDeclared: Boolean; [rw] |
|
Indicates if the attribute was declared in an external subset of the DTD. |
|
Utility property provided for general use. |
|
end; |
|
Implements the default attribute node introduced in DOM Level 2. |
|
| | ||
|
Implements a DOM Node for attributes with Namespace support. |
|
| | ||
|
Implements a DOM Node with Namespace support. |
|
| | ||
|
Extends TDOMNode to allocate storage for child nodes. |
|
| | ||
|
Implements the DOM Node interface. |
|
| | ||
TObject |
TDOMAttrDef is a TDOMAttr descendant which implements the default attribute node as specified in the DOM Level 2 specification. A default attribute is associated with an Element of a given type in a Document Type Declaration (whether internal or external). It can have a value which is either explicitly specified, implied from the DTD, or fixed to given value. Its value can also be limited to only those values specified in the attribute definition.
TDOMAttrDef is the type returned from the TDOMDocument.CreateAttributeDef method. It is also used to update attribute value for an Element in methods like: TDOMNamedNodeMap.RestoreDefault and TDOMElement.AttachDefaultAttrs.
|
Creates a new Attribute with a default value. |
|
|
Restores the default value for the attribute node with the specified name. |
|
|
Creates attribute nodes with the default attribute values in a namespaced DOM Element. |
Version 3.2 | Generated 2024-02-25 | Home |