1 14 package org.w3c.css.sac; 15 16 20 public interface ConditionFactory { 21 22 30 CombinatorCondition createAndCondition(Condition first, Condition second) 31 throws CSSException; 32 33 41 CombinatorCondition createOrCondition(Condition first, Condition second) 42 throws CSSException; 43 44 51 NegativeCondition createNegativeCondition(Condition condition) 52 throws CSSException; 53 54 66 PositionalCondition createPositionalCondition(int position, 67 boolean typeNode, 68 boolean type) 69 throws CSSException; 70 71 82 AttributeCondition createAttributeCondition(String localName, 83 String namespaceURI, 84 boolean specified, 85 String value) 86 throws CSSException; 87 88 95 AttributeCondition createIdCondition(String value) 96 throws CSSException; 97 98 105 LangCondition createLangCondition(String lang) 106 throws CSSException; 107 108 119 AttributeCondition createOneOfAttributeCondition(String localName, 120 String namespaceURI, 121 boolean specified, 122 String value) 123 throws CSSException; 124 125 136 AttributeCondition createBeginHyphenAttributeCondition(String localName, 137 String namespaceURI, 138 boolean specified, 139 String value) 140 throws CSSException; 141 142 153 AttributeCondition createClassCondition(String namespaceURI, 154 String value) 155 throws CSSException; 156 157 165 AttributeCondition createPseudoClassCondition(String namespaceURI, 166 String value) 167 throws CSSException; 168 169 175 Condition createOnlyChildCondition() throws CSSException; 176 177 178 184 Condition createOnlyTypeCondition() throws CSSException; 185 186 193 ContentCondition createContentCondition(String data) 194 throws CSSException; 195 196 197 } 198 | Popular Tags |