Web::DOM::NodeFilter
DOM NodeFilter
constants
DESCRIPTION
The Web::DOM::NodeFilter
module exports constants defined in the DOM NodeFilter
interface.
In the DOM Perl binding,
node filter objects are represented as Perl code references.
Therefore the Web::DOM::NodeFilter
module cannot be instantiated as object.
The module only defines several constants.
CONSTANTS
Constants are exported from the Web::DOM::NodeFilter module by default.
Following constants are used as return value of the node filter callbacks [DOM]:
FILTER_ACCEPT FILTER_REJECT FILTER_SKIP
(For the purpose of Web::DOM::NodeIterator, FILTER_REJECT
and FILTER_SKIP
is equivalent.)
Following constants are used as bitmasks for the what_to_show
value of the Web::DOM::NodeIterator and Web::DOM::TreeWalker objects [DOM]:
SHOW_ALL SHOW_ELEMENT SHOW_ATTRIBUTE SHOW_TEXT SHOW_CDATA_SECTION
SHOW_ENTITY_REFERENCE SHOW_ENTITY SHOW_PROCESSING_INSTRUCTION
SHOW_COMMENT SHOW_DOCUMENT SHOW_DOCUMENT_TYPE SHOW_DOCUMENT_FRAGMENT
SHOW_NOTATION
SPECIFICATION
- DOM
-
DOM Standard
<http://dom.spec.whatwg.org/#interface-nodefilter>
.
SEE ALSO
AUTHOR
Wakaba <wakaba@suikawiki.org>.
LICENSE
Copyright 2013 Wakaba <wakaba@suikawiki.org>.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.