Class StandardAttributeResolver
java.lang.Object
com.openhtmltopdf.context.StandardAttributeResolver
- All Implemented Interfaces:
AttributeResolver
An instance which works together with a w3c DOM tree
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate NamespaceHandlerDescription of the Fieldprivate UserAgentCallbackDescription of the Fieldprivate UserInterfaceDescription of the Field -
Constructor Summary
ConstructorsConstructorDescriptionConstructor for the StandardAttributeResolver object -
Method Summary
Modifier and TypeMethodDescriptiongetAttributeValue(Object e, String attrName) Gets the attributeValue attribute of the StandardAttributeResolver objectgetAttributeValue(Object e, String namespaceURI, String attrName) May return null.Gets the class attribute of the StandardAttributeResolver objectGets the elementStyling attribute of the StandardAttributeResolver objectGets the iD attribute of the StandardAttributeResolver objectGets the lang attribute of the StandardAttributeResolver objectmay return nullbooleanGets the active attribute of the StandardAttributeResolver objectbooleanGets the focus attribute of the StandardAttributeResolver objectbooleanGets the hover attribute of the StandardAttributeResolver objectbooleanGets the link attribute of the StandardAttributeResolver objectbooleanGets the visited attribute of the StandardAttributeResolver object
-
Field Details
-
nsh
Description of the Field -
uac
Description of the Field -
ui
Description of the Field
-
-
Constructor Details
-
StandardAttributeResolver
Constructor for the StandardAttributeResolver object- Parameters:
nsh- PARAMuac- PARAMui- PARAM
-
-
Method Details
-
getAttributeValue
Gets the attributeValue attribute of the StandardAttributeResolver object- Specified by:
getAttributeValuein interfaceAttributeResolver- Parameters:
e- PARAMattrName- PARAM- Returns:
- The attributeValue value
-
getAttributeValue
Description copied from interface:AttributeResolverMay return null. Required to return null if attribute does not exist and not null if attribute exists.- Specified by:
getAttributeValuein interfaceAttributeResolver
-
getClass
Gets the class attribute of the StandardAttributeResolver object- Specified by:
getClassin interfaceAttributeResolver- Parameters:
e- PARAM- Returns:
- The class value
-
getID
Gets the iD attribute of the StandardAttributeResolver object- Specified by:
getIDin interfaceAttributeResolver- Parameters:
e- PARAM- Returns:
- The iD value
-
getNonCssStyling
Description copied from interface:AttributeResolvermay return null- Specified by:
getNonCssStylingin interfaceAttributeResolver- Parameters:
e- PARAM- Returns:
- The non css styling (specificity 0,0,0,0 on author styles, according to css 2.1)
-
getElementStyling
Gets the elementStyling attribute of the StandardAttributeResolver object- Specified by:
getElementStylingin interfaceAttributeResolver- Parameters:
e- PARAM- Returns:
- The elementStyling value
-
getLang
Gets the lang attribute of the StandardAttributeResolver object- Specified by:
getLangin interfaceAttributeResolver- Parameters:
e- PARAM- Returns:
- The lang value
-
isLink
Gets the link attribute of the StandardAttributeResolver object- Specified by:
isLinkin interfaceAttributeResolver- Parameters:
e- PARAM- Returns:
- The link value
-
isVisited
Gets the visited attribute of the StandardAttributeResolver object- Specified by:
isVisitedin interfaceAttributeResolver- Parameters:
e- PARAM- Returns:
- The visited value
-
isHover
Gets the hover attribute of the StandardAttributeResolver object- Specified by:
isHoverin interfaceAttributeResolver- Parameters:
e- PARAM- Returns:
- The hover value
-
isActive
Gets the active attribute of the StandardAttributeResolver object- Specified by:
isActivein interfaceAttributeResolver- Parameters:
e- PARAM- Returns:
- The active value
-
isFocus
Gets the focus attribute of the StandardAttributeResolver object- Specified by:
isFocusin interfaceAttributeResolver- Parameters:
e- PARAM- Returns:
- The focus value
-