]> git.proxmox.com Git - mirror_edk2.git/blame - AppPkg/Applications/Python/Python-2.7.2/Lib/xml/dom/NodeFilter.py
EmbeddedPkg: Extend NvVarStoreFormattedLib LIBRARY_CLASS
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.2 / Lib / xml / dom / NodeFilter.py
CommitLineData
4710c53d 1# This is the Python mapping for interface NodeFilter from\r
2# DOM2-Traversal-Range. It contains only constants.\r
3\r
4class NodeFilter:\r
5 """\r
6 This is the DOM2 NodeFilter interface. It contains only constants.\r
7 """\r
8 FILTER_ACCEPT = 1\r
9 FILTER_REJECT = 2\r
10 FILTER_SKIP = 3\r
11\r
12 SHOW_ALL = 0xFFFFFFFFL\r
13 SHOW_ELEMENT = 0x00000001\r
14 SHOW_ATTRIBUTE = 0x00000002\r
15 SHOW_TEXT = 0x00000004\r
16 SHOW_CDATA_SECTION = 0x00000008\r
17 SHOW_ENTITY_REFERENCE = 0x00000010\r
18 SHOW_ENTITY = 0x00000020\r
19 SHOW_PROCESSING_INSTRUCTION = 0x00000040\r
20 SHOW_COMMENT = 0x00000080\r
21 SHOW_DOCUMENT = 0x00000100\r
22 SHOW_DOCUMENT_TYPE = 0x00000200\r
23 SHOW_DOCUMENT_FRAGMENT = 0x00000400\r
24 SHOW_NOTATION = 0x00000800\r
25\r
26 def acceptNode(self, node):\r
27 raise NotImplementedError\r