1 14 package org.w3c.css.sac; 15 16 21 public interface SelectorFactory { 22 23 31 ConditionalSelector createConditionalSelector(SimpleSelector selector, 32 Condition condition) 33 throws CSSException; 34 35 41 SimpleSelector createAnyNodeSelector() throws CSSException; 42 43 49 SimpleSelector createRootNodeSelector() throws CSSException; 50 51 58 NegativeSelector createNegativeSelector(SimpleSelector selector) 59 throws CSSException; 60 61 72 ElementSelector createElementSelector(String namespaceURI, String tagName) 73 throws CSSException; 74 75 82 CharacterDataSelector createTextNodeSelector(String data) 83 throws CSSException; 84 85 92 CharacterDataSelector createCDataSectionSelector(String data) 93 throws CSSException; 94 95 103 ProcessingInstructionSelector 104 createProcessingInstructionSelector(String target, 105 String data) 106 throws CSSException; 107 108 115 CharacterDataSelector createCommentSelector(String data) 116 throws CSSException; 117 118 126 ElementSelector createPseudoElementSelector(String namespaceURI, 127 String pseudoName) 128 throws CSSException; 129 130 138 DescendantSelector createDescendantSelector(Selector parent, 139 SimpleSelector descendant) 140 throws CSSException; 141 142 150 DescendantSelector createChildSelector(Selector parent, 151 SimpleSelector child) 152 throws CSSException; 153 154 164 SiblingSelector createDirectAdjacentSelector(short nodeType, 165 Selector child, 166 SimpleSelector directAdjacent) 167 throws CSSException; 168 } 169 | Popular Tags |