blob: ee5322d2a88994163c3bccb918271c62e2f0bdc5 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2008 Innoopract Informationssysteme GmbH.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Innoopract Informationssysteme GmbH - initial API and implementation
******************************************************************************/
package org.eclipse.rwt.internal.theme.css;
import org.w3c.css.sac.LangCondition;
public class NullLangCondition implements LangCondition, ConditionExt {
public String getLang() {
return null;
}
public short getConditionType() {
return SAC_LANG_CONDITION;
}
public boolean matches( final Element element ) {
return false;
}
public String[] getClasses() {
return null;
}
public int getSpecificity() {
return 0;
}
public String toString() {
return "null condition";
}
}