#### PyKDE - Python Bindings for KDE

# class DOM.NodeFilter

Table of contents
Modules
khtml Classes
All Classes

Module | khtml
Class | DOM.NodeFilter
Inherits |

### enums

- AcceptCode = {FILTER_ACCEPT = 1, FILTER_REJECT = 2, FILTER_SKIP = 3 }
- ShowCode = {SHOW_ALL = -1, SHOW_ELEMENT = 1, SHOW_ATTRIBUTE = 2, SHOW_TEXT = 4, SHOW_CDATA_SECTION = 8, SHOW_ENTITY_REFERENCE = 16, SHOW_ENTITY = 32, SHOW_PROCESSING_INSTRUCTION = 64, SHOW_COMMENT = 128, SHOW_DOCUMENT = 256, SHOW_DOCUMENT_TYPE = 512, SHOW_DOCUMENT_FRAGMENT = 1024, SHOW_NOTATION = 2048 }

### methods

- NodeFilter ()

  returns a NodeFilter instance

- NodeFilter (other)

  returns a NodeFilter instance

  Argument | Type | Default
  --- | --- | ---
  other | DOM.NodeFilter |

- NodeFilter (i)

  Not Implemented

- NodeFilter (a0)

  Not Implemented

- acceptNode (n)

  returns (short)

  Argument | Type | Default
  --- | --- | ---
  n | DOM.Node |

- createCustom (custom)

  returns (DOM.NodeFilter)
  static

  Argument | Type | Default
  --- | --- | ---
  custom | DOM.CustomNodeFilter |

- customNodeFilter ()

  returns (DOM.CustomNodeFilter)

- handle ()

  Not Implemented

- isNull ()

  returns (bool)

- setCustomNodeFilter (custom)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  custom | DOM.CustomNodeFilter |