|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectfi.hut.tml.xsmiles.XSmilesXMLDocument
fi.hut.tml.xsmiles.content.html.HTMLDocument
The XMLdocument is an object that can retrieve and parse a XML document when given the URL of the document as an argument in the constructor. The document can then be accessed through the DOM-interface that it provides. The document also saves the original source of the document, so that the source can be given to any component that is interested of it (for example the SourceViewMLFC)
| Field Summary |
| Fields inherited from class fi.hut.tml.xsmiles.XSmilesXMLDocument |
currentScripter, currentStylesheetTitle, destXMLDoc, m_browser, m_engine, m_link, m_parser, m_stream, mlfc, parserClass, preferredTitle, sourceXMLDoc, sourceXMLURL, stylesheetTitles, trueDocument, XSLDoc, xslProcessor, XSLURL |
| Fields inherited from interface fi.hut.tml.xsmiles.mlfc.general.MediaQueryEvaluator |
MEDIA_TYPES |
| Constructor Summary | |
HTMLDocument(BrowserWindow browser,
org.w3c.dom.Document doc)
Another alternative constructor |
|
HTMLDocument(BrowserWindow browser,
java.io.InputStream stream,
XLink link)
This constructor is used by the Browser when it requests a new XMLdocument. |
|
HTMLDocument(BrowserWindow browser,
java.lang.String s)
An alternative constructor, where the source can be given as a string. |
|
HTMLDocument(BrowserWindow browser,
XLink link)
This constructor is used by the Browser when it requests a new XMLdocument. |
|
| Method Summary | |
protected org.w3c.dom.Document |
readWithNekoHTML(java.net.URL sourceURL,
java.io.InputStream stream)
This method reads the URL using Neko HTML |
void |
retrieveDocument()
This is the method that performs all the actual work of the XMLDocument. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface fi.hut.tml.xsmiles.XMLDocument |
deactivate, evalMediaQuery, getBrowser, getCurrentStylesheetTitle, getDocument, getECMAScripter, getLink, getSourceText, getSourceVector, getStylesheetTitles, getXMLDocument, getXMLURL, getXMLVector, getXSLDocument, getXSLURL, getXSLVector, setPreferredStylesheetTitle |
| Constructor Detail |
public HTMLDocument(BrowserWindow browser,
XLink link)
public HTMLDocument(BrowserWindow browser,
java.io.InputStream stream,
XLink link)
public HTMLDocument(BrowserWindow browser,
java.lang.String s)
public HTMLDocument(BrowserWindow browser,
org.w3c.dom.Document doc)
browser - The BrowserWindowdoc - The Document| Method Detail |
public void retrieveDocument()
throws java.lang.Exception
retrieveDocument in interface XMLDocumentretrieveDocument in class XSmilesXMLDocumentjava.lang.Exception
protected org.w3c.dom.Document readWithNekoHTML(java.net.URL sourceURL,
java.io.InputStream stream)
throws java.lang.Exception
java.lang.Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||