de.enough.polish.preprocess.css
Class ParameterizedCssMapping

java.lang.Object
  extended by de.enough.polish.preprocess.css.CssMapping
      extended by de.enough.polish.preprocess.css.ParameterizedCssMapping
All Implemented Interfaces:
Comparable

public class ParameterizedCssMapping
extends CssMapping

Maps a short CSS name to any string.

Copyright Enough Software 2005

 history
        02-Nov-2005 - rob creation
 

Author:
Robert Virkus, j2mepolish@enough.de

Constructor Summary
ParameterizedCssMapping(CssAttribute parent, org.jdom.Element definition)
          Creates a new mapping.
 
Method Summary
 CssAttribute getParameter(String name)
          Retrieves the specfied attribute.
 CssAttribute[] getParameters()
          Retrieves all known parameters
 
Methods inherited from class de.enough.polish.preprocess.css.CssMapping
appliesTo, checkCondition, compareTo, getCondition, getConverter, getExcludes, getFrom, getTo, getToClassName, hasAppliesTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParameterizedCssMapping

public ParameterizedCssMapping(CssAttribute parent,
                               org.jdom.Element definition)
Creates a new mapping.

Parameters:
definition - the definition
Method Detail

getParameters

public CssAttribute[] getParameters()
Retrieves all known parameters

Returns:
all parameters of this mapping

getParameter

public CssAttribute getParameter(String name)
Retrieves the specfied attribute.

Parameters:
name - the name of the attribute
Returns:
the attribute or null when it is not defined