Class BorderWidthReadHandler
- java.lang.Object
-
- org.pentaho.reporting.libraries.css.parser.stylehandler.AbstractWidthReadHandler
-
- org.pentaho.reporting.libraries.css.parser.stylehandler.border.BorderWidthReadHandler
-
- All Implemented Interfaces:
CSSCompoundValueReadHandler
,CSSValueReadHandler
- Direct Known Subclasses:
ColumnRuleWidthReadHandler
,TextDecorationWidthReadHandler
public class BorderWidthReadHandler extends AbstractWidthReadHandler implements CSSCompoundValueReadHandler
Creation-Date: 27.11.2005, 19:07:11- Author:
- Thomas Morgner
-
-
Constructor Summary
Constructors Modifier Constructor Description BorderWidthReadHandler()
protected
BorderWidthReadHandler(boolean allowPercentages, boolean allowAuto)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map
createValues(org.w3c.css.sac.LexicalUnit unit)
Parses the LexicalUnit and returns a map of (StyleKey, CSSValue) pairs.StyleKey[]
getAffectedKeys()
protected CSSValue
parseWidth(org.w3c.css.sac.LexicalUnit value)
-
Methods inherited from class org.pentaho.reporting.libraries.css.parser.stylehandler.AbstractWidthReadHandler
createValue, isAllowAuto, isAllowPercentages
-
-
-
-
Method Detail
-
parseWidth
protected CSSValue parseWidth(org.w3c.css.sac.LexicalUnit value)
- Overrides:
parseWidth
in classAbstractWidthReadHandler
-
createValues
public Map createValues(org.w3c.css.sac.LexicalUnit unit)
Parses the LexicalUnit and returns a map of (StyleKey, CSSValue) pairs.- Specified by:
createValues
in interfaceCSSCompoundValueReadHandler
- Parameters:
unit
-- Returns:
-
getAffectedKeys
public StyleKey[] getAffectedKeys()
- Specified by:
getAffectedKeys
in interfaceCSSCompoundValueReadHandler
-
-