public class SelectorFactoryAdapter extends Object implements SelectorFactoryExt
| Constructor and Description |
|---|
SelectorFactoryAdapter(SelectorFactory selectorFactory) |
public SelectorFactoryAdapter(SelectorFactory selectorFactory)
public ConditionalSelector createConditionalSelector(SimpleSelector selector, Condition condition) throws CSSException
SelectorFactorycreateConditionalSelector in interface SelectorFactoryselector - a selector.condition - a conditionCSSException - If this selector is not supported.public SimpleSelector createAnyNodeSelector() throws CSSException
SelectorFactorycreateAnyNodeSelector in interface SelectorFactoryCSSException - If this selector is not supported.public SimpleSelector createRootNodeSelector() throws CSSException
SelectorFactorycreateRootNodeSelector in interface SelectorFactoryCSSException - If this selector is not supported.public NegativeSelector createNegativeSelector(SimpleSelector selector) throws CSSException
SelectorFactorycreateNegativeSelector in interface SelectorFactoryselector - a selector.CSSException - If this selector is not supported.public ElementSelector createElementSelector(String namespaceURI, String tagName) throws CSSException
SelectorFactorycreateElementSelector in interface SelectorFactorynamespaceURI - the namespace
URI of the element selector.tagName - the local
part of the element name. NULL if this element
selector can match any element.CSSException - If this selector is not supported.public CharacterDataSelector createTextNodeSelector(String data) throws CSSException
SelectorFactorycreateTextNodeSelector in interface SelectorFactorydata - the dataCSSException - If this selector is not supported.public CharacterDataSelector createCDataSectionSelector(String data) throws CSSException
SelectorFactorycreateCDataSectionSelector in interface SelectorFactorydata - the dataCSSException - If this selector is not supported.public ProcessingInstructionSelector createProcessingInstructionSelector(String target, String data) throws CSSException
SelectorFactorycreateProcessingInstructionSelector in interface SelectorFactorytarget - the targetdata - the dataCSSException - If this selector is not supported.public CharacterDataSelector createCommentSelector(String data) throws CSSException
SelectorFactorycreateCommentSelector in interface SelectorFactorydata - the dataCSSException - If this selector is not supported.public ElementSelector createPseudoElementSelector(String namespaceURI, String pseudoName) throws CSSException
SelectorFactorycreatePseudoElementSelector in interface SelectorFactorypseudoName - the pseudo element name. NULL if this
element selector can match any pseudo element.CSSException - If this selector is not supported.public DescendantSelector createDescendantSelector(Selector parent, SimpleSelector descendant) throws CSSException
SelectorFactorycreateDescendantSelector in interface SelectorFactoryparent - the parent selectordescendant - the descendant selectorCSSException - If this selector is not supported.public DescendantSelector createChildSelector(Selector parent, SimpleSelector child) throws CSSException
SelectorFactorycreateChildSelector in interface SelectorFactoryparent - the parent selectorchild - the child selectorCSSException - If this selector is not supported.public SiblingSelector createDirectAdjacentSelector(short nodeType, Selector child, SimpleSelector directAdjacent) throws CSSException
SelectorFactorycreateDirectAdjacentSelector in interface SelectorFactorynodeType - the type of nodes in the siblings list.child - the child selectorCSSException - If this selector is not supported.public ElementSelector createElementSelector(String namespaceURI, String tagName, Locator locator) throws CSSException
createElementSelector in interface SelectorFactoryExtCSSExceptionpublic ElementSelector createPseudoElementSelector(String namespaceURI, String pseudoName, Locator locator, boolean doubleColon) throws CSSException
createPseudoElementSelector in interface SelectorFactoryExtCSSExceptionpublic ElementSelector createSyntheticElementSelector() throws CSSException
createSyntheticElementSelector in interface SelectorFactoryExtCSSExceptionpublic SiblingSelector createGeneralAdjacentSelector(short nodeType, Selector child, SimpleSelector directAdjacent) throws CSSException
createGeneralAdjacentSelector in interface SelectorFactoryExtCSSExceptionCopyright © 2026. All rights reserved.