public class CSSConditionFactory
extends java.lang.Object
implements org.w3c.css.sac.ConditionFactory
ConditionFactory
interface.Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
classLocalName
The class attribute local name.
|
protected java.lang.String |
classNamespaceURI
The class attribute namespace URI.
|
protected java.lang.String |
idLocalName
The id attribute local name.
|
protected java.lang.String |
idNamespaceURI
The id attribute namespace URI.
|
Constructor and Description |
---|
CSSConditionFactory(java.lang.String cns,
java.lang.String cln,
java.lang.String idns,
java.lang.String idln)
Creates a new condition factory.
|
Modifier and Type | Method and Description |
---|---|
org.w3c.css.sac.CombinatorCondition |
createAndCondition(org.w3c.css.sac.Condition first,
org.w3c.css.sac.Condition second)
SAC: Implements
ConditionFactory.createAndCondition(Condition,Condition) . |
org.w3c.css.sac.AttributeCondition |
createAttributeCondition(java.lang.String localName,
java.lang.String namespaceURI,
boolean specified,
java.lang.String value)
SAC: Implements
ConditionFactory.createAttributeCondition(String,String,boolean,String) . |
org.w3c.css.sac.AttributeCondition |
createBeginHyphenAttributeCondition(java.lang.String localName,
java.lang.String namespaceURI,
boolean specified,
java.lang.String value)
SAC: Implements
ConditionFactory.createBeginHyphenAttributeCondition(String,String,boolean,String) . |
org.w3c.css.sac.AttributeCondition |
createClassCondition(java.lang.String namespaceURI,
java.lang.String value)
SAC: Implements
ConditionFactory.createClassCondition(String,String) . |
org.w3c.css.sac.ContentCondition |
createContentCondition(java.lang.String data)
SAC: Implements
ConditionFactory.createContentCondition(String) . |
org.w3c.css.sac.AttributeCondition |
createIdCondition(java.lang.String value)
SAC: Implements
ConditionFactory.createIdCondition(String) . |
org.w3c.css.sac.LangCondition |
createLangCondition(java.lang.String lang)
SAC: Implements
ConditionFactory.createLangCondition(String) . |
org.w3c.css.sac.NegativeCondition |
createNegativeCondition(org.w3c.css.sac.Condition condition)
SAC: Implements
ConditionFactory.createNegativeCondition(Condition) . |
org.w3c.css.sac.AttributeCondition |
createOneOfAttributeCondition(java.lang.String localName,
java.lang.String nsURI,
boolean specified,
java.lang.String value)
SAC: Implements
ConditionFactory.createOneOfAttributeCondition(String,String,boolean,String) . |
org.w3c.css.sac.Condition |
createOnlyChildCondition()
SAC: Implements
ConditionFactory.createOnlyChildCondition() . |
org.w3c.css.sac.Condition |
createOnlyTypeCondition()
SAC: Implements
ConditionFactory.createOnlyTypeCondition() . |
org.w3c.css.sac.CombinatorCondition |
createOrCondition(org.w3c.css.sac.Condition first,
org.w3c.css.sac.Condition second)
SAC: Implements
ConditionFactory.createOrCondition(Condition,Condition) . |
org.w3c.css.sac.PositionalCondition |
createPositionalCondition(int position,
boolean typeNode,
boolean type)
SAC: Implements
ConditionFactory.createPositionalCondition(int,boolean,boolean) . |
org.w3c.css.sac.AttributeCondition |
createPseudoClassCondition(java.lang.String namespaceURI,
java.lang.String value)
SAC: Implements
ConditionFactory.createPseudoClassCondition(String,String) . |
protected java.lang.String classNamespaceURI
protected java.lang.String classLocalName
protected java.lang.String idNamespaceURI
protected java.lang.String idLocalName
public CSSConditionFactory(java.lang.String cns, java.lang.String cln, java.lang.String idns, java.lang.String idln)
public org.w3c.css.sac.CombinatorCondition createAndCondition(org.w3c.css.sac.Condition first, org.w3c.css.sac.Condition second) throws org.w3c.css.sac.CSSException
ConditionFactory.createAndCondition(Condition,Condition)
.createAndCondition
in interface org.w3c.css.sac.ConditionFactory
org.w3c.css.sac.CSSException
public org.w3c.css.sac.CombinatorCondition createOrCondition(org.w3c.css.sac.Condition first, org.w3c.css.sac.Condition second) throws org.w3c.css.sac.CSSException
ConditionFactory.createOrCondition(Condition,Condition)
.createOrCondition
in interface org.w3c.css.sac.ConditionFactory
org.w3c.css.sac.CSSException
public org.w3c.css.sac.NegativeCondition createNegativeCondition(org.w3c.css.sac.Condition condition) throws org.w3c.css.sac.CSSException
ConditionFactory.createNegativeCondition(Condition)
.createNegativeCondition
in interface org.w3c.css.sac.ConditionFactory
org.w3c.css.sac.CSSException
public org.w3c.css.sac.PositionalCondition createPositionalCondition(int position, boolean typeNode, boolean type) throws org.w3c.css.sac.CSSException
ConditionFactory.createPositionalCondition(int,boolean,boolean)
.createPositionalCondition
in interface org.w3c.css.sac.ConditionFactory
org.w3c.css.sac.CSSException
public org.w3c.css.sac.AttributeCondition createAttributeCondition(java.lang.String localName, java.lang.String namespaceURI, boolean specified, java.lang.String value) throws org.w3c.css.sac.CSSException
ConditionFactory.createAttributeCondition(String,String,boolean,String)
.createAttributeCondition
in interface org.w3c.css.sac.ConditionFactory
org.w3c.css.sac.CSSException
public org.w3c.css.sac.AttributeCondition createIdCondition(java.lang.String value) throws org.w3c.css.sac.CSSException
ConditionFactory.createIdCondition(String)
.createIdCondition
in interface org.w3c.css.sac.ConditionFactory
org.w3c.css.sac.CSSException
public org.w3c.css.sac.LangCondition createLangCondition(java.lang.String lang) throws org.w3c.css.sac.CSSException
ConditionFactory.createLangCondition(String)
.createLangCondition
in interface org.w3c.css.sac.ConditionFactory
org.w3c.css.sac.CSSException
public org.w3c.css.sac.AttributeCondition createOneOfAttributeCondition(java.lang.String localName, java.lang.String nsURI, boolean specified, java.lang.String value) throws org.w3c.css.sac.CSSException
ConditionFactory.createOneOfAttributeCondition(String,String,boolean,String)
.createOneOfAttributeCondition
in interface org.w3c.css.sac.ConditionFactory
org.w3c.css.sac.CSSException
public org.w3c.css.sac.AttributeCondition createBeginHyphenAttributeCondition(java.lang.String localName, java.lang.String namespaceURI, boolean specified, java.lang.String value) throws org.w3c.css.sac.CSSException
ConditionFactory.createBeginHyphenAttributeCondition(String,String,boolean,String)
.createBeginHyphenAttributeCondition
in interface org.w3c.css.sac.ConditionFactory
org.w3c.css.sac.CSSException
public org.w3c.css.sac.AttributeCondition createClassCondition(java.lang.String namespaceURI, java.lang.String value) throws org.w3c.css.sac.CSSException
ConditionFactory.createClassCondition(String,String)
.createClassCondition
in interface org.w3c.css.sac.ConditionFactory
org.w3c.css.sac.CSSException
public org.w3c.css.sac.AttributeCondition createPseudoClassCondition(java.lang.String namespaceURI, java.lang.String value) throws org.w3c.css.sac.CSSException
ConditionFactory.createPseudoClassCondition(String,String)
.createPseudoClassCondition
in interface org.w3c.css.sac.ConditionFactory
org.w3c.css.sac.CSSException
public org.w3c.css.sac.Condition createOnlyChildCondition() throws org.w3c.css.sac.CSSException
ConditionFactory.createOnlyChildCondition()
.createOnlyChildCondition
in interface org.w3c.css.sac.ConditionFactory
org.w3c.css.sac.CSSException
public org.w3c.css.sac.Condition createOnlyTypeCondition() throws org.w3c.css.sac.CSSException
ConditionFactory.createOnlyTypeCondition()
.createOnlyTypeCondition
in interface org.w3c.css.sac.ConditionFactory
org.w3c.css.sac.CSSException
public org.w3c.css.sac.ContentCondition createContentCondition(java.lang.String data) throws org.w3c.css.sac.CSSException
ConditionFactory.createContentCondition(String)
.createContentCondition
in interface org.w3c.css.sac.ConditionFactory
org.w3c.css.sac.CSSException
Copyright © 2022 Apache Software Foundation. All Rights Reserved.