1 16 19 package org.apache.xml.dtm; 20 21 25 public interface DTMFilter 26 { 27 28 32 35 public static final int SHOW_ALL = 0xFFFFFFFF; 36 37 40 public static final int SHOW_ELEMENT = 0x00000001; 41 42 50 public static final int SHOW_ATTRIBUTE = 0x00000002; 51 52 55 public static final int SHOW_TEXT = 0x00000004; 56 57 60 public static final int SHOW_CDATA_SECTION = 0x00000008; 61 62 67 public static final int SHOW_ENTITY_REFERENCE = 0x00000010; 68 69 77 public static final int SHOW_ENTITY = 0x00000020; 78 79 82 public static final int SHOW_PROCESSING_INSTRUCTION = 0x00000040; 83 84 87 public static final int SHOW_COMMENT = 0x00000080; 88 89 94 public static final int SHOW_DOCUMENT = 0x00000100; 95 96 99 public static final int SHOW_DOCUMENT_TYPE = 0x00000200; 100 101 106 public static final int SHOW_DOCUMENT_FRAGMENT = 0x00000400; 107 108 116 public static final int SHOW_NOTATION = 0x00000800; 117 118 128 public static final int SHOW_NAMESPACE = 0x00001000; 129 130 139 public static final int SHOW_BYFUNCTION = 0x00010000; 140 141 152 public short acceptNode(int nodeHandle, int whatToShow); 153 154 184 public short acceptNode(int nodeHandle, int whatToShow, int expandedName); 185 186 } 187 | Popular Tags |