fi.hut.tml.xsmiles.dom
Interface ExtendedDocument

All Superinterfaces:
org.w3c.dom.Document, org.w3c.dom.Node, ScriptRunner
All Known Implementing Classes:
XSmilesDocumentImpl

public interface ExtendedDocument
extends org.w3c.dom.Document, ScriptRunner

The factory for creating DOM event instances


Field Summary
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Method Summary
 void destroy()
           
 org.w3c.dom.Element getAnonymousElementByAttribute(org.w3c.dom.Element root, java.lang.String attrname, java.lang.String value)
           
 java.lang.String getBaseURI()
           
 AsyncChangeHandler getChangeHandler()
          this is for executing layout or DOM changing code from an external thread
 MLFC getHostMLFC()
          Accessor function to the browser object.
 java.util.Hashtable getParasiteMLFCs()
           
 XSmilesStyleSheet getStyleSheet()
           
 java.lang.String getTitle()
           
 void init()
           
 boolean isHTMLDocument()
          this method returns true, if the original was HTML and then it was converted to XHTML.
 boolean isInited()
           
 void setHostMLFC(MLFC mlfc)
          this is mainly for source MLFC
 void setHTMLDocument(boolean isHTMLDoc)
          was this originally HTML document -> XHTML
 
Methods inherited from interface org.w3c.dom.Document
createAttribute, createAttributeNS, createCDATASection, createComment, createDocumentFragment, createElement, createElementNS, createEntityReference, createProcessingInstruction, createTextNode, getDoctype, getDocumentElement, getElementById, getElementsByTagName, getElementsByTagNameNS, getImplementation, importNode
 
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix
 
Methods inherited from interface fi.hut.tml.xsmiles.ecma.ScriptRunner
deleteExposedObject, eval, exposeToScriptEngine
 

Method Detail

getHostMLFC

public MLFC getHostMLFC()
Accessor function to the browser object.


setHostMLFC

public void setHostMLFC(MLFC mlfc)
this is mainly for source MLFC


getParasiteMLFCs

public java.util.Hashtable getParasiteMLFCs()

init

public void init()

destroy

public void destroy()

getStyleSheet

public XSmilesStyleSheet getStyleSheet()

getBaseURI

public java.lang.String getBaseURI()

isHTMLDocument

public boolean isHTMLDocument()
this method returns true, if the original was HTML and then it was converted to XHTML. This is useful for those features that need HTML case independency


setHTMLDocument

public void setHTMLDocument(boolean isHTMLDoc)
was this originally HTML document -> XHTML


isInited

public boolean isInited()

getChangeHandler

public AsyncChangeHandler getChangeHandler()
this is for executing layout or DOM changing code from an external thread


getTitle

public java.lang.String getTitle()
Returns:

getAnonymousElementByAttribute

public org.w3c.dom.Element getAnonymousElementByAttribute(org.w3c.dom.Element root,
                                                          java.lang.String attrname,
                                                          java.lang.String value)


X-Smiles 1.2