public class XhtmlNamespaceHandler extends XhtmlCssOnlyNamespaceHandler
| Constructor and Description |
|---|
XhtmlNamespaceHandler() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getImageSourceURI(org.w3c.dom.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.
|
java.lang.String |
getNonCssStyling(org.w3c.dom.Element e)
may return null
|
boolean |
isFormElement(org.w3c.dom.Element e)
Determines whether or not the specified Element represents a
<form>.
|
boolean |
isImageElement(org.w3c.dom.Element e) |
convertToLength, getAnchorName, getAttribute, getClass, getDefaultStylesheet, getDocumentTitle, getElementStyling, getID, getLang, getLinkUri, getNamespace, getStylesheets, isInteger, readLinkElement, readStyleElementgetAttributeValue, getAttributeValuepublic boolean isImageElement(org.w3c.dom.Element e)
isImageElement in interface NamespaceHandlerisImageElement in class NoNamespaceHandlerpublic boolean isFormElement(org.w3c.dom.Element e)
isFormElement in interface NamespaceHandlerisFormElement in class NoNamespaceHandlere - The Element to evaluate.public java.lang.String getImageSourceURI(org.w3c.dom.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 java.lang.String getNonCssStyling(org.w3c.dom.Element e)
NamespaceHandlergetNonCssStyling in interface NamespaceHandlergetNonCssStyling in class NoNamespaceHandlerCopyright © 2014. All Rights Reserved.