Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.w3c.flute.parser.selectors
Class ConditionFactoryImpl  view ConditionFactoryImpl download ConditionFactoryImpl.java

java.lang.Object
  extended byorg.w3c.flute.parser.selectors.ConditionFactoryImpl
All Implemented Interfaces:
org.w3c.css.sac.ConditionFactory

public class ConditionFactoryImpl
extends java.lang.Object
implements org.w3c.css.sac.ConditionFactory

Version:
$Revision: 1.2 $

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

ConditionFactoryImpl

public ConditionFactoryImpl()
Method Detail

createAndCondition

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
Creates an and condition

Specified by:
createAndCondition in interface org.w3c.css.sac.ConditionFactory

createOrCondition

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
Creates an or condition

Specified by:
createOrCondition in interface org.w3c.css.sac.ConditionFactory

createNegativeCondition

public org.w3c.css.sac.NegativeCondition createNegativeCondition(org.w3c.css.sac.Condition condition)
                                                          throws org.w3c.css.sac.CSSException
Creates a negative condition

Specified by:
createNegativeCondition in interface org.w3c.css.sac.ConditionFactory

createPositionalCondition

public org.w3c.css.sac.PositionalCondition createPositionalCondition(int position,
                                                                     boolean typeNode,
                                                                     boolean type)
                                                              throws org.w3c.css.sac.CSSException
Creates a positional condition

Specified by:
createPositionalCondition in interface org.w3c.css.sac.ConditionFactory

createAttributeCondition

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
creates an attribute condition

Specified by:
createAttributeCondition in interface org.w3c.css.sac.ConditionFactory

createIdCondition

public org.w3c.css.sac.AttributeCondition createIdCondition(java.lang.String value)
                                                     throws org.w3c.css.sac.CSSException
Creates an id condition

Specified by:
createIdCondition in interface org.w3c.css.sac.ConditionFactory

createLangCondition

public org.w3c.css.sac.LangCondition createLangCondition(java.lang.String lang)
                                                  throws org.w3c.css.sac.CSSException
Creates a lang condition

Specified by:
createLangCondition in interface org.w3c.css.sac.ConditionFactory

createOneOfAttributeCondition

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
Creates a "one of" attribute condition

Specified by:
createOneOfAttributeCondition in interface org.w3c.css.sac.ConditionFactory

createBeginHyphenAttributeCondition

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
Creates a "begin hyphen" attribute condition

Specified by:
createBeginHyphenAttributeCondition in interface org.w3c.css.sac.ConditionFactory

createClassCondition

public org.w3c.css.sac.AttributeCondition createClassCondition(java.lang.String namespaceURI,
                                                               java.lang.String value)
                                                        throws org.w3c.css.sac.CSSException
Creates a class condition

Specified by:
createClassCondition in interface org.w3c.css.sac.ConditionFactory

createPseudoClassCondition

public org.w3c.css.sac.AttributeCondition createPseudoClassCondition(java.lang.String namespaceURI,
                                                                     java.lang.String value)
                                                              throws org.w3c.css.sac.CSSException
Creates a pseudo class condition

Specified by:
createPseudoClassCondition in interface org.w3c.css.sac.ConditionFactory

createOnlyChildCondition

public org.w3c.css.sac.Condition createOnlyChildCondition()
                                                   throws org.w3c.css.sac.CSSException
Creates a "only one" child condition

Specified by:
createOnlyChildCondition in interface org.w3c.css.sac.ConditionFactory

createOnlyTypeCondition

public org.w3c.css.sac.Condition createOnlyTypeCondition()
                                                  throws org.w3c.css.sac.CSSException
Creates a "only one" type condition

Specified by:
createOnlyTypeCondition in interface org.w3c.css.sac.ConditionFactory

createContentCondition

public org.w3c.css.sac.ContentCondition createContentCondition(java.lang.String data)
                                                        throws org.w3c.css.sac.CSSException
Creates a content condition

Specified by:
createContentCondition in interface org.w3c.css.sac.ConditionFactory