|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SelectorFactory
Selector
Method Summary | |
---|---|
SimpleSelector |
createAnyNodeSelector()
Creates an any node selector. |
CharacterDataSelector |
createCDataSectionSelector(java.lang.String data)
Creates a cdata section node selector. |
DescendantSelector |
createChildSelector(Selector parent,
SimpleSelector child)
Creates a child selector. |
CharacterDataSelector |
createCommentSelector(java.lang.String data)
Creates a comment node selector. |
ConditionalSelector |
createConditionalSelector(SimpleSelector selector,
Condition condition)
Creates a conditional selector. |
DescendantSelector |
createDescendantSelector(Selector parent,
SimpleSelector descendant)
Creates a descendant selector. |
SiblingSelector |
createDirectAdjacentSelector(short nodeType,
Selector child,
SimpleSelector directAdjacent)
Creates a sibling selector. |
ElementSelector |
createElementSelector(java.lang.String namespaceURI,
java.lang.String tagName)
Creates an element selector. |
NegativeSelector |
createNegativeSelector(SimpleSelector selector)
Creates an negative selector. |
ProcessingInstructionSelector |
createProcessingInstructionSelector(java.lang.String target,
java.lang.String data)
Creates a processing instruction node selector. |
ElementSelector |
createPseudoElementSelector(java.lang.String namespaceURI,
java.lang.String pseudoName)
Creates a pseudo element selector. |
SimpleSelector |
createRootNodeSelector()
Creates an root node selector. |
CharacterDataSelector |
createTextNodeSelector(java.lang.String data)
Creates a text node selector. |
Method Detail |
---|
ConditionalSelector createConditionalSelector(SimpleSelector selector, Condition condition) throws CSSException
selector
- a selector.condition
- a condition
CSSException
- If this selector is not supported.SimpleSelector createAnyNodeSelector() throws CSSException
CSSException
- If this selector is not supported.SimpleSelector createRootNodeSelector() throws CSSException
CSSException
- If this selector is not supported.NegativeSelector createNegativeSelector(SimpleSelector selector) throws CSSException
selector
- a selector.
CSSException
- If this selector is not supported.ElementSelector createElementSelector(java.lang.String namespaceURI, java.lang.String tagName) throws CSSException
namespaceURI
- 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.CharacterDataSelector createTextNodeSelector(java.lang.String data) throws CSSException
data
- the data
CSSException
- If this selector is not supported.CharacterDataSelector createCDataSectionSelector(java.lang.String data) throws CSSException
data
- the data
CSSException
- If this selector is not supported.ProcessingInstructionSelector createProcessingInstructionSelector(java.lang.String target, java.lang.String data) throws CSSException
target
- the targetdata
- the data
CSSException
- If this selector is not supported.CharacterDataSelector createCommentSelector(java.lang.String data) throws CSSException
data
- the data
CSSException
- If this selector is not supported.ElementSelector createPseudoElementSelector(java.lang.String namespaceURI, java.lang.String pseudoName) throws CSSException
pseudoName
- the pseudo element name. NULL
if this
element selector can match any pseudo element.
CSSException
- If this selector is not supported.DescendantSelector createDescendantSelector(Selector parent, SimpleSelector descendant) throws CSSException
parent
- the parent selectordescendant
- the descendant selector
CSSException
- If this selector is not supported.DescendantSelector createChildSelector(Selector parent, SimpleSelector child) throws CSSException
parent
- the parent selectorchild
- the child selector
CSSException
- If this selector is not supported.SiblingSelector createDirectAdjacentSelector(short nodeType, Selector child, SimpleSelector directAdjacent) throws CSSException
nodeType
- the type of nodes in the siblings list.child
- the child selectoradjacent
- the direct adjacent selector
CSSException
- If this selector is not supported.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |