NodeFilter

extern class js.html.NodeFilterAvailable in js function acceptNode( n : Node ) : Int static inline var FILTER_ACCEPT : IntValue returned by the NodeFilter.acceptNode() method when a node should be accepted. static inline var FILTER_REJECT : IntValue to be returned by the NodeFilter.acceptNode() method when a node should be rejected. The children of rejected nodes are not visited by the NodeIterator or TreeWalker object; this value is treated as "skip this node and all its children". static inline var FILTER_SKIP : IntValue to be returned by NodeFilter.acceptNode() for nodes to be skipped by the NodeIterator or TreeWalker object. The children of skipped nodes are still considered. This is treated as "skip this node but not its children". static inline var SHOW_ALL : IntShows all nodes. static inline var SHOW_ATTRIBUTE : IntShows attribute Attr nodes. This is meaningful only when creating a NodeIterator or TreeWalker with an Attr node as its root; in this case, it means that the attribute node will appear in the first position of the iteration or traversal. Since attributes are never children of other nodes, they do not appear when traversing over the document tree. static inline var SHOW_CDATA_SECTION : IntShows CDATASection  nodes. static inline var SHOW_COMMENT : IntShows Comment  nodes. static inline var SHOW_DOCUMENT : IntShows Document  nodes. static inline var SHOW_DOCUMENT_FRAGMENT : IntShows DocumentFragment  nodes. static inline var SHOW_DOCUMENT_TYPE : IntShows DocumentType  nodes. static inline var SHOW_ELEMENT : IntShows Element  nodes. static inline var SHOW_ENTITY : IntShows Entity  nodes. This is meaningful only when creating a NodeIterator or TreeWalker with an Entity node as its root; in this case, it means that the Entity node will appear in the first position of the traversal. Since entities are not part of the document tree, they do not appear when traversing over the document tree. static inline var SHOW_ENTITY_REFERENCE : IntShows EntityReference  nodes. static inline var SHOW_NOTATION : IntShows Notation nodes. This is meaningful only when creating a NodeIterator or TreeWalker with a Notation node as its root; in this case, it means that the Notation node will appear in the first position of the traversal. Since entities are not part of the document tree, they do not appear when traversing over the document tree. static inline var SHOW_PROCESSING_INSTRUCTION : IntShows ProcessingInstruction  nodes. static inline var SHOW_TEXT : IntShows Text  nodes.
version #18317, modified 2013-05-01 11:58:04 by api
0 comment