|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.w3c.flute.parser.selectors.ConditionFactoryImpl
public class ConditionFactoryImpl
Constructor Summary | |
---|---|
ConditionFactoryImpl()
|
Method Summary | |
---|---|
org.w3c.css.sac.CombinatorCondition |
createAndCondition(org.w3c.css.sac.Condition first,
org.w3c.css.sac.Condition second)
Creates an and condition |
org.w3c.css.sac.AttributeCondition |
createAttributeCondition(java.lang.String localName,
java.lang.String namespaceURI,
boolean specified,
java.lang.String value)
creates an attribute condition |
org.w3c.css.sac.AttributeCondition |
createBeginHyphenAttributeCondition(java.lang.String localName,
java.lang.String namespaceURI,
boolean specified,
java.lang.String value)
Creates a "begin hyphen" attribute condition |
org.w3c.css.sac.AttributeCondition |
createClassCondition(java.lang.String namespaceURI,
java.lang.String value)
Creates a class condition |
org.w3c.css.sac.ContentCondition |
createContentCondition(java.lang.String data)
Creates a content condition |
org.w3c.css.sac.AttributeCondition |
createIdCondition(java.lang.String value)
Creates an id condition |
org.w3c.css.sac.LangCondition |
createLangCondition(java.lang.String lang)
Creates a lang condition |
org.w3c.css.sac.NegativeCondition |
createNegativeCondition(org.w3c.css.sac.Condition condition)
Creates a negative condition |
org.w3c.css.sac.AttributeCondition |
createOneOfAttributeCondition(java.lang.String localName,
java.lang.String namespaceURI,
boolean specified,
java.lang.String value)
Creates a "one of" attribute condition |
org.w3c.css.sac.Condition |
createOnlyChildCondition()
Creates a "only one" child condition |
org.w3c.css.sac.Condition |
createOnlyTypeCondition()
Creates a "only one" type condition |
org.w3c.css.sac.CombinatorCondition |
createOrCondition(org.w3c.css.sac.Condition first,
org.w3c.css.sac.Condition second)
Creates an or condition |
org.w3c.css.sac.PositionalCondition |
createPositionalCondition(int position,
boolean typeNode,
boolean type)
Creates a positional condition |
org.w3c.css.sac.AttributeCondition |
createPseudoClassCondition(java.lang.String namespaceURI,
java.lang.String value)
Creates a pseudo class condition |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConditionFactoryImpl()
Method Detail |
---|
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
createAndCondition
in interface org.w3c.css.sac.ConditionFactory
first
- the first conditionsecond
- the second condition
org.w3c.css.sac.CSSException
- if this exception is not supported.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
createOrCondition
in interface org.w3c.css.sac.ConditionFactory
first
- the first conditionsecond
- the second condition
org.w3c.css.sac.CSSException
- if this exception is not supported.public org.w3c.css.sac.NegativeCondition createNegativeCondition(org.w3c.css.sac.Condition condition) throws org.w3c.css.sac.CSSException
createNegativeCondition
in interface org.w3c.css.sac.ConditionFactory
condition
- the condition
org.w3c.css.sac.CSSException
- if this exception is not supported.public org.w3c.css.sac.PositionalCondition createPositionalCondition(int position, boolean typeNode, boolean type) throws org.w3c.css.sac.CSSException
createPositionalCondition
in interface org.w3c.css.sac.ConditionFactory
position
- the position of the node in the list.typeNode
- true
if the list should contain
only nodes of the same type (element, text node, ...).type
- true
true if the list should contain
only nodes of the same node (for element, same localName
and same namespaceURI).
org.w3c.css.sac.CSSException
- if this exception is not supported.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
createAttributeCondition
in interface org.w3c.css.sac.ConditionFactory
localName
- the localName of the attributenamespaceURI
- the namespace URI of the attributespecified
- true
if the attribute must be specified
in the document.value
- the value of this attribute.
org.w3c.css.sac.CSSException
- if this exception is not supported.public org.w3c.css.sac.AttributeCondition createIdCondition(java.lang.String value) throws org.w3c.css.sac.CSSException
createIdCondition
in interface org.w3c.css.sac.ConditionFactory
value
- the value of the id.
org.w3c.css.sac.CSSException
- if this exception is not supported.public org.w3c.css.sac.LangCondition createLangCondition(java.lang.String lang) throws org.w3c.css.sac.CSSException
createLangCondition
in interface org.w3c.css.sac.ConditionFactory
value
- the value of the language.
org.w3c.css.sac.CSSException
- if this exception is not supported.public org.w3c.css.sac.AttributeCondition createOneOfAttributeCondition(java.lang.String localName, java.lang.String namespaceURI, boolean specified, java.lang.String value) throws org.w3c.css.sac.CSSException
createOneOfAttributeCondition
in interface org.w3c.css.sac.ConditionFactory
localName
- the localName of the attributenamespaceURI
- the namespace URI of the attributespecified
- true
if the attribute must be specified
in the document.value
- the value of this attribute.
org.w3c.css.sac.CSSException
- if this exception is not supported.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
createBeginHyphenAttributeCondition
in interface org.w3c.css.sac.ConditionFactory
localName
- the localName of the attributenamespaceURI
- the namespace URI of the attributespecified
- true
if the attribute must be specified
in the document.value
- the value of this attribute.
org.w3c.css.sac.CSSException
- if this exception is not supported.public org.w3c.css.sac.AttributeCondition createClassCondition(java.lang.String namespaceURI, java.lang.String value) throws org.w3c.css.sac.CSSException
createClassCondition
in interface org.w3c.css.sac.ConditionFactory
localName
- the localName of the attributenamespaceURI
- the namespace URI of the attributespecified
- true
if the attribute must be specified
in the document.value
- the name of the class.
org.w3c.css.sac.CSSException
- if this exception is not supported.public org.w3c.css.sac.AttributeCondition createPseudoClassCondition(java.lang.String namespaceURI, java.lang.String value) throws org.w3c.css.sac.CSSException
createPseudoClassCondition
in interface org.w3c.css.sac.ConditionFactory
namespaceURI
- the namespace URI of the attributevalue
- the name of the pseudo class
org.w3c.css.sac.CSSException
- if this exception is not supported.public org.w3c.css.sac.Condition createOnlyChildCondition() throws org.w3c.css.sac.CSSException
createOnlyChildCondition
in interface org.w3c.css.sac.ConditionFactory
org.w3c.css.sac.CSSException
- if this exception is not supported.public org.w3c.css.sac.Condition createOnlyTypeCondition() throws org.w3c.css.sac.CSSException
createOnlyTypeCondition
in interface org.w3c.css.sac.ConditionFactory
org.w3c.css.sac.CSSException
- if this exception is not supported.public org.w3c.css.sac.ContentCondition createContentCondition(java.lang.String data) throws org.w3c.css.sac.CSSException
createContentCondition
in interface org.w3c.css.sac.ConditionFactory
data
- the data in the content
org.w3c.css.sac.CSSException
- if this exception is not supported.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |