NAME
HTML::Object::Space - HTML Object
SYNOPSIS
use HTML::Object::Space;
my $sp = HTML::Object::Space->new ||
die( HTML::Object::Space->error, "\n" );
VERSION
v0.2.0
DESCRIPTION
This module represents or or more spaces. It is used to capture spaces between HTML elements
INHERITANCE
+-----------------------+ +---------------------+
| HTML::Object::Element | --> | HTML::Object::Space |
+-----------------------+ +---------------------+
PROPERTIES
nodeValue
This returns or sets the value of the current node.
For document, element or collection, this returns undef
and for attribute, text or comment, this returns the objct value.
METHODS
as_string
Returns the space value enclosed.
as_xml
This is an alias for "as_string"
isEqualNode
Returns a boolean value which indicates whether or not two elements are of the same type and all their defining data points match.
Two elements are equal when they have the same type, defining characteristics (this would be their ID, number of children, and so forth), its attributes match, and so on. The specific set of data points that must match varies depending on the types of the elements.
nodeValue
This returns or sets the value of the current element.
set_checksum
Read-only method.
This returns the md5 checksum for the current value.
value
Returns the current value as a scalar object
AUTHOR
Jacques Deguest <jack@deguest.jp>
SEE ALSO
HTML::Object, HTML::Object::Attribute, HTML::Object::Boolean, HTML::Object::Closing, HTML::Object::Collection, HTML::Object::Comment, HTML::Object::Declaration, HTML::Object::Document, HTML::Object::Element, HTML::Object::Exception, HTML::Object::Literal, HTML::Object::Number, HTML::Object::Root, HTML::Object::Space, HTML::Object::Text, HTML::Object::XQuery
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.