Web::DOM::ElementTypeDefinition
DOM ElementTypeDefinition object
DESCRIPTION
The Web::DOM::ElementTypeDefinition class implements the DOM ElementTypeDefinition interface.
METHODS
In addition to the methods of classes Web::DOM::EventTarget and Web::DOM::Node, following methods are available:
$col = $et->attribute_definitions-
Return the collection (Web::DOM::NamedNodeMap) of attribute definitions. [DOMDTDEF]
$string = $et->content_model_text$et->content_model_text ($string)-
Return or set the textual representation of the content model of the element type. [DOMDTDEF]
$adef = $et->get_attribute_definition_node ($name)-
Return the attribute definition (Web::DOM::AttributeDefinition) with the specified name, if any, or
undef. [DOMDTDEF] $dt = $et->owner_document_type_definition-
Return the document type (Web::DOM::DocumentType) to which the element type belongs, if any, or
undef. [DOMDTDEF] $node = $et->remove_attribute_definition_node ($node)-
Remove the specified attribute definition from the element type. The removed node is returned. [DOMDTDEF]
$old = $et->set_attribute_definition_node ($new)-
Set the specified attribute definition node to the element type. If there is already an attribute definition with the same name, it is removed from the element type and returned. [DOMDTDEF]
The element type name can be accessed by the $et->node_name method.
SPECIFICATION
- DOMDTDEF
-
DOM Document Type Definitions
<http://suika.suikawiki.org/www/markup/xml/domdtdef/domdtdef>.
SEE ALSO
AUTHOR
Wakaba <wakaba@suikawiki.org>.
LICENSE
Copyright 2012-2015 Wakaba <wakaba@suikawiki.org>.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.