Class AbstractValueManager
- java.lang.Object
-
- org.apache.batik.css.engine.value.AbstractValueFactory
-
- org.apache.batik.css.engine.value.AbstractValueManager
-
- All Implemented Interfaces:
ValueManager
- Direct Known Subclasses:
ClipPathManager,ColorProfileManager,CursorManager,FilterManager,FontFamilyManager,FontSizeAdjustManager,GlyphOrientationManager,IdentifierManager,LengthManager,MarkerManager,MaskManager,OpacityManager,StrokeMiterlimitManager,TextDecorationManager
public abstract class AbstractValueManager extends AbstractValueFactory implements ValueManager
This class provides an abstract implementation of the ValueManager interface.- Version:
- $Id: AbstractValueManager.java 1733416 2016-03-03 07:07:13Z gadams $
-
-
Constructor Summary
Constructors Constructor Description AbstractValueManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValuecomputeValue(CSSStylableElement elt, java.lang.String pseudo, CSSEngine engine, int idx, StyleMap sm, Value value)ValuecreateFloatValue(short unitType, float floatValue)ImplementsValueManager.createFloatValue(short,float).ValuecreateStringValue(short type, java.lang.String value, CSSEngine engine)-
Methods inherited from class org.apache.batik.css.engine.value.AbstractValueFactory
createDOMException, createInvalidFloatTypeDOMException, createInvalidFloatValueDOMException, createInvalidIdentifierDOMException, createInvalidLexicalUnitDOMException, createInvalidStringTypeDOMException, createMalformedLexicalUnitDOMException, getPropertyName, resolveURI
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.batik.css.engine.value.ValueManager
createValue, getDefaultValue, getPropertyName, getPropertyType, isAdditiveProperty, isAnimatableProperty, isInheritedProperty
-
-
-
-
Method Detail
-
createFloatValue
public Value createFloatValue(short unitType, float floatValue) throws org.w3c.dom.DOMException
ImplementsValueManager.createFloatValue(short,float).- Specified by:
createFloatValuein interfaceValueManager- Parameters:
unitType- A unit code as defined above. The unit code can only be a float unit typefloatValue- The new float value.- Throws:
org.w3c.dom.DOMException
-
createStringValue
public Value createStringValue(short type, java.lang.String value, CSSEngine engine) throws org.w3c.dom.DOMException
- Specified by:
createStringValuein interfaceValueManager- Parameters:
type- A string code as defined in CSSPrimitiveValue. The string code can only be a string unit type.value- The new string value.engine- The CSS engine.- Throws:
org.w3c.dom.DOMException
-
computeValue
public Value computeValue(CSSStylableElement elt, java.lang.String pseudo, CSSEngine engine, int idx, StyleMap sm, Value value)
- Specified by:
computeValuein interfaceValueManager- Parameters:
elt- The owner of the value.pseudo- The pseudo element.engine- The CSSEngine.idx- The property index in the engine.sm- The computed style map.value- The value to compute.
-
-