com.steadystate.css.parser.selectors
Class ConditionFactoryImpl
java.lang.Object
com.steadystate.css.parser.selectors.ConditionFactoryImpl
- All Implemented Interfaces:
- ConditionFactory
public class ConditionFactoryImpl
- extends Object
- implements ConditionFactory
- Version:
- $Id: ConditionFactoryImpl.java,v 1.1 2008/03/20 01:20:17 sdanig Exp $
- Author:
- David Schweinsberg
Method Summary |
CombinatorCondition |
createAndCondition(Condition first,
Condition second)
|
AttributeCondition |
createAttributeCondition(String localName,
String namespaceURI,
boolean specified,
String value)
|
AttributeCondition |
createBeginHyphenAttributeCondition(String localName,
String namespaceURI,
boolean specified,
String value)
|
AttributeCondition |
createClassCondition(String namespaceURI,
String value)
|
ContentCondition |
createContentCondition(String data)
|
AttributeCondition |
createIdCondition(String value)
|
LangCondition |
createLangCondition(String lang)
|
NegativeCondition |
createNegativeCondition(Condition condition)
|
AttributeCondition |
createOneOfAttributeCondition(String localName,
String namespaceURI,
boolean specified,
String value)
|
Condition |
createOnlyChildCondition()
|
Condition |
createOnlyTypeCondition()
|
CombinatorCondition |
createOrCondition(Condition first,
Condition second)
|
PositionalCondition |
createPositionalCondition(int position,
boolean typeNode,
boolean type)
|
AttributeCondition |
createPseudoClassCondition(String namespaceURI,
String value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConditionFactoryImpl
public ConditionFactoryImpl()
createAndCondition
public CombinatorCondition createAndCondition(Condition first,
Condition second)
throws CSSException
- Specified by:
createAndCondition
in interface ConditionFactory
- Throws:
CSSException
createOrCondition
public CombinatorCondition createOrCondition(Condition first,
Condition second)
throws CSSException
- Specified by:
createOrCondition
in interface ConditionFactory
- Throws:
CSSException
createNegativeCondition
public NegativeCondition createNegativeCondition(Condition condition)
throws CSSException
- Specified by:
createNegativeCondition
in interface ConditionFactory
- Throws:
CSSException
createPositionalCondition
public PositionalCondition createPositionalCondition(int position,
boolean typeNode,
boolean type)
throws CSSException
- Specified by:
createPositionalCondition
in interface ConditionFactory
- Throws:
CSSException
createAttributeCondition
public AttributeCondition createAttributeCondition(String localName,
String namespaceURI,
boolean specified,
String value)
throws CSSException
- Specified by:
createAttributeCondition
in interface ConditionFactory
- Throws:
CSSException
createIdCondition
public AttributeCondition createIdCondition(String value)
throws CSSException
- Specified by:
createIdCondition
in interface ConditionFactory
- Throws:
CSSException
createLangCondition
public LangCondition createLangCondition(String lang)
throws CSSException
- Specified by:
createLangCondition
in interface ConditionFactory
- Throws:
CSSException
createOneOfAttributeCondition
public AttributeCondition createOneOfAttributeCondition(String localName,
String namespaceURI,
boolean specified,
String value)
throws CSSException
- Specified by:
createOneOfAttributeCondition
in interface ConditionFactory
- Throws:
CSSException
createBeginHyphenAttributeCondition
public AttributeCondition createBeginHyphenAttributeCondition(String localName,
String namespaceURI,
boolean specified,
String value)
throws CSSException
- Specified by:
createBeginHyphenAttributeCondition
in interface ConditionFactory
- Throws:
CSSException
createClassCondition
public AttributeCondition createClassCondition(String namespaceURI,
String value)
throws CSSException
- Specified by:
createClassCondition
in interface ConditionFactory
- Throws:
CSSException
createPseudoClassCondition
public AttributeCondition createPseudoClassCondition(String namespaceURI,
String value)
throws CSSException
- Specified by:
createPseudoClassCondition
in interface ConditionFactory
- Throws:
CSSException
createOnlyChildCondition
public Condition createOnlyChildCondition()
throws CSSException
- Specified by:
createOnlyChildCondition
in interface ConditionFactory
- Throws:
CSSException
createOnlyTypeCondition
public Condition createOnlyTypeCondition()
throws CSSException
- Specified by:
createOnlyTypeCondition
in interface ConditionFactory
- Throws:
CSSException
createContentCondition
public ContentCondition createContentCondition(String data)
throws CSSException
- Specified by:
createContentCondition
in interface ConditionFactory
- Throws:
CSSException
Copyright © 2011. All Rights Reserved.