org.apache.html.dom
Class HTMLScriptElementImpl
java.lang.Object
|
+--org.apache.xerces.dom.NodeImpl
|
+--org.apache.xerces.dom.ChildNode
|
+--org.apache.xerces.dom.ParentNode
|
+--org.apache.xerces.dom.ElementImpl
|
+--org.apache.html.dom.HTMLElementImpl
|
+--org.apache.html.dom.HTMLScriptElementImpl
- All Implemented Interfaces:
- java.lang.Cloneable, org.w3c.dom.Element, org.w3c.dom.events.EventTarget, org.w3c.dom.html.HTMLElement, org.w3c.dom.html.HTMLScriptElement, org.w3c.dom.Node, org.apache.xerces.dom3.Node3, org.w3c.dom.NodeList, java.io.Serializable
- public class HTMLScriptElementImpl
- extends HTMLElementImpl
- implements org.w3c.dom.html.HTMLScriptElement
- Version:
- $Revision: 1.5 $ $Date: 2002/01/10 06:27:34 $
- Author:
- Assaf Arkin
- See Also:
HTMLScriptElement
,
ElementImpl
, Serialized Form
Fields inherited from class org.apache.xerces.dom.ElementImpl |
attributes, name |
Fields inherited from class org.apache.xerces.dom.ParentNode |
firstChild, fNodeListCache, ownerDocument |
Fields inherited from class org.apache.xerces.dom.ChildNode |
nextSibling, previousSibling |
Fields inherited from class org.apache.xerces.dom.NodeImpl |
ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, IGNORABLEWS, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, UNNORMALIZED |
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 |
Fields inherited from interface org.apache.xerces.dom3.Node3 |
TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_NODE |
Method Summary |
java.lang.String |
getCharset()
The character encoding of the linked resource. |
boolean |
getDefer()
Indicates that the user agent can defer processing of the script. |
java.lang.String |
getEvent()
Reserved for future use. |
java.lang.String |
getHtmlFor()
Reserved for future use. |
java.lang.String |
getSrc()
URI designating an external script. |
java.lang.String |
getText()
The script content of the element. |
java.lang.String |
getType()
The content type of the script language. |
void |
setCharset(java.lang.String charset)
|
void |
setDefer(boolean defer)
|
void |
setEvent(java.lang.String event)
|
void |
setHtmlFor(java.lang.String htmlFor)
|
void |
setSrc(java.lang.String src)
|
void |
setText(java.lang.String text)
|
void |
setType(java.lang.String type)
|
Methods inherited from class org.apache.html.dom.HTMLElementImpl |
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getClassName, getDir, getElementsByTagName, getElementsByTagNameNS, getForm, getId, getLang, getTitle, setClassName, setDir, setId, setLang, setTitle |
Methods inherited from class org.apache.xerces.dom.ElementImpl |
cloneNode, getAttributes, getDefaultAttributes, getNodeName, getNodeType, getTagName, hasAttribute, hasAttributeNS, hasAttributes, isEqualNode, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setReadOnly, setupDefaultAttributes, synchronizeData |
Methods inherited from class org.apache.xerces.dom.ParentNode |
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, insertBefore, item, removeChild, replaceChild, setTextContent, synchronizeChildren |
Methods inherited from class org.apache.xerces.dom.ChildNode |
getNextSibling, getParentNode, getPreviousSibling |
Methods inherited from class org.apache.xerces.dom.NodeImpl |
addEventListener, appendChild, changed, changes, compareTreePosition, dispatchEvent, getBaseURI, getInterface, getLocalName, getNamespaceURI, getNodeValue, getPrefix, getReadOnly, getUserData, getUserData, isSameNode, isSupported, lookupNamespacePrefix, lookupNamespaceURI, needsSyncChildren, removeEventListener, setNodeValue, setPrefix, setUserData, setUserData, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.w3c.dom.html.HTMLElement |
getClassName, getDir, getId, getLang, getTitle, setClassName, setDir, setId, setLang, setTitle |
Methods inherited from interface org.w3c.dom.Element |
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS |
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 |
HTMLScriptElementImpl
public HTMLScriptElementImpl(HTMLDocumentImpl owner,
java.lang.String name)
- Constructor requires owner document.
- Parameters:
owner
- The owner HTML document
getText
public java.lang.String getText()
- Description copied from interface:
org.w3c.dom.html.HTMLScriptElement
- The script content of the element.
- Specified by:
getText
in interface org.w3c.dom.html.HTMLScriptElement
setText
public void setText(java.lang.String text)
- Specified by:
setText
in interface org.w3c.dom.html.HTMLScriptElement
getHtmlFor
public java.lang.String getHtmlFor()
- Description copied from interface:
org.w3c.dom.html.HTMLScriptElement
- Reserved for future use.
- Specified by:
getHtmlFor
in interface org.w3c.dom.html.HTMLScriptElement
setHtmlFor
public void setHtmlFor(java.lang.String htmlFor)
- Specified by:
setHtmlFor
in interface org.w3c.dom.html.HTMLScriptElement
getEvent
public java.lang.String getEvent()
- Description copied from interface:
org.w3c.dom.html.HTMLScriptElement
- Reserved for future use.
- Specified by:
getEvent
in interface org.w3c.dom.html.HTMLScriptElement
setEvent
public void setEvent(java.lang.String event)
- Specified by:
setEvent
in interface org.w3c.dom.html.HTMLScriptElement
getCharset
public java.lang.String getCharset()
- Description copied from interface:
org.w3c.dom.html.HTMLScriptElement
- The character encoding of the linked resource. See the charset
attribute definition in HTML 4.0.
- Specified by:
getCharset
in interface org.w3c.dom.html.HTMLScriptElement
setCharset
public void setCharset(java.lang.String charset)
- Specified by:
setCharset
in interface org.w3c.dom.html.HTMLScriptElement
getDefer
public boolean getDefer()
- Description copied from interface:
org.w3c.dom.html.HTMLScriptElement
- Indicates that the user agent can defer processing of the script. See
the defer attribute definition in HTML 4.0.
- Specified by:
getDefer
in interface org.w3c.dom.html.HTMLScriptElement
setDefer
public void setDefer(boolean defer)
- Specified by:
setDefer
in interface org.w3c.dom.html.HTMLScriptElement
getSrc
public java.lang.String getSrc()
- Description copied from interface:
org.w3c.dom.html.HTMLScriptElement
- URI designating an external script. See the src attribute definition
in HTML 4.0.
- Specified by:
getSrc
in interface org.w3c.dom.html.HTMLScriptElement
setSrc
public void setSrc(java.lang.String src)
- Specified by:
setSrc
in interface org.w3c.dom.html.HTMLScriptElement
getType
public java.lang.String getType()
- Description copied from interface:
org.w3c.dom.html.HTMLScriptElement
- The content type of the script language. See the type attribute
definition in HTML 4.0.
- Specified by:
getType
in interface org.w3c.dom.html.HTMLScriptElement
setType
public void setType(java.lang.String type)
- Specified by:
setType
in interface org.w3c.dom.html.HTMLScriptElement
Copyright © 1999-2002 Apache XML Project. All Rights Reserved.