|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NamespaceHandler
Provides knowledge specific to a certain document type, like resolving style-sheets
| Method Summary | |
|---|---|
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)
|
| Method Detail |
|---|
String getNamespace()
StylesheetInfo getDefaultStylesheet(StylesheetFactory factory)
String getDocumentTitle(Document doc)
doc -
StylesheetInfo[] getStylesheets(Document doc)
doc -
String getAttributeValue(Element e,
String attrName)
e - PARAMattrName - PARAM
String getAttributeValue(Element e,
String namespaceURI,
String attrName)
String getClass(Element e)
e - PARAM
String getID(Element e)
e - PARAM
String getElementStyling(Element e)
e - PARAM
String getNonCssStyling(Element e)
e -
String getLang(Element e)
e - PARAM
String getLinkUri(Element e)
e - PARAM
String getAnchorName(Element e)
e - boolean 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||