de.enough.polish.preprocess.css.attributes
Class ImageUrlOrNoneCssAttribute
java.lang.Object
de.enough.polish.preprocess.css.CssAttribute
de.enough.polish.preprocess.css.attributes.ImageUrlOrNoneCssAttribute
- All Implemented Interfaces:
- Comparable
public class ImageUrlOrNoneCssAttribute
- extends CssAttribute
A simple numerical based attribute.
Copyright Enough Software 2007
history
Apr 15, 2007 - rob creation
- Author:
- Robert Virkus, j2mepolish@enough.de
| Fields inherited from class de.enough.polish.preprocess.css.CssAttribute |
allowedValues, allowsCombinations, ANIMATION_PACKAGE, appliesTo, appliesToMap, defaultValue, description, group, id, isBaseAttribute, isCaseSensitive, mappingsByName, name, requiresMapping, shell, since, type |
| Methods inherited from class de.enough.polish.preprocess.css.CssAttribute |
add, appliesTo, compareTo, createMapping, generateAnimationSourceCode, generateAnimationSourceCode, generateAnimationSourceCodeStart, getAllowedValues, getApplicableMappings, getAppliesTo, getDefaultValue, getDeprecatedMessage, getDescription, getGroup, getId, getMapping, getMappingByTo, getMappings, getName, getShell, getSince, getType, getValuePosition, hasFixValues, instantiate, instantiateBoolean, instantiateByte, instantiateChar, instantiateDefault, instantiateDouble, instantiateFloat, instantiateInt, instantiateLong, instantiateShort, instantiateValue, isBaseAttribute, isDefault, isDeprecated, isHidden, isImplicit, loadClass, parseAndInstantiateValue, resolveField, setDefinition, setId, setImplicitDefinition, setName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageUrlOrNoneCssAttribute
public ImageUrlOrNoneCssAttribute()
- Creates a new instance.
getValue
public String getValue(String value,
Environment environment)
- Description copied from class:
CssAttribute
- Checks and transforms the given CSS value for this attribute.
- Overrides:
getValue in class CssAttribute
- Parameters:
value - the attribute valueenvironment - the environment
- Returns:
- the transformed value or the same value if no transformation is required.