• 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏吧

Java AttributeCondition类的典型用法和代码示例

java 1次浏览

本文整理汇总了Java中org.w3c.css.sac.AttributeCondition的典型用法代码示例。如果您正苦于以下问题:Java AttributeCondition类的具体用法?Java AttributeCondition怎么用?Java AttributeCondition使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。

AttributeCondition类属于org.w3c.css.sac包,在下文中一共展示了AttributeCondition类的21个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: createAttributeCondition

点赞 2

import org.w3c.css.sac.AttributeCondition; //导入依赖的package包/类
/**
 * <b>SAC</b>: Implements {@link
 *ConditionFactory#createAttributeCondition(String,String,boolean,String)}.
 */
public AttributeCondition createAttributeCondition(String localName,
                                                   String namespaceURI,
                                                   boolean specified,
                                                   String value)
    throws CSSException {
    return new DefaultAttributeCondition(localName, namespaceURI,
                                         specified, value);
}
 

开发者ID:git-moss,
项目名称:Push2Display,
代码行数:13,
代码来源:DefaultConditionFactory.java

示例2: createOneOfAttributeCondition

点赞 2

import org.w3c.css.sac.AttributeCondition; //导入依赖的package包/类
/**
    * <b>SAC</b>: Implements {@link
ConditionFactory#createOneOfAttributeCondition(String,String,boolean,String)}.
    */
   public AttributeCondition createOneOfAttributeCondition(String localName,
                                                           String nsURI,
                                                           boolean specified,
                                                           String value)
       throws CSSException {
       return new DefaultOneOfAttributeCondition(localName, nsURI, specified,
                                               value);
   }
 

开发者ID:git-moss,
项目名称:Push2Display,
代码行数:13,
代码来源:DefaultConditionFactory.java

示例3:

点赞 2

import org.w3c.css.sac.AttributeCondition; //导入依赖的package包/类
/**
 * <b>SAC</b>: Implements {@link
 * ConditionFactory#createBeginHyphenAttributeCondition(String,String,boolean,String)}.
 */
public AttributeCondition createBeginHyphenAttributeCondition
    (String localName,
     String namespaceURI,
     boolean specified,
     String value)
    throws CSSException {
    return new DefaultBeginHyphenAttributeCondition
        (localName, namespaceURI, specified, value);
}
 

开发者ID:git-moss,
项目名称:Push2Display,
代码行数:14,
代码来源:DefaultConditionFactory.java

示例4: createAttributeCondition

点赞 2

import org.w3c.css.sac.AttributeCondition; //导入依赖的package包/类
/**
 * <b>SAC</b>: Implements {@link
 *ConditionFactory#createAttributeCondition(String,String,boolean,String)}.
 */    
public AttributeCondition createAttributeCondition(String localName,
                                                   String namespaceURI,
                                                   boolean specified,
                                                   String value)
    throws CSSException {
    return new CSSAttributeCondition(localName, namespaceURI, specified,
                                       value);
}
 

开发者ID:git-moss,
项目名称:Push2Display,
代码行数:13,
代码来源:CSSConditionFactory.java

示例5: createOneOfAttributeCondition

点赞 2

import org.w3c.css.sac.AttributeCondition; //导入依赖的package包/类
/**
    * <b>SAC</b>: Implements {@link
ConditionFactory#createOneOfAttributeCondition(String,String,boolean,String)}.
    */    
   public AttributeCondition createOneOfAttributeCondition(String localName,
                                                           String nsURI,
                                                           boolean specified,
                                                           String value)
       throws CSSException {
       return new CSSOneOfAttributeCondition(localName, nsURI, specified,
                                               value);
   }
 

开发者ID:git-moss,
项目名称:Push2Display,
代码行数:13,
代码来源:CSSConditionFactory.java

示例6:

点赞 2

import org.w3c.css.sac.AttributeCondition; //导入依赖的package包/类
/**
 * <b>SAC</b>: Implements {@link
 * ConditionFactory#createBeginHyphenAttributeCondition(String,String,boolean,String)}.
 */    
public AttributeCondition createBeginHyphenAttributeCondition
    (String localName,
     String namespaceURI,
     boolean specified,
     String value)
    throws CSSException {
    return new CSSBeginHyphenAttributeCondition
        (localName, namespaceURI, specified, value);
}
 

开发者ID:git-moss,
项目名称:Push2Display,
代码行数:14,
代码来源:CSSConditionFactory.java

示例7: createAttributeCondition

点赞 2

import org.w3c.css.sac.AttributeCondition; //导入依赖的package包/类
/**
    * creates an attribute condition
    *
    * @param localName the localName of the attribute
    * @param namespaceURI the namespace URI of the attribute
    * @param specified <code>true</code> if the attribute must be specified
    *                  in the document.
    * @param value the value of this attribute.
    * @return An attribute condition
    * @exception CSSException if this exception is not supported.
    */    
   public AttributeCondition createAttributeCondition(String localName,
					String namespaceURI,
					boolean specified,
					String value)
    throws CSSException {
if ((namespaceURI != null) || specified) {
    throw new CSSException(CSSException.SAC_NOT_SUPPORTED_ERR);
} else {
    return new AttributeConditionImpl(localName, value);
}
   }
 

开发者ID:dmazinanian,
项目名称:css-analyser,
代码行数:23,
代码来源:ConditionFactoryImpl.java

示例8: createOneOfAttributeCondition

点赞 2

import org.w3c.css.sac.AttributeCondition; //导入依赖的package包/类
/**
    * Creates a "one of" attribute condition
    *
    * @param localName the localName of the attribute
    * @param namespaceURI the namespace URI of the attribute
    * @param specified <code>true</code> if the attribute must be specified
    *                  in the document.
    * @param value the value of this attribute.
    * @return A "one of" attribute condition
    * @exception CSSException if this exception is not supported.
    */    
   public AttributeCondition createOneOfAttributeCondition(String localName,
					     String namespaceURI,
					     boolean specified,
					     String value)
    throws CSSException {
if ((namespaceURI != null) || specified) {
    throw new CSSException(CSSException.SAC_NOT_SUPPORTED_ERR);
} else {
    return new OneOfAttributeConditionImpl(localName, value);
}
   }
 

开发者ID:dmazinanian,
项目名称:css-analyser,
代码行数:23,
代码来源:ConditionFactoryImpl.java

示例9: createBeginHyphenAttributeCondition

点赞 2

import org.w3c.css.sac.AttributeCondition; //导入依赖的package包/类
/**
   * Creates a "begin hyphen" attribute condition
   *
   * @param localName the localName of the attribute
   * @param namespaceURI the namespace URI of the attribute
   * @param specified <code>true</code> if the attribute must be specified
   *                  in the document.
   * @param value the value of this attribute.
   * @return A "begin hyphen" attribute condition
   * @exception CSSException if this exception is not supported.
   */    
  public AttributeCondition createBeginHyphenAttributeCondition(String localName,
					   String namespaceURI,
					   boolean specified,
					   String value)
   throws CSSException {
if ((namespaceURI != null) || specified) {
	throw new CSSException(CSSException.SAC_NOT_SUPPORTED_ERR);
} else {
	return new BeginHyphenAttributeConditionImpl(localName, value);
}
  }
 

开发者ID:dmazinanian,
项目名称:css-analyser,
代码行数:23,
代码来源:ConditionFactoryImpl.java

示例10: createClassCondition

点赞 2

import org.w3c.css.sac.AttributeCondition; //导入依赖的package包/类
@Override
public AttributeCondition createClassCondition(String namespaceURI, String value) throws CSSException {
	return new CSSClassCondition(null, "class", value);
}
 

开发者ID:eclipse,
项目名称:tm4e,
代码行数:5,
代码来源:CSSConditionFactory.java

示例11: createAttributeCondition

点赞 2

import org.w3c.css.sac.AttributeCondition; //导入依赖的package包/类
@Override
public AttributeCondition createAttributeCondition(String localName, String namespaceURI, boolean specified,
		String value) throws CSSException {
	return new CSSAttributeCondition(localName, namespaceURI, specified, value);
}
 

开发者ID:eclipse,
项目名称:tm4e,
代码行数:6,
代码来源:CSSConditionFactory.java

示例12: createBeginHyphenAttributeCondition

点赞 2

import org.w3c.css.sac.AttributeCondition; //导入依赖的package包/类
@Override
public AttributeCondition createBeginHyphenAttributeCondition(String arg0, String arg1, boolean arg2, String arg3)
		throws CSSException {
	throw new CSSException("Not implemented in CSS2");
}
 

开发者ID:eclipse,
项目名称:tm4e,
代码行数:6,
代码来源:CSSConditionFactory.java

示例13: createIdCondition

点赞 2

import org.w3c.css.sac.AttributeCondition; //导入依赖的package包/类
@Override
public AttributeCondition createIdCondition(String arg0) throws CSSException {
	throw new CSSException("Not implemented in CSS2");
}
 

开发者ID:eclipse,
项目名称:tm4e,
代码行数:5,
代码来源:CSSConditionFactory.java

示例14: createOneOfAttributeCondition

点赞 2

import org.w3c.css.sac.AttributeCondition; //导入依赖的package包/类
@Override
public AttributeCondition createOneOfAttributeCondition(String arg0, String arg1, boolean arg2, String arg3)
		throws CSSException {
	throw new CSSException("Not implemented in CSS2");
}
 

开发者ID:eclipse,
项目名称:tm4e,
代码行数:6,
代码来源:CSSConditionFactory.java

示例15: createPseudoClassCondition

点赞 2

import org.w3c.css.sac.AttributeCondition; //导入依赖的package包/类
@Override
public AttributeCondition createPseudoClassCondition(String arg0, String arg1) throws CSSException {
	throw new CSSException("Not implemented in CSS2");
}
 

开发者ID:eclipse,
项目名称:tm4e,
代码行数:5,
代码来源:CSSConditionFactory.java

示例16: createIdCondition

点赞 2

import org.w3c.css.sac.AttributeCondition; //导入依赖的package包/类
/**
 * <b>SAC</b>: Implements {@link
 * org.w3c.css.sac.ConditionFactory#createIdCondition(String)}.
 */
public AttributeCondition createIdCondition(String value)
    throws CSSException {
    return new DefaultIdCondition(value);
}
 

开发者ID:git-moss,
项目名称:Push2Display,
代码行数:9,
代码来源:DefaultConditionFactory.java

示例17: createClassCondition

点赞 2

import org.w3c.css.sac.AttributeCondition; //导入依赖的package包/类
/**
 * <b>SAC</b>: Implements {@link
 * org.w3c.css.sac.ConditionFactory#createClassCondition(String,String)}.
 */
public AttributeCondition createClassCondition(String namespaceURI,
                                               String value)
    throws CSSException {
    return new DefaultClassCondition(namespaceURI, value);
}
 

开发者ID:git-moss,
项目名称:Push2Display,
代码行数:10,
代码来源:DefaultConditionFactory.java

示例18: createPseudoClassCondition

点赞 2

import org.w3c.css.sac.AttributeCondition; //导入依赖的package包/类
/**
 * <b>SAC</b>: Implements {@link
 * ConditionFactory#createPseudoClassCondition(String,String)}.
 */
public AttributeCondition createPseudoClassCondition(String namespaceURI,
                                                     String value)
    throws CSSException {
    return new DefaultPseudoClassCondition(namespaceURI, value);
}
 

开发者ID:git-moss,
项目名称:Push2Display,
代码行数:10,
代码来源:DefaultConditionFactory.java

示例19: createIdCondition

点赞 2

import org.w3c.css.sac.AttributeCondition; //导入依赖的package包/类
/**
 * <b>SAC</b>: Implements {@link
 * org.w3c.css.sac.ConditionFactory#createIdCondition(String)}.
 */    
public AttributeCondition createIdCondition(String value)
    throws CSSException {
    return new CSSIdCondition(idNamespaceURI, idLocalName, value);
}
 

开发者ID:git-moss,
项目名称:Push2Display,
代码行数:9,
代码来源:CSSConditionFactory.java

示例20: createClassCondition

点赞 2

import org.w3c.css.sac.AttributeCondition; //导入依赖的package包/类
/**
 * <b>SAC</b>: Implements {@link
 * org.w3c.css.sac.ConditionFactory#createClassCondition(String,String)}.
 */    
public AttributeCondition createClassCondition(String namespaceURI,
                                               String value)
    throws CSSException {
    return new CSSClassCondition(classLocalName, classNamespaceURI, value);
}
 

开发者ID:git-moss,
项目名称:Push2Display,
代码行数:10,
代码来源:CSSConditionFactory.java

示例21: createPseudoClassCondition

点赞 2

import org.w3c.css.sac.AttributeCondition; //导入依赖的package包/类
/**
 * <b>SAC</b>: Implements {@link
 * ConditionFactory#createPseudoClassCondition(String,String)}.
 */    
public AttributeCondition createPseudoClassCondition(String namespaceURI,
                                                     String value)
    throws CSSException {
    return new CSSPseudoClassCondition(namespaceURI, value);
}
 

开发者ID:git-moss,
项目名称:Push2Display,
代码行数:10,
代码来源:CSSConditionFactory.java


版权声明:本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系管理员进行删除。
喜欢 (0)