Interface AttributeResolver
- All Known Implementing Classes:
StandardAttributeResolver
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.
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
Modifier and TypeMethodDescriptiongetAttributeValue(Object e, String attrName) May return null.getAttributeValue(Object e, String namespaceURI, String attrName) May return null.may return nullmay return nullmay return nullmay return nullmay return nullbooleanGets the active attribute of the AttributeResolver objectbooleanGets the focus attribute of the AttributeResolver objectbooleanGets the hover attribute of the AttributeResolver objectbooleanGets the link attribute of the AttributeResolver objectbooleanGets the visited attribute of the AttributeResolver object
-
Method Details
-
getAttributeValue
-
getAttributeValue
-
getClass
-
getID
-
getNonCssStyling
-
getElementStyling
-
getLang
-
isLink
Gets the link attribute of the AttributeResolver object- Parameters:
e- PARAM- Returns:
- The link value
-
isVisited
Gets the visited attribute of the AttributeResolver object- Parameters:
e- PARAM- Returns:
- The visited value
-
isHover
Gets the hover attribute of the AttributeResolver object- Parameters:
e- PARAM- Returns:
- The hover value
-
isActive
Gets the active attribute of the AttributeResolver object- Parameters:
e- PARAM- Returns:
- The active value
-
isFocus
Gets the focus attribute of the AttributeResolver object- Parameters:
e- PARAM- Returns:
- The focus value
-