|
Flying Saucer Project Release ${app.version} | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xhtmlrenderer.swing.NoNamespaceHandler
org.xhtmlrenderer.simple.extend.XhtmlCssOnlyNamespaceHandler
public class XhtmlCssOnlyNamespaceHandler
Handles xhtml but only css styling is honored, no presentational html attributes (see css 2.1 spec, 6.4.4)
Constructor Summary | |
---|---|
XhtmlCssOnlyNamespaceHandler()
|
Method Summary | |
---|---|
java.lang.String |
getAnchorName(org.w3c.dom.Element e)
|
java.lang.String |
getClass(org.w3c.dom.Element e)
Gets the class attribute of the XhtmlNamespaceHandler object |
StylesheetInfo |
getDefaultStylesheet(StylesheetFactory factory)
|
java.lang.String |
getDocumentTitle(org.w3c.dom.Document doc)
Returns the title of the document as located in the contents of /html/head/title, or "" if none could be found. |
java.lang.String |
getElementStyling(org.w3c.dom.Element e)
Gets the elementStyling attribute of the XhtmlNamespaceHandler object |
java.lang.String |
getID(org.w3c.dom.Element e)
Gets the iD attribute of the XhtmlNamespaceHandler object |
java.lang.String |
getLinkUri(org.w3c.dom.Element e)
Gets the linkUri attribute of the XhtmlNamespaceHandler object |
java.lang.String |
getNamespace()
Gets the namespace attribute of the XhtmlNamespaceHandler object |
StylesheetInfo[] |
getStylesheets(org.w3c.dom.Document doc)
Gets the stylesheetLinks attribute of the XhtmlNamespaceHandler object |
Methods inherited from class org.xhtmlrenderer.swing.NoNamespaceHandler |
---|
getAttributeValue, getAttributeValue, getImageSourceURI, getLang, getNonCssStyling, isFormElement, isImageElement |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XhtmlCssOnlyNamespaceHandler()
Method Detail |
---|
public java.lang.String getNamespace()
getNamespace
in interface NamespaceHandler
getNamespace
in class NoNamespaceHandler
public java.lang.String getClass(org.w3c.dom.Element e)
getClass
in interface NamespaceHandler
getClass
in class NoNamespaceHandler
e
- PARAM
public java.lang.String getID(org.w3c.dom.Element e)
getID
in interface NamespaceHandler
getID
in class NoNamespaceHandler
e
- PARAM
public java.lang.String getElementStyling(org.w3c.dom.Element e)
getElementStyling
in interface NamespaceHandler
getElementStyling
in class NoNamespaceHandler
e
- PARAM
public java.lang.String getLinkUri(org.w3c.dom.Element e)
getLinkUri
in interface NamespaceHandler
getLinkUri
in class NoNamespaceHandler
e
- PARAM
public java.lang.String getAnchorName(org.w3c.dom.Element e)
getAnchorName
in interface NamespaceHandler
getAnchorName
in class NoNamespaceHandler
public java.lang.String getDocumentTitle(org.w3c.dom.Document doc)
getDocumentTitle
in interface NamespaceHandler
getDocumentTitle
in class NoNamespaceHandler
doc
- the document to search for a title
public StylesheetInfo[] getStylesheets(org.w3c.dom.Document doc)
getStylesheets
in interface NamespaceHandler
getStylesheets
in class NoNamespaceHandler
doc
- PARAM
public StylesheetInfo getDefaultStylesheet(StylesheetFactory factory)
getDefaultStylesheet
in interface NamespaceHandler
getDefaultStylesheet
in class NoNamespaceHandler
|
Flying Saucer Project Release ${app.version} | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |