|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AttributeResolver
In XML, an application may or may not know how to find the ID and/or class and/or attribute defaults of an element.
To enable matching of identity conditions, class conditions, language, and attribute defaults you need to provide an AttributeResolver to the StyleMap. NOTE: The application is required to look in a document's internal subset for default attribute values, but the application is not required to use its built-in knowledge of a namespace or look in the external subset.
| Method Summary | |
|---|---|
String |
getAttributeValue(Object e,
String attrName)
May return null. |
String |
getAttributeValue(Object e,
String namespaceURI,
String attrName)
May return null. |
String |
getClass(Object e)
may return null |
String |
getElementStyling(Object e)
may return null |
String |
getID(Object e)
may return null |
String |
getLang(Object e)
may return null |
String |
getNonCssStyling(Object e)
may return null |
boolean |
isActive(Object e)
Gets the active attribute of the AttributeResolver object |
boolean |
isFocus(Object e)
Gets the focus attribute of the AttributeResolver object |
boolean |
isHover(Object e)
Gets the hover attribute of the AttributeResolver object |
boolean |
isLink(Object e)
Gets the link attribute of the AttributeResolver object |
boolean |
isVisited(Object e)
Gets the visited attribute of the AttributeResolver object |
| Method Detail |
|---|
String getAttributeValue(Object e,
String attrName)
String getAttributeValue(Object e,
String namespaceURI,
String attrName)
String getClass(Object e)
e - PARAM
String getID(Object e)
e - PARAM
String getNonCssStyling(Object e)
e - PARAM
String getElementStyling(Object e)
e - PARAM
String getLang(Object e)
e - PARAM
boolean isLink(Object e)
e - PARAM
boolean isVisited(Object e)
e - PARAM
boolean isHover(Object e)
e - PARAM
boolean isActive(Object e)
e - PARAM
boolean isFocus(Object e)
e - PARAM
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||