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