public class StandardAttributeResolver extends java.lang.Object implements AttributeResolver
Constructor and Description |
---|
StandardAttributeResolver(NamespaceHandler nsh,
UserAgentCallback uac,
UserInterface ui)
Constructor for the StandardAttributeResolver object
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttributeValue(java.lang.Object e,
java.lang.String attrName)
Gets the attributeValue attribute of the StandardAttributeResolver object
|
java.lang.String |
getAttributeValue(java.lang.Object e,
java.lang.String namespaceURI,
java.lang.String attrName)
May return null.
|
java.lang.String |
getClass(java.lang.Object e)
Gets the class attribute of the StandardAttributeResolver object
|
java.lang.String |
getElementStyling(java.lang.Object e)
Gets the elementStyling attribute of the StandardAttributeResolver object
|
java.lang.String |
getID(java.lang.Object e)
Gets the iD attribute of the StandardAttributeResolver object
|
java.lang.String |
getLang(java.lang.Object e)
Gets the lang attribute of the StandardAttributeResolver object
|
java.lang.String |
getNonCssStyling(java.lang.Object e)
may return null
|
boolean |
isActive(java.lang.Object e)
Gets the active attribute of the StandardAttributeResolver object
|
boolean |
isFocus(java.lang.Object e)
Gets the focus attribute of the StandardAttributeResolver object
|
boolean |
isHover(java.lang.Object e)
Gets the hover attribute of the StandardAttributeResolver object
|
boolean |
isLink(java.lang.Object e)
Gets the link attribute of the StandardAttributeResolver object
|
boolean |
isVisited(java.lang.Object e)
Gets the visited attribute of the StandardAttributeResolver object
|
public StandardAttributeResolver(NamespaceHandler nsh, UserAgentCallback uac, UserInterface ui)
nsh
- PARAMuac
- PARAMui
- PARAMpublic java.lang.String getAttributeValue(java.lang.Object e, java.lang.String attrName)
getAttributeValue
in interface AttributeResolver
e
- PARAMattrName
- PARAMpublic java.lang.String getAttributeValue(java.lang.Object e, java.lang.String namespaceURI, java.lang.String attrName)
AttributeResolver
getAttributeValue
in interface AttributeResolver
public java.lang.String getClass(java.lang.Object e)
getClass
in interface AttributeResolver
e
- PARAMpublic java.lang.String getID(java.lang.Object e)
getID
in interface AttributeResolver
e
- PARAMpublic java.lang.String getNonCssStyling(java.lang.Object e)
AttributeResolver
getNonCssStyling
in interface AttributeResolver
e
- PARAMpublic java.lang.String getElementStyling(java.lang.Object e)
getElementStyling
in interface AttributeResolver
e
- PARAMpublic java.lang.String getLang(java.lang.Object e)
getLang
in interface AttributeResolver
e
- PARAMpublic boolean isLink(java.lang.Object e)
isLink
in interface AttributeResolver
e
- PARAMpublic boolean isVisited(java.lang.Object e)
isVisited
in interface AttributeResolver
e
- PARAMpublic boolean isHover(java.lang.Object e)
isHover
in interface AttributeResolver
e
- PARAMpublic boolean isActive(java.lang.Object e)
isActive
in interface AttributeResolver
e
- PARAMpublic boolean isFocus(java.lang.Object e)
isFocus
in interface AttributeResolver
e
- PARAM