public interface NamespaceHandler
| Modifier and Type | Method and Description |
|---|---|
String |
getAnchorName(Element e) |
String |
getAttributeValue(Element e,
String attrName)
may return null.
|
String |
getAttributeValue(Element e,
String namespaceURI,
String attrName) |
String |
getClass(Element e)
may return null
|
StylesheetInfo |
getDefaultStylesheet(StylesheetFactory factory) |
String |
getDocumentTitle(Document doc) |
String |
getElementStyling(Element e)
may return null
|
String |
getID(Element e)
may return null
|
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 |
getLang(Element e)
may return null
|
String |
getLinkUri(Element e)
should return null if element is not a link
|
String |
getNamespace() |
String |
getNonCssStyling(Element e)
may return null
|
StylesheetInfo[] |
getStylesheets(Document doc) |
boolean |
isFormElement(Element e)
Determines whether or not the specified Element represents a
<form>.
|
boolean |
isImageElement(Element e) |
String getNamespace()
StylesheetInfo getDefaultStylesheet(StylesheetFactory factory)
String getDocumentTitle(Document doc)
doc - StylesheetInfo[] getStylesheets(Document doc)
doc - String getAttributeValue(Element e, String attrName)
e - PARAMattrName - PARAMString getElementStyling(Element e)
e - PARAMString getNonCssStyling(Element e)
e - String getLinkUri(Element e)
e - PARAMboolean isImageElement(Element e)
boolean isFormElement(Element e)
e - The Element to evaluate.String getImageSourceURI(Element e)
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.e - The element to extract image info from.Copyright © 2016. All rights reserved.