|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.w3c.flute.parser.selectors.SelectorFactoryImpl
public class SelectorFactoryImpl
Constructor Summary | |
---|---|
SelectorFactoryImpl()
|
Method Summary | |
---|---|
org.w3c.css.sac.SimpleSelector |
createAnyNodeSelector()
Creates an any node selector. |
org.w3c.css.sac.CharacterDataSelector |
createCDataSectionSelector(java.lang.String data)
Creates a cdata section node selector. |
org.w3c.css.sac.DescendantSelector |
createChildSelector(org.w3c.css.sac.Selector parent,
org.w3c.css.sac.SimpleSelector child)
Creates a child selector. |
org.w3c.css.sac.CharacterDataSelector |
createCommentSelector(java.lang.String data)
Creates a comment node selector. |
org.w3c.css.sac.ConditionalSelector |
createConditionalSelector(org.w3c.css.sac.SimpleSelector selector,
org.w3c.css.sac.Condition condition)
Creates a conditional selector. |
org.w3c.css.sac.DescendantSelector |
createDescendantSelector(org.w3c.css.sac.Selector parent,
org.w3c.css.sac.SimpleSelector descendant)
Creates a descendant selector. |
org.w3c.css.sac.SiblingSelector |
createDirectAdjacentSelector(short nodeType,
org.w3c.css.sac.Selector child,
org.w3c.css.sac.SimpleSelector directAdjacent)
Creates a direct adjacent selector. |
org.w3c.css.sac.ElementSelector |
createElementSelector(java.lang.String namespaceURI,
java.lang.String localName)
Creates an element selector. |
org.w3c.css.sac.NegativeSelector |
createNegativeSelector(org.w3c.css.sac.SimpleSelector selector)
Creates an negative selector. |
org.w3c.css.sac.ProcessingInstructionSelector |
createProcessingInstructionSelector(java.lang.String target,
java.lang.String data)
Creates a processing instruction node selector. |
org.w3c.css.sac.ElementSelector |
createPseudoElementSelector(java.lang.String namespaceURI,
java.lang.String pseudoName)
Creates a pseudo element selector. |
org.w3c.css.sac.SimpleSelector |
createRootNodeSelector()
Creates an root node selector. |
org.w3c.css.sac.CharacterDataSelector |
createTextNodeSelector(java.lang.String data)
Creates a text node selector. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SelectorFactoryImpl()
Method Detail |
---|
public org.w3c.css.sac.ConditionalSelector createConditionalSelector(org.w3c.css.sac.SimpleSelector selector, org.w3c.css.sac.Condition condition) throws org.w3c.css.sac.CSSException
createConditionalSelector
in interface org.w3c.css.sac.SelectorFactory
selector
- a selector.condition
- a condition
org.w3c.css.sac.CSSException
- If this selector is not supported.public org.w3c.css.sac.SimpleSelector createAnyNodeSelector() throws org.w3c.css.sac.CSSException
createAnyNodeSelector
in interface org.w3c.css.sac.SelectorFactory
org.w3c.css.sac.CSSException
- If this selector is not supported.public org.w3c.css.sac.SimpleSelector createRootNodeSelector() throws org.w3c.css.sac.CSSException
createRootNodeSelector
in interface org.w3c.css.sac.SelectorFactory
org.w3c.css.sac.CSSException
- If this selector is not supported.public org.w3c.css.sac.NegativeSelector createNegativeSelector(org.w3c.css.sac.SimpleSelector selector) throws org.w3c.css.sac.CSSException
createNegativeSelector
in interface org.w3c.css.sac.SelectorFactory
selector
- a selector.
org.w3c.css.sac.CSSException
- If this selector is not supported.public org.w3c.css.sac.ElementSelector createElementSelector(java.lang.String namespaceURI, java.lang.String localName) throws org.w3c.css.sac.CSSException
createElementSelector
in interface org.w3c.css.sac.SelectorFactory
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.
org.w3c.css.sac.CSSException
- If this selector is not supported.public org.w3c.css.sac.CharacterDataSelector createTextNodeSelector(java.lang.String data) throws org.w3c.css.sac.CSSException
createTextNodeSelector
in interface org.w3c.css.sac.SelectorFactory
data
- the data
org.w3c.css.sac.CSSException
- If this selector is not supported.public org.w3c.css.sac.CharacterDataSelector createCDataSectionSelector(java.lang.String data) throws org.w3c.css.sac.CSSException
createCDataSectionSelector
in interface org.w3c.css.sac.SelectorFactory
data
- the data
org.w3c.css.sac.CSSException
- If this selector is not supported.public org.w3c.css.sac.ProcessingInstructionSelector createProcessingInstructionSelector(java.lang.String target, java.lang.String data) throws org.w3c.css.sac.CSSException
createProcessingInstructionSelector
in interface org.w3c.css.sac.SelectorFactory
target
- the targetdata
- the data
org.w3c.css.sac.CSSException
- If this selector is not supported.public org.w3c.css.sac.CharacterDataSelector createCommentSelector(java.lang.String data) throws org.w3c.css.sac.CSSException
createCommentSelector
in interface org.w3c.css.sac.SelectorFactory
data
- the data
org.w3c.css.sac.CSSException
- If this selector is not supported.public org.w3c.css.sac.ElementSelector createPseudoElementSelector(java.lang.String namespaceURI, java.lang.String pseudoName) throws org.w3c.css.sac.CSSException
createPseudoElementSelector
in interface org.w3c.css.sac.SelectorFactory
pseudoName
- the pseudo element name. NULL
if this
element selector can match any pseudo element.
org.w3c.css.sac.CSSException
- If this selector is not supported.public org.w3c.css.sac.DescendantSelector createDescendantSelector(org.w3c.css.sac.Selector parent, org.w3c.css.sac.SimpleSelector descendant) throws org.w3c.css.sac.CSSException
createDescendantSelector
in interface org.w3c.css.sac.SelectorFactory
parent
- the parent selectordescendant
- the descendant selector
org.w3c.css.sac.CSSException
- If this selector is not supported.public org.w3c.css.sac.DescendantSelector createChildSelector(org.w3c.css.sac.Selector parent, org.w3c.css.sac.SimpleSelector child) throws org.w3c.css.sac.CSSException
createChildSelector
in interface org.w3c.css.sac.SelectorFactory
parent
- the parent selectorchild
- the child selector
org.w3c.css.sac.CSSException
- If this selector is not supported.public org.w3c.css.sac.SiblingSelector createDirectAdjacentSelector(short nodeType, org.w3c.css.sac.Selector child, org.w3c.css.sac.SimpleSelector directAdjacent) throws org.w3c.css.sac.CSSException
createDirectAdjacentSelector
in interface org.w3c.css.sac.SelectorFactory
child
- the child selectoradjacent
- the direct adjacent selector
org.w3c.css.sac.CSSException
- If this selector is not supported.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |