|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.informatica.doc.style.css.property.PropertyDatabase
public final class PropertyDatabase
Database of device-independent CSS 2.1 property information.
Also creates CSSPropertyName objects.
| Constructor Summary | |
|---|---|
protected |
PropertyDatabase()
|
| Method Summary | |
|---|---|
protected void |
addShorthand(String shorthand,
String[] subproperties)
|
protected List<String> |
computeInheritedPropertiesList()
|
protected Map<String,org.w3c.dom.css.CSSValue> |
computeInitialValueMap()
|
org.w3c.dom.css.CSSValue |
getInitialValue(String propertyName)
Gives the initial device-independent initial (default) value for the given property. |
static PropertyDatabase |
getInstance()
Gets an instance of this class. |
CSSPropertyName |
getPropertyName(String name)
Gets the CSSPropertyName object corresponding to the given property name. |
String[] |
getShorthandSubproperties(String shorthandName)
|
boolean |
isIdentifierValue(String propertyName,
String value)
Determines if the given value is an identifier for the given property name. |
boolean |
isInherited(String name)
Does this property inherit value by default? |
boolean |
isShorthand(String name)
Is this a shorthand property? |
boolean |
isShorthandSubproperty(String name)
Is this the subproperty of a shorthand property? |
boolean |
isShorthandSubpropertyOf(String shorthand,
String subpName)
Is this the subproperty of the given shorthand property ? |
protected String |
resourcePath(String filename)
|
void |
setClassLoader(ClassLoader loader)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected PropertyDatabase()
| Method Detail |
|---|
public static PropertyDatabase getInstance()
public boolean isInherited(String name)
name - the name of the property.
protected List<String> computeInheritedPropertiesList()
public org.w3c.dom.css.CSSValue getInitialValue(String propertyName)
propertyName - the property name.
protected Map<String,org.w3c.dom.css.CSSValue> computeInitialValueMap()
public boolean isShorthand(String name)
name - the name of the property.
public boolean isShorthandSubproperty(String name)
name - the name of the property.
public boolean isShorthandSubpropertyOf(String shorthand,
String subpName)
shorthand - the name of the shorthand property.subpName - the name of the subproperty.
public String[] getShorthandSubproperties(String shorthandName)
public CSSPropertyName getPropertyName(String name)
name - the property name.
protected void addShorthand(String shorthand,
String[] subproperties)
public boolean isIdentifierValue(String propertyName,
String value)
Generic identifiers such as inherit or none
are not checked.
propertyName - the name of the property.value - the value that has to be tested to be an identifier for
propertyName.
value is recognized as an identifier
of propertyName, false otherwise.public void setClassLoader(ClassLoader loader)
protected String resourcePath(String filename)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||