org.apache.batik.parser.style
Class LengthFactory

java.lang.Object
  |
  +--org.apache.batik.parser.style.AbstractCSSValueFactory
        |
        +--org.apache.batik.parser.style.AbstractLengthFactory
              |
              +--org.apache.batik.parser.style.LengthFactory
All Implemented Interfaces:
CSSValueFactory

public class LengthFactory
extends AbstractLengthFactory

This class provides a factory for CSS lengths.


Fields inherited from class org.apache.batik.parser.style.AbstractCSSValueFactory
AUTO, AUTO_VALUE, INHERIT
 
Constructor Summary
LengthFactory()
          Creates a new LengthFactory object.
 
Method Summary
 CSSValue createCSSValue(LexicalUnit lu)
          Returns a CSSValue built from the given SAC lexical unit.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LengthFactory

public LengthFactory()
Creates a new LengthFactory object.
Method Detail

createCSSValue

public CSSValue createCSSValue(LexicalUnit lu)
Returns a CSSValue built from the given SAC lexical unit.
Overrides:
createCSSValue in class AbstractLengthFactory
Parameters:
lu - The SAC lexical unit used to create the value.


Copyright © 2001 Apache Software Foundation. All Rights Reserved.