Dart API Referencedart:htmlNodeFilter

NodeFilter Interface

Static Fields

Code final int FILTER_ACCEPT #

static final int FILTER_ACCEPT = 1;

Code final int FILTER_REJECT #

static final int FILTER_REJECT = 2;

Code final int FILTER_SKIP #

static final int FILTER_SKIP = 3;

Code final int SHOW_ALL #

static final int SHOW_ALL = 0xFFFFFFFF;

Code final int SHOW_ATTRIBUTE #

static final int SHOW_ATTRIBUTE = 0x00000002;

Code final int SHOW_CDATA_SECTION #

static final int SHOW_CDATA_SECTION = 0x00000008;

Code final int SHOW_COMMENT #

static final int SHOW_COMMENT = 0x00000080;

Code final int SHOW_DOCUMENT #

static final int SHOW_DOCUMENT = 0x00000100;

Code final int SHOW_DOCUMENT_FRAGMENT #

static final int SHOW_DOCUMENT_FRAGMENT = 0x00000400;

Code final int SHOW_DOCUMENT_TYPE #

static final int SHOW_DOCUMENT_TYPE = 0x00000200;

Code final int SHOW_ELEMENT #

static final int SHOW_ELEMENT = 0x00000001;

Code final int SHOW_ENTITY #

static final int SHOW_ENTITY = 0x00000020;

Code final int SHOW_ENTITY_REFERENCE #

static final int SHOW_ENTITY_REFERENCE = 0x00000010;

Code final int SHOW_NOTATION #

static final int SHOW_NOTATION = 0x00000800;

Code final int SHOW_PROCESSING_INSTRUCTION #

static final int SHOW_PROCESSING_INSTRUCTION = 0x00000040;

Code final int SHOW_TEXT #

static final int SHOW_TEXT = 0x00000004;

Methods

Code int acceptNode(Node n) #

The accept node method used by the filter is supplied as an object property when constructing the NodeIterator or TreeWalker .
int acceptNode(Node n);

This page includes content from the Mozilla Foundation that is graciously licensed under a Creative Commons: Attribution-Sharealike license. Mozilla has no other association with Dart or dartlang.org. We encourage you to improve the web by contributing to The Mozilla Developer Network.