NAME
HTML::HTML5::DOM::HTMLObjectElement - implementation of the HTMLObjectElement interface of the HTML DOM
DESCRIPTION
HTML::HTML5::DOM::HTMLObjectElement is an implementation of the HTMLObjectElement interface of the HTML DOM. See HTML::HTML5::DOM for a list of the conventions that have been used when translating the DOM to Perl.
HTML Elements
This class applies to the following HTML elements.
{http://www.w3.org/1999/xhtml}object
Inheritance
HTML::HTML5::DOM::HTMLObjectElement inherits methods from the following Perl classes.
Additional Methods
As well as its inherited methods, this class provides the following methods.
data
Shortcut for
HTTP::Request->new(GET => $elem->href)
form
Returns the "form owner" for this element.
height
Called with no arguments, is a shortcut for
$elem->getAttribute("height")
. Called with a defined argument, acts assetAttribute
. Called with undef as an argument, acts asremoveAttribute
.name
Called with no arguments, is a shortcut for
$elem->getAttribute("name")
. Called with a defined argument, acts assetAttribute
. Called with undef as an argument, acts asremoveAttribute
.type
Called with no arguments, is a shortcut for
$elem->getAttribute("type")
. Called with a defined argument, acts assetAttribute
. Called with undef as an argument, acts asremoveAttribute
.typeMustMatch
Called with no arguments, is a shortcut for
$elem->getAttribute("typemustmatch")
. Called with a defined argument, acts assetAttribute
. Called with undef as an argument, acts asremoveAttribute
.useMap
Called with no arguments, is a shortcut for
$elem->getAttribute("usemap")
. Called with a defined argument, acts assetAttribute
. Called with undef as an argument, acts asremoveAttribute
.width
Called with no arguments, is a shortcut for
$elem->getAttribute("width")
. Called with a defined argument, acts assetAttribute
. Called with undef as an argument, acts asremoveAttribute
.
BUGS
http://rt.cpan.org/Dist/Display.html?Queue=HTML-HTML5-DOM.
SEE ALSO
AUTHOR
Toby Inkster <tobyink@cpan.org>.
COPYRIGHT AND LICENCE
This software is copyright (c) 2012, 2014 by Toby Inkster.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
DISCLAIMER OF WARRANTIES
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.