NodeFilter

@native @JSGlobal @JSType
object NodeFilter extends Object
Companion:
class
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from:
Object
def isPrototypeOf(v: Object): Boolean
Inherited from:
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from:
Object
def toLocaleString(): String
Inherited from:
Object
def valueOf(): Any
Inherited from:
Object

Concrete fields

val FILTER_ACCEPT: Int

Value returned by the NodeFilter.acceptNode() method when a node should be accepted.

Value returned by the NodeFilter.acceptNode() method when a node should be accepted.

val FILTER_REJECT: Int

Value 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".

Value 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".

val FILTER_SKIP: Int

Value 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".

Value 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".

val SHOW_ALL: Int
val SHOW_COMMENT: Int
val SHOW_DOCUMENT: Int
val SHOW_ELEMENT: Int
val SHOW_ENTITY: Int
val SHOW_NOTATION: Int
val SHOW_TEXT: Int