public class XhtmlNamespaceHandler extends XhtmlCssOnlyNamespaceHandler
| 构造器和说明 |
|---|
XhtmlNamespaceHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
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, getLinkUri, getNamespace, getStylesheets, isInteger, readLinkElement, readStyleElementgetAttributeValue, getAttributeValue, getLangpublic boolean isImageElement(Element e)
isImageElement 在接口中 NamespaceHandlerisImageElement 在类中 NoNamespaceHandlerpublic boolean isFormElement(Element e)
isFormElement 在接口中 NamespaceHandlerisFormElement 在类中 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 在接口中 NamespaceHandlergetImageSourceURI 在类中 NoNamespaceHandlere - The element to extract image info from.public String getNonCssStyling(Element e)
NamespaceHandlergetNonCssStyling 在接口中 NamespaceHandlergetNonCssStyling 在类中 NoNamespaceHandlerCopyright © 2019. All Rights Reserved.