Class CSSSelectorFactoryImpl
java.lang.Object
org.eclipse.e4.ui.css.core.impl.sac.CSSSelectorFactoryImpl
- All Implemented Interfaces:
org.w3c.css.sac.SelectorFactory
This class implements the
SelectorFactory
interface.-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.w3c.css.sac.SelectorFactory
The instance of this class. -
Constructor Summary
ModifierConstructorDescriptionprotected
This class does not need to be instantiated. -
Method Summary
Modifier and TypeMethodDescriptionorg.w3c.css.sac.SimpleSelector
SAC: ImplementsSelectorFactory.createAnyNodeSelector()
.org.w3c.css.sac.CharacterDataSelector
SAC: ImplementsSelectorFactory.createCDataSectionSelector(String)
.org.w3c.css.sac.DescendantSelector
createChildSelector
(org.w3c.css.sac.Selector parent, org.w3c.css.sac.SimpleSelector child) SAC: ImplementsSelectorFactory.createChildSelector(Selector,SimpleSelector)
.org.w3c.css.sac.CharacterDataSelector
createCommentSelector
(String data) SAC: ImplementsSelectorFactory.createCommentSelector(String)
.org.w3c.css.sac.ConditionalSelector
createConditionalSelector
(org.w3c.css.sac.SimpleSelector selector, org.w3c.css.sac.Condition condition) SAC: ImplementsSelectorFactory.createConditionalSelector(SimpleSelector,Condition)
.org.w3c.css.sac.DescendantSelector
createDescendantSelector
(org.w3c.css.sac.Selector parent, org.w3c.css.sac.SimpleSelector descendant) SAC: ImplementsSelectorFactory.createDescendantSelector(Selector,SimpleSelector)
.org.w3c.css.sac.SiblingSelector
createDirectAdjacentSelector
(short nodeType, org.w3c.css.sac.Selector child, org.w3c.css.sac.SimpleSelector directAdjacent) SAC: ImplementsSelectorFactory.createDirectAdjacentSelector(short,Selector,SimpleSelector)
.org.w3c.css.sac.ElementSelector
createElementSelector
(String namespaceURI, String tagName) SAC: ImplementsSelectorFactory.createElementSelector(String,String)
.org.w3c.css.sac.NegativeSelector
createNegativeSelector
(org.w3c.css.sac.SimpleSelector selector) SAC: ImplementsSelectorFactory.createNegativeSelector(SimpleSelector)
.org.w3c.css.sac.ProcessingInstructionSelector
createProcessingInstructionSelector
(String target, String data) SAC: ImplementsSelectorFactory.createProcessingInstructionSelector(String,String)
.org.w3c.css.sac.ElementSelector
createPseudoElementSelector
(String namespaceURI, String pseudoName) SAC: ImplementsSelectorFactory.createPseudoElementSelector(String,String)
.org.w3c.css.sac.SimpleSelector
SAC: ImplementsSelectorFactory.createRootNodeSelector()
.org.w3c.css.sac.CharacterDataSelector
createTextNodeSelector
(String data) SAC: ImplementsSelectorFactory.createTextNodeSelector(String)
.
-
Field Details
-
INSTANCE
public static final org.w3c.css.sac.SelectorFactory INSTANCEThe instance of this class.
-
-
Constructor Details
-
CSSSelectorFactoryImpl
protected CSSSelectorFactoryImpl()This class does not need to be instantiated.
-
-
Method Details
-
createConditionalSelector
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 SAC: ImplementsSelectorFactory.createConditionalSelector(SimpleSelector,Condition)
.- Specified by:
createConditionalSelector
in interfaceorg.w3c.css.sac.SelectorFactory
- Throws:
org.w3c.css.sac.CSSException
-
createAnyNodeSelector
public org.w3c.css.sac.SimpleSelector createAnyNodeSelector() throws org.w3c.css.sac.CSSExceptionSAC: ImplementsSelectorFactory.createAnyNodeSelector()
.- Specified by:
createAnyNodeSelector
in interfaceorg.w3c.css.sac.SelectorFactory
- Throws:
org.w3c.css.sac.CSSException
-
createRootNodeSelector
public org.w3c.css.sac.SimpleSelector createRootNodeSelector() throws org.w3c.css.sac.CSSExceptionSAC: ImplementsSelectorFactory.createRootNodeSelector()
.- Specified by:
createRootNodeSelector
in interfaceorg.w3c.css.sac.SelectorFactory
- Throws:
org.w3c.css.sac.CSSException
-
createNegativeSelector
public org.w3c.css.sac.NegativeSelector createNegativeSelector(org.w3c.css.sac.SimpleSelector selector) throws org.w3c.css.sac.CSSException SAC: ImplementsSelectorFactory.createNegativeSelector(SimpleSelector)
.- Specified by:
createNegativeSelector
in interfaceorg.w3c.css.sac.SelectorFactory
- Throws:
org.w3c.css.sac.CSSException
-
createElementSelector
public org.w3c.css.sac.ElementSelector createElementSelector(String namespaceURI, String tagName) throws org.w3c.css.sac.CSSException SAC: ImplementsSelectorFactory.createElementSelector(String,String)
.- Specified by:
createElementSelector
in interfaceorg.w3c.css.sac.SelectorFactory
- Throws:
org.w3c.css.sac.CSSException
-
createTextNodeSelector
public org.w3c.css.sac.CharacterDataSelector createTextNodeSelector(String data) throws org.w3c.css.sac.CSSException SAC: ImplementsSelectorFactory.createTextNodeSelector(String)
.- Specified by:
createTextNodeSelector
in interfaceorg.w3c.css.sac.SelectorFactory
- Throws:
org.w3c.css.sac.CSSException
-
createCDataSectionSelector
public org.w3c.css.sac.CharacterDataSelector createCDataSectionSelector(String data) throws org.w3c.css.sac.CSSException SAC: ImplementsSelectorFactory.createCDataSectionSelector(String)
.- Specified by:
createCDataSectionSelector
in interfaceorg.w3c.css.sac.SelectorFactory
- Throws:
org.w3c.css.sac.CSSException
-
createProcessingInstructionSelector
public org.w3c.css.sac.ProcessingInstructionSelector createProcessingInstructionSelector(String target, String data) throws org.w3c.css.sac.CSSException SAC: ImplementsSelectorFactory.createProcessingInstructionSelector(String,String)
.- Specified by:
createProcessingInstructionSelector
in interfaceorg.w3c.css.sac.SelectorFactory
- Throws:
org.w3c.css.sac.CSSException
-
createCommentSelector
public org.w3c.css.sac.CharacterDataSelector createCommentSelector(String data) throws org.w3c.css.sac.CSSException SAC: ImplementsSelectorFactory.createCommentSelector(String)
.- Specified by:
createCommentSelector
in interfaceorg.w3c.css.sac.SelectorFactory
- Throws:
org.w3c.css.sac.CSSException
-
createPseudoElementSelector
public org.w3c.css.sac.ElementSelector createPseudoElementSelector(String namespaceURI, String pseudoName) throws org.w3c.css.sac.CSSException SAC: ImplementsSelectorFactory.createPseudoElementSelector(String,String)
.- Specified by:
createPseudoElementSelector
in interfaceorg.w3c.css.sac.SelectorFactory
- Throws:
org.w3c.css.sac.CSSException
-
createDescendantSelector
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 SAC: ImplementsSelectorFactory.createDescendantSelector(Selector,SimpleSelector)
.- Specified by:
createDescendantSelector
in interfaceorg.w3c.css.sac.SelectorFactory
- Throws:
org.w3c.css.sac.CSSException
-
createChildSelector
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 SAC: ImplementsSelectorFactory.createChildSelector(Selector,SimpleSelector)
.- Specified by:
createChildSelector
in interfaceorg.w3c.css.sac.SelectorFactory
- Throws:
org.w3c.css.sac.CSSException
-
createDirectAdjacentSelector
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 SAC: ImplementsSelectorFactory.createDirectAdjacentSelector(short,Selector,SimpleSelector)
.- Specified by:
createDirectAdjacentSelector
in interfaceorg.w3c.css.sac.SelectorFactory
- Throws:
org.w3c.css.sac.CSSException
-