java.lang.Object
org.xhtmlrenderer.css.extend.lib.DOMStaticXhtmlAttributeResolver
- All Implemented Interfaces:
AttributeResolver
Works for Xhtml in a DOM tree
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAttributeValue(Node e, String attrName) Required to return null if attribute does not exist, and not null if attribute exists.getAttributeValue(Node o, String namespaceURI, String attrName) Required to return null if attribute does not exist and not null if attribute exists.booleanGets 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
-
Constructor Details
-
DOMStaticXhtmlAttributeResolver
public DOMStaticXhtmlAttributeResolver()
-
-
Method Details
-
getAttributeValue
Description copied from interface:AttributeResolverRequired to return null if attribute does not exist, and not null if attribute exists.- Specified by:
getAttributeValuein interfaceAttributeResolver
-
getAttributeValue
Description copied from interface:AttributeResolverRequired to return null if attribute does not exist and not null if attribute exists.- Specified by:
getAttributeValuein interfaceAttributeResolver
-
getClass
- Specified by:
getClassin interfaceAttributeResolver
-
getID
- Specified by:
getIDin interfaceAttributeResolver
-
getNonCssStyling
- Specified by:
getNonCssStylingin interfaceAttributeResolver- Returns:
- The non css styling (specificity 0,0,0,0 on author styles, according to css 2.1)
-
getLang
- Specified by:
getLangin interfaceAttributeResolver
-
getElementStyling
- Specified by:
getElementStylingin interfaceAttributeResolver- Returns:
- The elementStyling value (corresponding to xhtml style attribute, specificity 1,0,0,0 according to css 2.1)
-
isActive
Description copied from interface:AttributeResolverGets the active attribute of the AttributeResolver object- Specified by:
isActivein interfaceAttributeResolver
-
isFocus
Description copied from interface:AttributeResolverGets the focus attribute of the AttributeResolver object- Specified by:
isFocusin interfaceAttributeResolver
-
isHover
Description copied from interface:AttributeResolverGets the hover attribute of the AttributeResolver object- Specified by:
isHoverin interfaceAttributeResolver
-
isLink
Description copied from interface:AttributeResolverGets the link attribute of the AttributeResolver object- Specified by:
isLinkin interfaceAttributeResolver
-
isVisited
Description copied from interface:AttributeResolverGets the visited attribute of the AttributeResolver object- Specified by:
isVisitedin interfaceAttributeResolver
-