HTML::DOM::DocumentFragment - A boring class that's rarely used.


HTML-DOM documentation Contained in the HTML-DOM distribution.

Index


Code Index:

NAME

Top

HTML::DOM::DocumentFragment - A boring class that's rarely used.

DESCRIPTION

Top

This class implements the DocumentFragment interface described in the W3C's DOM spec. It inherits from HTML::DOM::Node.

METHODS

Top

HTML::DOM::DocumentFragment's Own Methods

nodeName

This returns '#document-fragment'.

nodeType

This returns the constant HTML::DOM::Node::DOCUMENT_FRAGMENT_NODE.

Inherited Methods

nodeValue
parentNode
childNodes
firstChild
lastChild
previousSibling
nextSibling
attributes
ownerDocument
insertBefore
replaceChild
removeChild
appendChild
hasChildNodes
cloneNode

SEE ALSO

Top

HTML::DOM

HTML::DOM::Node


HTML-DOM documentation Contained in the HTML-DOM distribution.

package HTML::DOM::DocumentFragment;

use strict;

use HTML::DOM::Node 'DOCUMENT_FRAGMENT_NODE';

our @ISA = 'HTML::DOM::Node';
our $VERSION = '0.048';

sub new {
	SUPER::new{shift} '~frag';
}

sub nodeName {'#document-fragment'}
*nodeType = \& DOCUMENT_FRAGMENT_NODE;

1;

__END__