org.lobobrowser.html.domimpl
public class HTMLDocumentImpl extends NodeImpl implements HTMLDocument, DocumentView
HTMLDocument
interface.Modifier and Type | Class and Description |
---|---|
class |
HTMLDocumentImpl.CSSStyleSheetList |
document, nodeList, notificationsSuspended, parentNode, treeLock, uiNode
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
Constructor and Description |
---|
HTMLDocumentImpl(HtmlRendererContext rcontext) |
HTMLDocumentImpl(UserAgentContext ucontext) |
HTMLDocumentImpl(UserAgentContext ucontext,
HtmlRendererContext rcontext,
WritableLineReader reader,
java.lang.String documentURI) |
Modifier and Type | Method and Description |
---|---|
void |
addDocumentNotificationListener(DocumentNotificationListener listener)
Adds a document notification listener, which is informed about
changes to the document.
|
org.w3c.dom.Node |
adoptNode(org.w3c.dom.Node source) |
void |
allInvalidated()
Informs listeners that the whole document has been
invalidated.
|
void |
allInvalidated(boolean forgetRenderStates) |
void |
close()
Closes a document stream opened by
open() and forces
rendering. |
org.w3c.dom.Attr |
createAttribute(java.lang.String name) |
org.w3c.dom.Attr |
createAttributeNS(java.lang.String namespaceURI,
java.lang.String qualifiedName) |
org.w3c.dom.CDATASection |
createCDATASection(java.lang.String data) |
org.w3c.dom.Comment |
createComment(java.lang.String data) |
org.w3c.dom.DocumentFragment |
createDocumentFragment() |
org.w3c.dom.Element |
createElement(java.lang.String tagName) |
org.w3c.dom.Element |
createElementNS(java.lang.String namespaceURI,
java.lang.String qualifiedName) |
org.w3c.dom.EntityReference |
createEntityReference(java.lang.String name) |
org.w3c.dom.ProcessingInstruction |
createProcessingInstruction(java.lang.String target,
java.lang.String data) |
protected RenderState |
createRenderState(RenderState prevRenderState) |
protected org.w3c.dom.Node |
createSimilarNode()
Should create a node with some cloned properties, like the node name,
but not attributes or children.
|
org.w3c.dom.Text |
createTextNode(java.lang.String data) |
void |
externalScriptLoading(NodeImpl node) |
HTMLCollection |
getAnchors()
A collection of all the anchor (
A ) elements in a document
with a value for the name attribute. |
HTMLCollection |
getApplets()
A collection of all the
OBJECT elements that include
applets and APPLET (deprecated) elements in a document. |
java.lang.String |
getBaseURI() |
HTMLElement |
getBody()
The element that contains the content for the document.
|
java.lang.String |
getCookie()
This mutable string attribute denotes persistent state information
that (1) is associated with the current frame or document and (2) is
composed of information described by the
cookies
non-terminal of [IETF RFC 2965], Section 4.2.2. |
java.lang.String |
getDefaultTarget() |
AbstractView |
getDefaultView()
The default
AbstractView for this Document ,
or null if none available. |
org.w3c.dom.DocumentType |
getDoctype() |
org.w3c.dom.Element |
getDocumentElement() |
java.lang.String |
getDocumentURI() |
java.net.URL |
getDocumentURL() |
java.lang.String |
getDomain()
The domain name of the server that served the document, or
null if the server cannot be identified by a domain
name. |
org.w3c.dom.DOMConfiguration |
getDomConfig() |
org.w3c.dom.Element |
getElementById(java.lang.String elementId) |
org.w3c.dom.NodeList |
getElementsByName(java.lang.String elementName)
Gets the collection of elements whose
name
attribute is elementName . |
org.w3c.dom.NodeList |
getElementsByTagName(java.lang.String tagname)
Gets all elements that match the given tag name.
|
org.w3c.dom.NodeList |
getElementsByTagNameNS(java.lang.String namespaceURI,
java.lang.String localName) |
HTMLCollection |
getForms()
A collection of all the forms of a document.
|
HTMLCollection |
getFrames() |
java.net.URL |
getFullURL(java.lang.String uri) |
HtmlRendererContext |
getHtmlRendererContext() |
HTMLCollection |
getImages()
A collection of all the
IMG elements in a document. |
org.w3c.dom.DOMImplementation |
getImplementation() |
java.lang.String |
getInputEncoding() |
HTMLCollection |
getLinks()
A collection of all
AREA elements and anchor (
A ) elements in a document with a value for the
href attribute. |
java.util.Set |
getLocales()
Gets an immutable set of locales previously set for this document.
|
java.lang.String |
getLocalName() |
Location |
getLocation() |
java.lang.String |
getNodeName() |
short |
getNodeType() |
java.lang.String |
getNodeValue() |
org.mozilla.javascript.Function |
getOnloadHandler() |
java.lang.String |
getReferrer()
Returns the URI [IETF RFC 2396] of the page that linked to this page.
|
boolean |
getStrictErrorChecking() |
java.util.Collection |
getStyleSheets() |
java.lang.String |
getTextContent()
Gets the text content of this node
and its descendents.
|
java.lang.String |
getTitle()
The title of a document as specified by the
TITLE element
in the head of the document. |
java.lang.String |
getURL()
The absolute URI [IETF RFC 2396] of the document.
|
UserAgentContext |
getUserAgentContext() |
java.lang.String |
getXmlEncoding() |
boolean |
getXmlStandalone() |
java.lang.String |
getXmlVersion() |
org.w3c.dom.Node |
importNode(org.w3c.dom.Node importedNode,
boolean deep) |
void |
invalidated(NodeImpl node)
This is called when the node has changed, but
it is unclear if it's a size change or a look
change.
|
void |
load()
Loads the document from the reader provided when the
current instance of
HTMLDocumentImpl was constructed. |
void |
load(boolean closeReader) |
protected void |
loadImage(java.lang.String relativeUri,
ImageListener imageListener)
Loads images asynchronously such that they are shared if loaded
simultaneously from the same URI.
|
void |
lookInvalidated(NodeImpl node)
Called if something such as a color or
decoration has changed.
|
org.w3c.dom.Element |
namedItem(java.lang.String name) |
void |
nodeLoaded(NodeImpl node) |
void |
normalizeDocument() |
void |
open()
Open a document stream for writing.
|
void |
positionInParentInvalidated(NodeImpl node)
Changed if the position of the node in a
parent has changed.
|
void |
removeDocumentNotificationListener(DocumentNotificationListener listener) |
org.w3c.dom.Node |
renameNode(org.w3c.dom.Node n,
java.lang.String namespaceURI,
java.lang.String qualifiedName) |
void |
setBaseURI(java.lang.String value) |
void |
setBody(HTMLElement body)
The element that contains the content for the document.
|
void |
setCookie(java.lang.String cookie)
This mutable string attribute denotes persistent state information
that (1) is associated with the current frame or document and (2) is
composed of information described by the
cookies
non-terminal of [IETF RFC 2965], Section 4.2.2. |
void |
setDefaultTarget(java.lang.String value) |
void |
setDoctype(org.w3c.dom.DocumentType doctype) |
void |
setDocumentURI(java.lang.String documentURI) |
void |
setDomain(java.lang.String domain) |
void |
setLocales(java.util.Set locales)
Sets the locales of the document.
|
void |
setLocation(java.lang.String location) |
void |
setNodeValue(java.lang.String nodeValue) |
void |
setOnloadHandler(org.mozilla.javascript.Function onloadHandler) |
void |
setReferrer(java.lang.String value) |
void |
setStrictErrorChecking(boolean strictErrorChecking) |
void |
setTextContent(java.lang.String textContent) |
void |
setTitle(java.lang.String title)
The title of a document as specified by the
TITLE element
in the head of the document. |
java.lang.Object |
setUserData(java.lang.String key,
java.lang.Object data,
org.w3c.dom.UserDataHandler handler) |
void |
setXmlStandalone(boolean xmlStandalone) |
void |
setXmlVersion(java.lang.String xmlVersion) |
void |
sizeInvalidated(NodeImpl node) |
void |
structureInvalidated(NodeImpl node)
This is called when children of the node might
have changed.
|
void |
write(java.lang.String text)
Write a string of text to a document stream opened by
open() . |
void |
writeln(java.lang.String text)
Write a string of text followed by a newline character to a document
stream opened by
open() . |
appendChild, appendInnerHTMLImpl, appendInnerTextImpl, cloneNode, compareDocumentPosition, equalAttributes, findUINode, forgetRenderState, getAlignmentX, getAlignmentY, getAttributes, getChildNodes, getChildren, getChildrenArray, getDescendents, getDocumentItem, getFeature, getFirstChild, getInnerHTML, getInnerText, getLastChild, getNamespaceURI, getNextSibling, getNodeList, getOwnerDocument, getParentModelNode, getParentNode, getParentRenderState, getPrefix, getPreviousSibling, getRenderState, getUINode, getUserData, hasAttributes, hasChildNodes, htmlEncodeChildText, informDocumentInvalid, informExternalScriptLoading, informInvalid, informLayoutInvalid, informLookInvalid, informNodeLoaded, informPositionInvalid, informSizeInvalid, informStructureInvalid, insertAfter, insertAt, insertBefore, isDefaultNamespace, isEqualNode, isEqualOrDescendentOf, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeAllChildren, removeAllChildrenImpl, removeChild, removeChildAt, removeChildren, removeChildrenImpl, replaceAdjacentTextNodes, replaceAdjacentTextNodes, replaceChild, setDocumentItem, setPrefix, setUINode, toString, warn, warn
getScriptable, setScriptable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
appendChild, cloneNode, compareDocumentPosition, getAttributes, getChildNodes, getFeature, getFirstChild, getLastChild, getNamespaceURI, getNextSibling, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setPrefix
public HTMLDocumentImpl(HtmlRendererContext rcontext)
public HTMLDocumentImpl(UserAgentContext ucontext)
public HTMLDocumentImpl(UserAgentContext ucontext, HtmlRendererContext rcontext, WritableLineReader reader, java.lang.String documentURI)
public java.util.Set getLocales()
public void setLocales(java.util.Set locales)
locales
- An immutable set of java.util.Locale
instances.public java.net.URL getDocumentURL()
getDocumentURL
in class NodeImpl
public java.lang.String getBaseURI()
getBaseURI
in interface org.w3c.dom.Node
getBaseURI
in class NodeImpl
public void setBaseURI(java.lang.String value)
public java.lang.String getDefaultTarget()
public void setDefaultTarget(java.lang.String value)
public AbstractView getDefaultView()
DocumentView
AbstractView
for this Document
,
or null
if none available.getDefaultView
in interface DocumentView
public java.lang.String getTextContent() throws org.w3c.dom.DOMException
NodeImpl
getTextContent
in interface org.w3c.dom.Node
getTextContent
in class NodeImpl
org.w3c.dom.DOMException
public void setTextContent(java.lang.String textContent) throws org.w3c.dom.DOMException
setTextContent
in interface org.w3c.dom.Node
setTextContent
in class NodeImpl
org.w3c.dom.DOMException
public java.lang.String getTitle()
HTMLDocument
TITLE
element
in the head of the document.getTitle
in interface HTMLDocument
public void setTitle(java.lang.String title)
HTMLDocument
TITLE
element
in the head of the document.setTitle
in interface HTMLDocument
public java.lang.String getReferrer()
HTMLDocument
getReferrer
in interface HTMLDocument
public void setReferrer(java.lang.String value)
public java.lang.String getDomain()
HTMLDocument
null
if the server cannot be identified by a domain
name.getDomain
in interface HTMLDocument
public void setDomain(java.lang.String domain)
public HTMLElement getBody()
HTMLDocument
BODY
contents, returns the BODY
element. In frameset documents, this returns the outermost
FRAMESET
element.getBody
in interface HTMLDocument
public HTMLCollection getImages()
HTMLDocument
IMG
elements in a document. The
behavior is limited to IMG
elements for backwards
compatibility. As suggested by [HTML 4.01], to include images, authors may use
the OBJECT
element or the IMG
element.
Therefore, it is recommended not to use this attribute to find the
images in the document but getElementsByTagName
with
HTML 4.01 or getElementsByTagNameNS
with XHTML 1.0.getImages
in interface HTMLDocument
public HTMLCollection getApplets()
HTMLDocument
OBJECT
elements that include
applets and APPLET
(deprecated) elements in a document.getApplets
in interface HTMLDocument
public HTMLCollection getLinks()
HTMLDocument
AREA
elements and anchor (
A
) elements in a document with a value for the
href
attribute.getLinks
in interface HTMLDocument
public HTMLCollection getForms()
HTMLDocument
getForms
in interface HTMLDocument
public HTMLCollection getFrames()
public HTMLCollection getAnchors()
HTMLDocument
A
) elements in a document
with a value for the name
attribute. For reasons of
backward compatibility, the returned set of anchors only contains
those anchors created with the name
attribute, not those
created with the id
attribute. Note that in [XHTML 1.0], the
name
attribute (see section 4.10) has no semantics and
is only present for legacy user agents: the id
attribute
is used instead. Users should prefer the iterator mechanisms provided
by [DOM Level 2 Traversal] instead.getAnchors
in interface HTMLDocument
public java.lang.String getCookie()
HTMLDocument
cookies
non-terminal of [IETF RFC 2965], Section 4.2.2.
cookie
non-terminal of [IETF RFC 2965]; that
is, it should be a single name-value pair followed by zero or more
cookie attribute values. If no domain attribute is specified, then
the domain attribute for the new value defaults to the host portion
of an absolute URI [IETF RFC 2396] of the current frame or document. If no path
attribute is specified, then the path attribute for the new value
defaults to the absolute path portion of the URI [IETF RFC 2396] of the current
frame or document. If no max-age attribute is specified, then the
max-age attribute for the new value defaults to a user agent defined
value. If a cookie with the specified name is already associated with
the current frame or document, then the new value as well as the new
attributes replace the old value and attributes. If a max-age
attribute of 0 is specified for the new value, then any existing
cookies of the specified name are removed from the cookie storage.
See [IETF RFC 2965] for the semantics of persistent state item attribute value
pairs. The precise nature of a user agent session is not defined by
this specification.getCookie
in interface HTMLDocument
public void setCookie(java.lang.String cookie) throws org.w3c.dom.DOMException
HTMLDocument
cookies
non-terminal of [IETF RFC 2965], Section 4.2.2.
cookie
non-terminal of [IETF RFC 2965]; that
is, it should be a single name-value pair followed by zero or more
cookie attribute values. If no domain attribute is specified, then
the domain attribute for the new value defaults to the host portion
of an absolute URI [IETF RFC 2396] of the current frame or document. If no path
attribute is specified, then the path attribute for the new value
defaults to the absolute path portion of the URI [IETF RFC 2396] of the current
frame or document. If no max-age attribute is specified, then the
max-age attribute for the new value defaults to a user agent defined
value. If a cookie with the specified name is already associated with
the current frame or document, then the new value as well as the new
attributes replace the old value and attributes. If a max-age
attribute of 0 is specified for the new value, then any existing
cookies of the specified name are removed from the cookie storage.
See [IETF RFC 2965] for the semantics of persistent state item attribute value
pairs. The precise nature of a user agent session is not defined by
this specification.setCookie
in interface HTMLDocument
org.w3c.dom.DOMException
- SYNTAX_ERR: If the new value does not adhere to the cookie syntax
specified by [IETF RFC 2965].public void open()
HTMLDocument
open
in interface HTMLDocument
public void load() throws java.io.IOException, org.xml.sax.SAXException, java.io.UnsupportedEncodingException
HTMLDocumentImpl
was constructed.
It then closes the reader.java.io.IOException
org.xml.sax.SAXException
java.io.UnsupportedEncodingException
public void load(boolean closeReader) throws java.io.IOException, org.xml.sax.SAXException, java.io.UnsupportedEncodingException
java.io.IOException
org.xml.sax.SAXException
java.io.UnsupportedEncodingException
public void close()
HTMLDocument
open()
and forces
rendering.close
in interface HTMLDocument
public void write(java.lang.String text)
HTMLDocument
open()
. Note that the function will produce a document
which is not necessarily driven by a DTD and therefore might be
produce an invalid result in the context of the document.write
in interface HTMLDocument
text
- The string to be parsed into some structure in the
document structure model.public void writeln(java.lang.String text)
HTMLDocument
open()
. Note that the function will
produce a document which is not necessarily driven by a DTD and
therefore might be produce an invalid result in the context of the
documentwriteln
in interface HTMLDocument
text
- The string to be parsed into some structure in the
document structure model.public org.w3c.dom.NodeList getElementsByName(java.lang.String elementName)
name
attribute is elementName
.getElementsByName
in interface HTMLDocument
elementName
- The name
attribute value for an
element.public org.w3c.dom.DocumentType getDoctype()
getDoctype
in interface org.w3c.dom.Document
public void setDoctype(org.w3c.dom.DocumentType doctype)
public org.w3c.dom.Element getDocumentElement()
getDocumentElement
in interface org.w3c.dom.Document
public org.w3c.dom.Element createElement(java.lang.String tagName) throws org.w3c.dom.DOMException
createElement
in interface org.w3c.dom.Document
org.w3c.dom.DOMException
public org.w3c.dom.DocumentFragment createDocumentFragment()
createDocumentFragment
in interface org.w3c.dom.Document
public org.w3c.dom.Text createTextNode(java.lang.String data)
createTextNode
in interface org.w3c.dom.Document
public org.w3c.dom.Comment createComment(java.lang.String data)
createComment
in interface org.w3c.dom.Document
public org.w3c.dom.CDATASection createCDATASection(java.lang.String data) throws org.w3c.dom.DOMException
createCDATASection
in interface org.w3c.dom.Document
org.w3c.dom.DOMException
public org.w3c.dom.ProcessingInstruction createProcessingInstruction(java.lang.String target, java.lang.String data) throws org.w3c.dom.DOMException
createProcessingInstruction
in interface org.w3c.dom.Document
org.w3c.dom.DOMException
public org.w3c.dom.Attr createAttribute(java.lang.String name) throws org.w3c.dom.DOMException
createAttribute
in interface org.w3c.dom.Document
org.w3c.dom.DOMException
public org.w3c.dom.EntityReference createEntityReference(java.lang.String name) throws org.w3c.dom.DOMException
createEntityReference
in interface org.w3c.dom.Document
org.w3c.dom.DOMException
public org.w3c.dom.NodeList getElementsByTagName(java.lang.String tagname)
getElementsByTagName
in interface org.w3c.dom.Document
tagname
- The element tag name or an asterisk
character (*) to match all elements.public org.w3c.dom.Node importNode(org.w3c.dom.Node importedNode, boolean deep) throws org.w3c.dom.DOMException
importNode
in interface org.w3c.dom.Document
org.w3c.dom.DOMException
public org.w3c.dom.Element createElementNS(java.lang.String namespaceURI, java.lang.String qualifiedName) throws org.w3c.dom.DOMException
createElementNS
in interface org.w3c.dom.Document
org.w3c.dom.DOMException
public org.w3c.dom.Attr createAttributeNS(java.lang.String namespaceURI, java.lang.String qualifiedName) throws org.w3c.dom.DOMException
createAttributeNS
in interface org.w3c.dom.Document
org.w3c.dom.DOMException
public org.w3c.dom.NodeList getElementsByTagNameNS(java.lang.String namespaceURI, java.lang.String localName)
getElementsByTagNameNS
in interface org.w3c.dom.Document
public org.w3c.dom.Element getElementById(java.lang.String elementId)
getElementById
in interface org.w3c.dom.Document
public org.w3c.dom.Element namedItem(java.lang.String name)
public java.lang.String getInputEncoding()
getInputEncoding
in interface org.w3c.dom.Document
public java.lang.String getXmlEncoding()
getXmlEncoding
in interface org.w3c.dom.Document
public boolean getXmlStandalone()
getXmlStandalone
in interface org.w3c.dom.Document
public void setXmlStandalone(boolean xmlStandalone) throws org.w3c.dom.DOMException
setXmlStandalone
in interface org.w3c.dom.Document
org.w3c.dom.DOMException
public java.lang.String getXmlVersion()
getXmlVersion
in interface org.w3c.dom.Document
public void setXmlVersion(java.lang.String xmlVersion) throws org.w3c.dom.DOMException
setXmlVersion
in interface org.w3c.dom.Document
org.w3c.dom.DOMException
public boolean getStrictErrorChecking()
getStrictErrorChecking
in interface org.w3c.dom.Document
public void setStrictErrorChecking(boolean strictErrorChecking)
setStrictErrorChecking
in interface org.w3c.dom.Document
public java.lang.String getDocumentURI()
getDocumentURI
in interface org.w3c.dom.Document
public void setDocumentURI(java.lang.String documentURI)
setDocumentURI
in interface org.w3c.dom.Document
public org.w3c.dom.Node adoptNode(org.w3c.dom.Node source) throws org.w3c.dom.DOMException
adoptNode
in interface org.w3c.dom.Document
org.w3c.dom.DOMException
public org.w3c.dom.DOMConfiguration getDomConfig()
getDomConfig
in interface org.w3c.dom.Document
public void normalizeDocument()
normalizeDocument
in interface org.w3c.dom.Document
public org.w3c.dom.Node renameNode(org.w3c.dom.Node n, java.lang.String namespaceURI, java.lang.String qualifiedName) throws org.w3c.dom.DOMException
renameNode
in interface org.w3c.dom.Document
org.w3c.dom.DOMException
public org.w3c.dom.DOMImplementation getImplementation()
getImplementation
in interface org.w3c.dom.Document
public java.lang.String getLocalName()
getLocalName
in interface org.w3c.dom.Node
getLocalName
in class NodeImpl
public java.lang.String getNodeName()
getNodeName
in interface org.w3c.dom.Node
getNodeName
in class NodeImpl
public short getNodeType()
getNodeType
in interface org.w3c.dom.Node
getNodeType
in class NodeImpl
public java.lang.String getNodeValue() throws org.w3c.dom.DOMException
getNodeValue
in interface org.w3c.dom.Node
getNodeValue
in class NodeImpl
org.w3c.dom.DOMException
public void setNodeValue(java.lang.String nodeValue) throws org.w3c.dom.DOMException
setNodeValue
in interface org.w3c.dom.Node
setNodeValue
in class NodeImpl
org.w3c.dom.DOMException
public final HtmlRendererContext getHtmlRendererContext()
getHtmlRendererContext
in class NodeImpl
public UserAgentContext getUserAgentContext()
getUserAgentContext
in class NodeImpl
public final java.net.URL getFullURL(java.lang.String uri)
getFullURL
in interface ModelNode
getFullURL
in class NodeImpl
public final Location getLocation()
public void setLocation(java.lang.String location)
public java.lang.String getURL()
HTMLDocument
getURL
in interface HTMLDocument
public void setBody(HTMLElement body)
HTMLDocument
BODY
contents, returns the BODY
element. In frameset documents, this returns the outermost
FRAMESET
element.setBody
in interface HTMLDocument
public void allInvalidated(boolean forgetRenderStates)
public java.util.Collection getStyleSheets()
public void addDocumentNotificationListener(DocumentNotificationListener listener)
listener
- An instance of DocumentNotificationListener
.public void removeDocumentNotificationListener(DocumentNotificationListener listener)
public void sizeInvalidated(NodeImpl node)
public void lookInvalidated(NodeImpl node)
node
- public void positionInParentInvalidated(NodeImpl node)
node
- public void invalidated(NodeImpl node)
node
- public void structureInvalidated(NodeImpl node)
node
- public void nodeLoaded(NodeImpl node)
public void externalScriptLoading(NodeImpl node)
public void allInvalidated()
protected RenderState createRenderState(RenderState prevRenderState)
createRenderState
in class NodeImpl
protected void loadImage(java.lang.String relativeUri, ImageListener imageListener)
relativeUri
- imageListener
- public org.mozilla.javascript.Function getOnloadHandler()
public void setOnloadHandler(org.mozilla.javascript.Function onloadHandler)
public java.lang.Object setUserData(java.lang.String key, java.lang.Object data, org.w3c.dom.UserDataHandler handler)
setUserData
in interface org.w3c.dom.Node
setUserData
in class NodeImpl
protected org.w3c.dom.Node createSimilarNode()
NodeImpl
createSimilarNode
in class NodeImpl