public class XhtmlNamespaceHandler extends XhtmlCssOnlyNamespaceHandler
| Constructor and Description |
|---|
XhtmlNamespaceHandler() |
| Modifier and Type | Method and Description |
|---|---|
String |
getImageSourceURI(Element e)
For an element where isImageElement returns true, retrieves the URI associated with that Image, as
reported by the element; makes no guarrantee that the URI is correct, complete or points to anything in
particular.
|
String |
getNonCssStyling(Element e)
may return null
|
boolean |
isFormElement(Element e)
Determines whether or not the specified Element represents a
<form>.
|
boolean |
isImageElement(Element e) |
convertToLength, getAnchorName, getAttribute, getClass, getDefaultStylesheet, getDocumentTitle, getElementStyling, getID, getLang, getLinkUri, getNamespace, getStylesheets, isInteger, readLinkElement, readStyleElementgetAttributeValue, getAttributeValuepublic boolean isImageElement(Element e)
isImageElement in interface NamespaceHandlerisImageElement in class NoNamespaceHandlerpublic boolean isFormElement(Element e)
isFormElement in interface NamespaceHandlerisFormElement in class NoNamespaceHandlere - The Element to evaluate.public String getImageSourceURI(Element e)
NamespaceHandlerNamespaceHandler.isImageElement(org.w3c.dom.Element) returns false, this method may
return false, and may also return false if the Element is not correctly formed and contains no URI; check the
return value carefully.getImageSourceURI in interface NamespaceHandlergetImageSourceURI in class NoNamespaceHandlere - The element to extract image info from.public String getNonCssStyling(Element e)
NamespaceHandlergetNonCssStyling in interface NamespaceHandlergetNonCssStyling in class NoNamespaceHandlerCopyright © 2020. All rights reserved.