java.lang.Object
io.sf.carte.doc.style.css.property.PropertyDatabase
Database of device-independent CSS property information.
-
Method Summary
Modifier and TypeMethodDescriptiongetInitialValue
(String propertyName) Gives the initial device-independent initial (default) value for the given property.static PropertyDatabase
Gets an instance of this class.Get a value factory configured with defaults.boolean
isInherited
(String name) Does this property inherit value by default?boolean
isKnownProperty
(String name) Is the supplied string the name of a known CSS property?
-
Method Details
-
getInstance
Gets an instance of this class.- Returns:
- an instance of PropertyDatabase.
-
getValueFactory
Get a value factory configured with defaults.- Returns:
- the value factory used by this database.
-
isInherited
Does this property inherit value by default?- Parameters:
name
- the name of the property.- Returns:
true
if inherits by default,false
otherwise.
-
getInitialValue
Gives the initial device-independent initial (default) value for the given property.- Parameters:
propertyName
- the property name.- Returns:
- the initial CSS value, or null if no device-independent default could be found.
-
isKnownProperty
Is the supplied string the name of a known CSS property?- Parameters:
name
- the name to test.- Returns:
true
if it is a known CSS property,false
otherwise.
-