org.apache.batik.css.engine.value
Class IdentifierManager

java.lang.Object
  extended by org.apache.batik.css.engine.value.AbstractValueFactory
      extended by org.apache.batik.css.engine.value.AbstractValueManager
          extended by org.apache.batik.css.engine.value.IdentifierManager
All Implemented Interfaces:
ValueManager
Direct Known Subclasses:
AbstractColorManager, AlignmentBaselineManager, ClipRuleManager, ColorInterpolationManager, ColorRenderingManager, DirectionManager, DisplayManager, DominantBaselineManager, FillRuleManager, FontStretchManager, FontStyleManager, FontVariantManager, FontWeightManager, ImageRenderingManager, OverflowManager, PointerEventsManager, ShapeRenderingManager, SrcManager, StrokeLinecapManager, StrokeLinejoinManager, TextAlignManager, TextAnchorManager, TextRenderingManager, UnicodeBidiManager, VisibilityManager, WritingModeManager

public abstract class IdentifierManager
extends AbstractValueManager

This class provides a manager for the property with support for identifier values.


Constructor Summary
IdentifierManager()
           
 
Method Summary
 Value createStringValue(short type, String value, CSSEngine engine)
          Implements ValueManager.createStringValue(short,String,CSSEngine).
 Value createValue(org.w3c.css.sac.LexicalUnit lu, CSSEngine engine)
          Implements ValueManager.createValue(LexicalUnit,CSSEngine).
abstract  StringMap getIdentifiers()
          Returns the map that contains the name/value mappings for each possible identifiers.
 
Methods inherited from class org.apache.batik.css.engine.value.AbstractValueManager
computeValue, createFloatValue
 
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
getDefaultValue, getPropertyName, getPropertyType, isAdditiveProperty, isAnimatableProperty, isInheritedProperty
 

Constructor Detail

IdentifierManager

public IdentifierManager()
Method Detail

createValue

public Value createValue(org.w3c.css.sac.LexicalUnit lu,
                         CSSEngine engine)
                  throws DOMException
Implements ValueManager.createValue(LexicalUnit,CSSEngine).

Parameters:
lu - The SAC lexical unit used to create the value.
engine - The calling CSSEngine.
Throws:
DOMException

createStringValue

public Value createStringValue(short type,
                               String value,
                               CSSEngine engine)
                        throws DOMException
Implements ValueManager.createStringValue(short,String,CSSEngine).

Specified by:
createStringValue in interface ValueManager
Overrides:
createStringValue in class AbstractValueManager
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:
DOMException

getIdentifiers

public abstract StringMap getIdentifiers()
Returns the map that contains the name/value mappings for each possible identifiers.



Copyright © 2017 Apache Software Foundation. All Rights Reserved.