NodeFilter

Module: JavaScript DOM API

#include <NodeFilter.idl>

Public Functions

Name
unsigned shortacceptNode(Node node)

Public Attributes

Name
const unsigned shortFILTER_ACCEPT
const unsigned shortFILTER_REJECT
const unsigned shortFILTER_SKIP
const unsigned longSHOW_ALL
const unsigned longSHOW_ELEMENT
const unsigned longSHOW_ATTRIBUTE
const unsigned longSHOW_TEXT
const unsigned longSHOW_CDATA_SECTION
const unsigned longSHOW_ENTITY_REFERENCE
const unsigned longSHOW_ENTITY
const unsigned longSHOW_PROCESSING_INSTRUCTION
const unsigned longSHOW_COMMENT
const unsigned longSHOW_DOCUMENT
const unsigned longSHOW_DOCUMENT_TYPE
const unsigned longSHOW_DOCUMENT_FRAGMENT
const unsigned longSHOW_NOTATION

Public Functions Documentation

function acceptNode

unsigned short acceptNode(
    Node node
)

Public Attributes Documentation

variable FILTER_ACCEPT

const unsigned short FILTER_ACCEPT = 1;

variable FILTER_REJECT

const unsigned short FILTER_REJECT = 2;

variable FILTER_SKIP

const unsigned short FILTER_SKIP = 3;

variable SHOW_ALL

const unsigned long SHOW_ALL = 0xFFFFFFFF;

variable SHOW_ELEMENT

const unsigned long SHOW_ELEMENT = 0x1;

variable SHOW_ATTRIBUTE

const unsigned long SHOW_ATTRIBUTE = 0x2;

variable SHOW_TEXT

const unsigned long SHOW_TEXT = 0x4;

variable SHOW_CDATA_SECTION

const unsigned long SHOW_CDATA_SECTION = 0x8;

variable SHOW_ENTITY_REFERENCE

const unsigned long SHOW_ENTITY_REFERENCE = 0x10;

variable SHOW_ENTITY

const unsigned long SHOW_ENTITY = 0x20;

variable SHOW_PROCESSING_INSTRUCTION

const unsigned long SHOW_PROCESSING_INSTRUCTION = 0x40;

variable SHOW_COMMENT

const unsigned long SHOW_COMMENT = 0x80;

variable SHOW_DOCUMENT

const unsigned long SHOW_DOCUMENT = 0x100;

variable SHOW_DOCUMENT_TYPE

const unsigned long SHOW_DOCUMENT_TYPE = 0x200;

variable SHOW_DOCUMENT_FRAGMENT

const unsigned long SHOW_DOCUMENT_FRAGMENT = 0x400;

variable SHOW_NOTATION

const unsigned long SHOW_NOTATION = 0x800;