|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xhtmlrenderer.simple.NoNamespaceHandler
public class NoNamespaceHandler
Handles a general XML document
| Constructor Summary | |
|---|---|
NoNamespaceHandler()
|
|
| 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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NoNamespaceHandler()
| Method Detail |
|---|
public String getNamespace()
getNamespace in interface NamespaceHandler
public String getAttributeValue(Element e,
String attrName)
NamespaceHandler
getAttributeValue in interface NamespaceHandlere - PARAMattrName - PARAM
public String getAttributeValue(Element e,
String namespaceURI,
String attrName)
getAttributeValue in interface NamespaceHandlerpublic String getClass(Element e)
NamespaceHandler
getClass in interface NamespaceHandlere - PARAM
public String getID(Element e)
NamespaceHandler
getID in interface NamespaceHandlere - PARAM
public String getLang(Element e)
NamespaceHandler
getLang in interface NamespaceHandlere - PARAM
public String getElementStyling(Element e)
NamespaceHandler
getElementStyling in interface NamespaceHandlere - PARAM
public String getNonCssStyling(Element e)
NamespaceHandler
getNonCssStyling in interface NamespaceHandlerpublic String getLinkUri(Element e)
NamespaceHandler
getLinkUri in interface NamespaceHandlere - PARAM
public String getDocumentTitle(Document doc)
getDocumentTitle in interface NamespaceHandlerpublic String getAnchorName(Element e)
getAnchorName in interface NamespaceHandlerpublic boolean isImageElement(Element e)
isImageElement in interface NamespaceHandlerpublic 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 NamespaceHandlere - The element to extract image info from.
public boolean isFormElement(Element e)
NamespaceHandler
isFormElement in interface NamespaceHandlere - The Element to evaluate.
public StylesheetInfo[] getStylesheets(Document doc)
getStylesheets in interface NamespaceHandlerpublic StylesheetInfo getDefaultStylesheet(StylesheetFactory factory)
getDefaultStylesheet in interface NamespaceHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||