createAnyNodeSelector
public SimpleSelector createAnyNodeSelector()
throws CSSException Creates an any node selector.
createCDataSectionSelector
public CharacterDataSelector createCDataSectionSelector(String data)
throws CSSException Creates a cdata section node selector.
- the cdata section node selector
createChildSelector
public DescendantSelector createChildSelector(Selector parent,
SimpleSelector child)
throws CSSException Creates a child selector.
parent - the parent selectorchild - the child selector
createCommentSelector
public CharacterDataSelector createCommentSelector(String data)
throws CSSException Creates a comment node selector.
- the comment node selector
createConditionalSelector
public ConditionalSelector createConditionalSelector(SimpleSelector selector,
Condition condition)
throws CSSException Creates a conditional selector.
selector - a selector.condition - a condition
- the conditional selector.
createDescendantSelector
public DescendantSelector createDescendantSelector(Selector parent,
SimpleSelector descendant)
throws CSSException Creates a descendant selector.
parent - the parent selectordescendant - the descendant selector
createDirectAdjacentSelector
public SiblingSelector createDirectAdjacentSelector(short nodeType,
Selector child,
SimpleSelector directAdjacent)
throws CSSException Creates a direct adjacent selector.
child - the child selector
createElementSelector
public ElementSelector createElementSelector(String namespaceURI,
String localName)
throws CSSException Creates an element selector.
createNegativeSelector
public NegativeSelector createNegativeSelector(SimpleSelector selector)
throws CSSException Creates an negative selector.
createProcessingInstructionSelector
public ProcessingInstructionSelector createProcessingInstructionSelector(String target,
String data)
throws CSSException Creates a processing instruction node selector.
target - the targetdata - the data
- the processing instruction node selector
createPseudoElementSelector
public ElementSelector createPseudoElementSelector(String namespaceURI,
String pseudoName)
throws CSSException Creates a pseudo element selector.
pseudoName - the pseudo element name. NULL if this
element selector can match any pseudo element.
createRootNodeSelector
public SimpleSelector createRootNodeSelector()
throws CSSException Creates an root node selector.
createTextNodeSelector
public CharacterDataSelector createTextNodeSelector(String data)
throws CSSException Creates a text node selector.