NAME

HTML::Object::DOM::Closing - HTML Object

SYNOPSIS

use HTML::Object::DOM::Closing;
my $this = HTML::Object::DOM::Closing->new( tag => 'div' ) || 
    die( HTML::Object::DOM::Closing->error, "\n" );

VERSION

v0.2.0

DESCRIPTION

This module implements a closing tag for the DOM. It inherits from HTML::Object::Closing and HTML::Object::DOM::Node

Closing tags exists, but are not part of the nodes, so they are transparent.

INHERITANCE

+-----------------------+     +---------------------------+     +-------------------------+     +----------------------------+
| HTML::Object::Element | --> | HTML::Object::EventTarget | --> | HTML::Object::DOM::Node | --> | HTML::Object::DOM::Closing |
+-----------------------+     +---------------------------+     +-------------------------+     +----------------------------+
  |                                                                                               ^
  |                                                                                               |
  v                                                                                               |
+-----------------------+                                                                         |
| HTML::Object::Closing | ------------------------------------------------------------------------+
+-----------------------+

PROPERTIES

There is no property.

METHODS

getAttributes

Returns an empty list in list context, or an empty array reference in scalar context.

getChildNodes

Returns an empty list in list context, or an empty array reference in scalar context.

getElementById

Returns an empty list in list context, or undef in scalar context.

getFirstChild

Returns an empty list in list context, or undef in scalar context.

getLastChild

Returns an empty list in list context, or undef in scalar context.

getParentNode

Returns the parent node, if any.

getRootNode

Returns the root node

isAttributeNode

Returns false.

isCommentNode

Returns false.

isElementNode

Returns false.

isEqualNode

Provided with another element object, and this returns true if both closing element have the same tag value, or false otherwise.

isNamespaceNode

Returns false.

isPINode

Returns false.

isProcessingInstructionNode

Returns false.

isTextNode

Returns false.

AUTHOR

Jacques Deguest <jack@deguest.jp>

SEE ALSO

"close" in HTML::Object::Element

COPYRIGHT & LICENSE

Copyright(c) 2021 DEGUEST Pte. Ltd.

All rights reserved

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.