|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.milyn.css.CSSAccessor
public class CSSAccessor
Page CSS accessor class.
Transformation Units use this class to access CSS information for the current page. The CSS info is "pre-gathered" by theCSSStyleScraper
Assembly Unit, if configured for the requesting device.
This class is instanciated via the getInstance(ExecutionContext) factory method.
| Method Summary | |
|---|---|
static CSSAccessor |
getInstance(ExecutionContext request)
CSSAccessor Factory method. |
CSSProperty |
getProperty(Element domElement,
String propertyName)
Get the named CSS property for the supplied DOM element, if one exists. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static CSSAccessor getInstance(ExecutionContext request)
request - The container request associated with the current page
being delivered.
public CSSProperty getProperty(Element domElement,
String propertyName)
domElement - The DOM element.propertyName - The required CSS property.
CSSProperty associated with the named CSS property for the supplied element,
if a value for this property is defined for this element, otherwise null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||