| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 2 // for details. All rights reserved. Use of this source code is governed by a | |
| 3 // BSD-style license that can be found in the LICENSE file. | |
| 4 | |
| 5 // WARNING: | |
| 6 // This file contains documentation that is merged into the real source. | |
| 7 // Do not make code changes here. | |
| 8 | |
| 9 /// @domName NodeFilter | |
| 10 interface NodeFilter { | |
| 11 | |
| 12 static final int FILTER_ACCEPT = 1; | |
| 13 | |
| 14 static final int FILTER_REJECT = 2; | |
| 15 | |
| 16 static final int FILTER_SKIP = 3; | |
| 17 | |
| 18 static final int SHOW_ALL = 0xFFFFFFFF; | |
| 19 | |
| 20 static final int SHOW_ATTRIBUTE = 0x00000002; | |
| 21 | |
| 22 static final int SHOW_CDATA_SECTION = 0x00000008; | |
| 23 | |
| 24 static final int SHOW_COMMENT = 0x00000080; | |
| 25 | |
| 26 static final int SHOW_DOCUMENT = 0x00000100; | |
| 27 | |
| 28 static final int SHOW_DOCUMENT_FRAGMENT = 0x00000400; | |
| 29 | |
| 30 static final int SHOW_DOCUMENT_TYPE = 0x00000200; | |
| 31 | |
| 32 static final int SHOW_ELEMENT = 0x00000001; | |
| 33 | |
| 34 static final int SHOW_ENTITY = 0x00000020; | |
| 35 | |
| 36 static final int SHOW_ENTITY_REFERENCE = 0x00000010; | |
| 37 | |
| 38 static final int SHOW_NOTATION = 0x00000800; | |
| 39 | |
| 40 static final int SHOW_PROCESSING_INSTRUCTION = 0x00000040; | |
| 41 | |
| 42 static final int SHOW_TEXT = 0x00000004; | |
| 43 | |
| 44 /** @domName NodeFilter.acceptNode */ | |
| 45 int acceptNode(Node n); | |
| 46 } | |
| OLD | NEW |