NodeFilter

external interface NodeFilter (source)

Platform and version requirements: JS

Exposes the JavaScript NodeFilter to Kotlin

Functions

acceptNode

abstract fun acceptNode(node: Node): Short

Inherited Functions

equals

open operator fun equals(other: Any?): Boolean

Indicates whether some other object is "equal to" this one. Implementations must fulfil the following requirements:

hashCode

open fun hashCode(): Int

Returns a hash code value for the object. The general contract of hashCode is:

toString

open fun toString(): String

Returns a string representation of the object.

Companion Object Properties

FILTER_ACCEPT

val FILTER_ACCEPT: Short

FILTER_REJECT

val FILTER_REJECT: Short

FILTER_SKIP

val FILTER_SKIP: Short

SHOW_ALL

val SHOW_ALL: Int

SHOW_ATTRIBUTE

val SHOW_ATTRIBUTE: Int

SHOW_CDATA_SECTION

val SHOW_CDATA_SECTION: Int

SHOW_COMMENT

val SHOW_COMMENT: Int

SHOW_DOCUMENT

val SHOW_DOCUMENT: Int

SHOW_DOCUMENT_FRAGMENT

val SHOW_DOCUMENT_FRAGMENT: Int

SHOW_DOCUMENT_TYPE

val SHOW_DOCUMENT_TYPE: Int

SHOW_ELEMENT

val SHOW_ELEMENT: Int

SHOW_ENTITY

val SHOW_ENTITY: Int

SHOW_ENTITY_REFERENCE

val SHOW_ENTITY_REFERENCE: Int

SHOW_NOTATION

val SHOW_NOTATION: Int

SHOW_PROCESSING_INSTRUCTION

val SHOW_PROCESSING_INSTRUCTION: Int

SHOW_TEXT

val SHOW_TEXT: Int