|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mozilla.javascript.ScriptableObject
com.meterware.httpunit.javascript.ScriptingEngineImpl
com.meterware.httpunit.dom.AbstractDomComponent
com.meterware.httpunit.dom.NodeImpl
com.meterware.httpunit.dom.DocumentImpl
com.meterware.httpunit.dom.HTMLDocumentImpl
public class HTMLDocumentImpl
Field Summary |
---|
Fields inherited from class org.mozilla.javascript.ScriptableObject |
---|
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST |
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.mozilla.javascript.Scriptable |
---|
NOT_FOUND |
Constructor Summary | |
---|---|
HTMLDocumentImpl()
|
Method Summary | |
---|---|
void |
clearWriteBuffer()
|
org.w3c.dom.Node |
cloneNode(boolean deep)
|
void |
close()
|
org.w3c.dom.Element |
createElement(java.lang.String tagName)
|
org.w3c.dom.Element |
createElementNS(java.lang.String namespaceURI,
java.lang.String qualifiedName)
|
java.lang.Object |
get(java.lang.String propertyName,
org.mozilla.javascript.Scriptable scriptable)
|
org.w3c.dom.html.HTMLCollection |
getAnchors()
|
org.w3c.dom.html.HTMLCollection |
getApplets()
|
org.w3c.dom.html.HTMLElement |
getBody()
|
java.lang.String |
getCookie()
|
java.lang.String |
getDomain()
|
org.w3c.dom.NodeList |
getElementsByName(java.lang.String elementName)
|
org.w3c.dom.NodeList |
getElementsByTagName(java.lang.String name)
|
org.w3c.dom.html.HTMLCollection |
getForms()
|
org.w3c.dom.html.HTMLCollection |
getImages()
|
org.w3c.dom.html.HTMLCollection |
getLinks()
|
java.lang.String |
getReferrer()
|
java.lang.String |
getTitle()
|
java.lang.String |
getURL()
|
DomWindow |
getWindow()
get the Window |
void |
open()
|
void |
put(java.lang.String propertyName,
org.mozilla.javascript.Scriptable initialObject,
java.lang.Object value)
|
void |
setBody(org.w3c.dom.html.HTMLElement body)
|
void |
setCookie(java.lang.String cookie)
|
void |
setIFramesEnabled(boolean enabled)
|
void |
setTitle(java.lang.String title)
|
void |
write(java.lang.String text)
|
void |
writeln(java.lang.String text)
|
Methods inherited from class com.meterware.httpunit.dom.AbstractDomComponent |
---|
clearCaches, createAnonymousFunctionName, getClassName, has, newScriptingEngine |
Methods inherited from class com.meterware.httpunit.javascript.ScriptingEngineImpl |
---|
clearErrorMessages, discardDocumentWriteBuffer, doEvent, doEventScript, evaluateExpression, getDocumentWriteBuffer, getErrorMessages, handleEvent, handleScriptException, runScript, supportsScriptLanguage |
Methods inherited from class org.mozilla.javascript.ScriptableObject |
---|
associateValue, avoidObjectDetection, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, equivalentValues, get, getAllIds, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, hasInstance, hasProperty, hasProperty, isConst, isGetterOrSetter, isSealed, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.w3c.dom.Document |
---|
adoptNode, createAttribute, createAttributeNS, createCDATASection, createComment, createDocumentFragment, createEntityReference, createProcessingInstruction, createTextNode, getDoctype, getDocumentElement, getDocumentURI, getDomConfig, getElementById, getElementsByTagNameNS, getImplementation, getInputEncoding, getStrictErrorChecking, getXmlEncoding, getXmlStandalone, getXmlVersion, importNode, normalizeDocument, renameNode, setDocumentURI, setStrictErrorChecking, setXmlStandalone, setXmlVersion |
Methods inherited from interface org.w3c.dom.Node |
---|
appendChild, 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 |
Methods inherited from interface org.mozilla.javascript.Scriptable |
---|
delete, delete, get, getDefaultValue, getIds, getParentScope, getPrototype, has, hasInstance, put, setParentScope, setPrototype |
Constructor Detail |
---|
public HTMLDocumentImpl()
Method Detail |
---|
public void setIFramesEnabled(boolean enabled)
public java.lang.Object get(java.lang.String propertyName, org.mozilla.javascript.Scriptable scriptable)
get
in interface org.mozilla.javascript.Scriptable
get
in class AbstractDomComponent
public void put(java.lang.String propertyName, org.mozilla.javascript.Scriptable initialObject, java.lang.Object value)
put
in interface org.mozilla.javascript.Scriptable
put
in class AbstractDomComponent
public org.w3c.dom.html.HTMLCollection getLinks()
getLinks
in interface HTMLContainerElement
getLinks
in interface org.w3c.dom.html.HTMLDocument
public org.w3c.dom.html.HTMLCollection getImages()
getImages
in interface HTMLContainerElement
getImages
in interface org.w3c.dom.html.HTMLDocument
public org.w3c.dom.html.HTMLCollection getApplets()
getApplets
in interface HTMLContainerElement
getApplets
in interface org.w3c.dom.html.HTMLDocument
public org.w3c.dom.html.HTMLCollection getForms()
getForms
in interface HTMLContainerElement
getForms
in interface org.w3c.dom.html.HTMLDocument
public org.w3c.dom.html.HTMLCollection getAnchors()
getAnchors
in interface HTMLContainerElement
getAnchors
in interface org.w3c.dom.html.HTMLDocument
public java.lang.String getTitle()
getTitle
in interface org.w3c.dom.html.HTMLDocument
public void setTitle(java.lang.String title)
setTitle
in interface org.w3c.dom.html.HTMLDocument
public java.lang.String getReferrer()
getReferrer
in interface org.w3c.dom.html.HTMLDocument
public java.lang.String getDomain()
getDomain
in interface org.w3c.dom.html.HTMLDocument
public java.lang.String getURL()
getURL
in interface org.w3c.dom.html.HTMLDocument
public org.w3c.dom.html.HTMLElement getBody()
getBody
in interface org.w3c.dom.html.HTMLDocument
public void setBody(org.w3c.dom.html.HTMLElement body)
setBody
in interface org.w3c.dom.html.HTMLDocument
public java.lang.String getCookie()
getCookie
in interface org.w3c.dom.html.HTMLDocument
public void setCookie(java.lang.String cookie)
setCookie
in interface org.w3c.dom.html.HTMLDocument
public void open()
open
in interface org.w3c.dom.html.HTMLDocument
public void close()
close
in interface org.w3c.dom.html.HTMLDocument
public void write(java.lang.String text)
write
in interface org.w3c.dom.html.HTMLDocument
public void writeln(java.lang.String text)
writeln
in interface org.w3c.dom.html.HTMLDocument
public org.w3c.dom.NodeList getElementsByName(java.lang.String elementName)
getElementsByName
in interface org.w3c.dom.html.HTMLDocument
public org.w3c.dom.Element createElement(java.lang.String tagName) throws org.w3c.dom.DOMException
createElement
in interface org.w3c.dom.Document
createElement
in class DocumentImpl
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
createElementNS
in class DocumentImpl
org.w3c.dom.DOMException
public org.w3c.dom.NodeList getElementsByTagName(java.lang.String name)
getElementsByTagName
in interface org.w3c.dom.Document
getElementsByTagName
in class NodeImpl
public org.w3c.dom.Node cloneNode(boolean deep)
cloneNode
in interface org.w3c.dom.Node
cloneNode
in class NodeImpl
public DomWindow getWindow()
public void clearWriteBuffer()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |