本文整理汇总了Java中org.w3c.css.sac.LangCondition类的典型用法代码示例。如果您正苦于以下问题:Java LangCondition类的具体用法?Java LangCondition怎么用?Java LangCondition使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
LangCondition类属于org.w3c.css.sac包,在下文中一共展示了LangCondition类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: createLangCondition
import org.w3c.css.sac.LangCondition; //导入依赖的package包/类
@Override
public LangCondition createLangCondition(String arg0) throws CSSException {
throw new CSSException("Not implemented in CSS2");
}
示例2: createLangCondition
import org.w3c.css.sac.LangCondition; //导入依赖的package包/类
@Override
public LangCondition createLangCondition(final String lang) throws CSSException {
return new LangConditionImpl(lang);
}
示例3: createLangCondition
import org.w3c.css.sac.LangCondition; //导入依赖的package包/类
/**
* <b>SAC</b>: Implements {@link
* org.w3c.css.sac.ConditionFactory#createLangCondition(String)}.
*/
public LangCondition createLangCondition(String lang) throws CSSException {
return new DefaultLangCondition(lang);
}
示例4: createLangCondition
import org.w3c.css.sac.LangCondition; //导入依赖的package包/类
/**
* <b>SAC</b>: Implements {@link
* org.w3c.css.sac.ConditionFactory#createLangCondition(String)}.
*/
public LangCondition createLangCondition(String lang) throws CSSException {
return new CSSLangCondition(lang);
}
示例5: createLangCondition
import org.w3c.css.sac.LangCondition; //导入依赖的package包/类
/**
* Creates a lang condition
*
* @param value the value of the language.
* @return A lang condition
* @exception CSSException if this exception is not supported.
*/
public LangCondition createLangCondition(String lang)
throws CSSException {
return new LangConditionImpl(lang);
}