org.apache.html.dom
Class HTMLScriptElementImpl

java.lang.Object
  extended by org.apache.xerces.dom.NodeImpl
      extended by org.apache.xerces.dom.ChildNode
          extended by org.apache.xerces.dom.ParentNode
              extended by org.apache.xerces.dom.ElementImpl
                  extended by org.apache.html.dom.HTMLElementImpl
                      extended by org.apache.html.dom.HTMLScriptElementImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, Element, EventTarget, HTMLElement, HTMLScriptElement, Node, NodeList, TypeInfo

public class HTMLScriptElementImpl
extends HTMLElementImpl
implements HTMLScriptElement

Version:
$Revision: 447255 $ $Date: 2006-09-18 01:36:42 -0400 (Mon, 18 Sep 2006) $
Author:
Assaf Arkin
See Also:
HTMLScriptElement, ElementImpl, Serialized Form

Field Summary
 
Fields inherited from class org.apache.xerces.dom.NodeImpl
DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_IS_CONTAINED, DOCUMENT_POSITION_PRECEDING, ELEMENT_DEFINITION_NODE, TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_NODE
 
Fields inherited from interface org.w3c.dom.Node
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
 
Fields inherited from interface org.w3c.dom.TypeInfo
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION
 
Constructor Summary
HTMLScriptElementImpl(HTMLDocumentImpl owner, java.lang.String name)
          Constructor requires owner document.
 
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, getBaseURI, getNodeName, getNodeType, getSchemaTypeInfo, getTagName, getTypeName, getTypeNamespace, hasAttribute, hasAttributeNS, hasAttributes, isDerivedFrom, isEqualNode, normalize, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setReadOnly
 
Methods inherited from class org.apache.xerces.dom.ParentNode
getChildNodes, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, insertBefore, item, removeChild, replaceChild, setTextContent
 
Methods inherited from class org.apache.xerces.dom.ChildNode
getNextSibling, getParentNode, getPreviousSibling
 
Methods inherited from class org.apache.xerces.dom.NodeImpl
addEventListener, appendChild, compareDocumentPosition, compareTreePosition, dispatchEvent, getFeature, getLocalName, getNamespaceURI, getNodeValue, getPrefix, getReadOnly, getUserData, getUserData, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setPrefix, setUserData, setUserData, toString
 
Methods inherited from class java.lang.Object
equals, 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, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS
 
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
 

Constructor Detail

HTMLScriptElementImpl

public HTMLScriptElementImpl(HTMLDocumentImpl owner,
                             java.lang.String name)
Constructor requires owner document.

Parameters:
owner - The owner HTML document
Method Detail

getText

public java.lang.String getText()
Description copied from interface: HTMLScriptElement
The script content of the element.

Specified by:
getText in interface HTMLScriptElement

setText

public void setText(java.lang.String text)
Specified by:
setText in interface HTMLScriptElement

getHtmlFor

public java.lang.String getHtmlFor()
Description copied from interface: HTMLScriptElement
Reserved for future use.

Specified by:
getHtmlFor in interface HTMLScriptElement

setHtmlFor

public void setHtmlFor(java.lang.String htmlFor)
Specified by:
setHtmlFor in interface HTMLScriptElement

getEvent

public java.lang.String getEvent()
Description copied from interface: HTMLScriptElement
Reserved for future use.

Specified by:
getEvent in interface HTMLScriptElement

setEvent

public void setEvent(java.lang.String event)
Specified by:
setEvent in interface HTMLScriptElement

getCharset

public java.lang.String getCharset()
Description copied from interface: HTMLScriptElement
The character encoding of the linked resource. See the charset attribute definition in HTML 4.0.

Specified by:
getCharset in interface HTMLScriptElement

setCharset

public void setCharset(java.lang.String charset)
Specified by:
setCharset in interface HTMLScriptElement

getDefer

public boolean getDefer()
Description copied from interface: 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 HTMLScriptElement

setDefer

public void setDefer(boolean defer)
Specified by:
setDefer in interface HTMLScriptElement

getSrc

public java.lang.String getSrc()
Description copied from interface: HTMLScriptElement
URI designating an external script. See the src attribute definition in HTML 4.0.

Specified by:
getSrc in interface HTMLScriptElement

setSrc

public void setSrc(java.lang.String src)
Specified by:
setSrc in interface HTMLScriptElement

getType

public java.lang.String getType()
Description copied from interface: HTMLScriptElement
The content type of the script language. See the type attribute definition in HTML 4.0.

Specified by:
getType in interface HTMLScriptElement

setType

public void setType(java.lang.String type)
Specified by:
setType in interface HTMLScriptElement