Package org.htmlunit.cyberneko.html.dom
Class HTMLScriptElementImpl
- java.lang.Object
-
- org.htmlunit.cyberneko.xerces.dom.NodeImpl
-
- org.htmlunit.cyberneko.xerces.dom.ChildNode
-
- org.htmlunit.cyberneko.xerces.dom.ParentNode
-
- org.htmlunit.cyberneko.xerces.dom.ElementImpl
-
- org.htmlunit.cyberneko.html.dom.HTMLElementImpl
-
- org.htmlunit.cyberneko.html.dom.HTMLScriptElementImpl
-
- All Implemented Interfaces:
Cloneable,Element,EventTarget,org.w3c.dom.html.HTMLElement,org.w3c.dom.html.HTMLScriptElement,Node,NodeList,TypeInfo
public class HTMLScriptElementImpl extends HTMLElementImpl implements org.w3c.dom.html.HTMLScriptElement
- Author:
- Assaf Arkin
- See Also:
HTMLScriptElement,ElementImpl
-
-
Field Summary
-
Fields inherited from class org.htmlunit.cyberneko.xerces.dom.ElementImpl
attributes_, name_
-
Fields inherited from class org.htmlunit.cyberneko.xerces.dom.ParentNode
firstChild, fNodeListCache, ownerDocument
-
Fields inherited from class org.htmlunit.cyberneko.xerces.dom.ChildNode
nextSibling_, previousSibling_
-
Fields inherited from class org.htmlunit.cyberneko.xerces.dom.NodeImpl
DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_IS_CONTAINED, DOCUMENT_POSITION_PRECEDING, FIRSTCHILD, HASSTRING, ID, NORMALIZED, OWNED, ownerNode_, READONLY, SPECIFIED, SYNCCHILDREN
-
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
Constructors Constructor Description HTMLScriptElementImpl(HTMLDocumentImpl owner, String name)Constructor requires owner document.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCharset()booleangetDefer()StringgetEvent()StringgetHtmlFor()StringgetSrc()StringgetText()StringgetType()voidsetCharset(String charset)voidsetDefer(boolean defer)voidsetEvent(String event)voidsetHtmlFor(String htmlFor)voidsetSrc(String src)voidsetText(String text)voidsetType(String type)-
Methods inherited from class org.htmlunit.cyberneko.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.htmlunit.cyberneko.xerces.dom.ElementImpl
cloneNode, getAttributes, getBaseURI, getNodeName, getNodeType, getSchemaTypeInfo, getTagName, getTypeName, getTypeNamespace, getXMLBaseAttribute, hasAttribute, hasAttributeNS, hasAttributes, isDerivedFrom, isEqualNode, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOwnerDocument
-
Methods inherited from class org.htmlunit.cyberneko.xerces.dom.ParentNode
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, insertBefore, item, removeChild, replaceChild, setTextContent, synchronizeChildren
-
Methods inherited from class org.htmlunit.cyberneko.xerces.dom.ChildNode
getNextSibling, getParentNode, getPreviousSibling
-
Methods inherited from class org.htmlunit.cyberneko.xerces.dom.NodeImpl
addEventListener, appendChild, changed, changes, compareDocumentPosition, dispatchEvent, getFeature, getLocalName, getNamespaceURI, getNodeNumber, getNodeValue, getPrefix, getUserData, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, normalize, removeEventListener, setNodeValue, setPrefix, 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.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.html.HTMLElement
getClassName, getDir, getId, getLang, getTitle, setClassName, setDir, setId, setLang, setTitle
-
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, String name)
Constructor requires owner document.- Parameters:
owner- The owner HTML document
-
-
Method Detail
-
getText
public String getText()
- Specified by:
getTextin interfaceorg.w3c.dom.html.HTMLScriptElement
-
setText
public void setText(String text)
- Specified by:
setTextin interfaceorg.w3c.dom.html.HTMLScriptElement
-
getHtmlFor
public String getHtmlFor()
- Specified by:
getHtmlForin interfaceorg.w3c.dom.html.HTMLScriptElement
-
setHtmlFor
public void setHtmlFor(String htmlFor)
- Specified by:
setHtmlForin interfaceorg.w3c.dom.html.HTMLScriptElement
-
getEvent
public String getEvent()
- Specified by:
getEventin interfaceorg.w3c.dom.html.HTMLScriptElement
-
setEvent
public void setEvent(String event)
- Specified by:
setEventin interfaceorg.w3c.dom.html.HTMLScriptElement
-
getCharset
public String getCharset()
- Specified by:
getCharsetin interfaceorg.w3c.dom.html.HTMLScriptElement
-
setCharset
public void setCharset(String charset)
- Specified by:
setCharsetin interfaceorg.w3c.dom.html.HTMLScriptElement
-
getDefer
public boolean getDefer()
- Specified by:
getDeferin interfaceorg.w3c.dom.html.HTMLScriptElement
-
setDefer
public void setDefer(boolean defer)
- Specified by:
setDeferin interfaceorg.w3c.dom.html.HTMLScriptElement
-
getSrc
public String getSrc()
- Specified by:
getSrcin interfaceorg.w3c.dom.html.HTMLScriptElement
-
setSrc
public void setSrc(String src)
- Specified by:
setSrcin interfaceorg.w3c.dom.html.HTMLScriptElement
-
getType
public String getType()
- Specified by:
getTypein interfaceorg.w3c.dom.html.HTMLScriptElement
-
setType
public void setType(String type)
- Specified by:
setTypein interfaceorg.w3c.dom.html.HTMLScriptElement
-
-