com.meterware.httpunit.dom
Class HTMLAnchorElementImpl

java.lang.Object
  extended by org.mozilla.javascript.ScriptableObject
      extended by com.meterware.httpunit.javascript.ScriptingEngineImpl
          extended by com.meterware.httpunit.dom.AbstractDomComponent
              extended by com.meterware.httpunit.dom.NodeImpl
                  extended by com.meterware.httpunit.dom.NamespaceAwareNodeImpl
                      extended by com.meterware.httpunit.dom.ElementImpl
                          extended by com.meterware.httpunit.dom.HTMLElementImpl
                              extended by com.meterware.httpunit.dom.HTMLAnchorElementImpl
All Implemented Interfaces:
ScriptingEngine, ScriptingEventHandler, ScriptingHandler, java.io.Serializable, org.mozilla.javascript.ConstProperties, org.mozilla.javascript.debug.DebuggableObject, org.mozilla.javascript.Scriptable, org.w3c.dom.Element, org.w3c.dom.html.HTMLAnchorElement, org.w3c.dom.html.HTMLElement, org.w3c.dom.Node

public class HTMLAnchorElementImpl
extends HTMLElementImpl
implements org.w3c.dom.html.HTMLAnchorElement

Author:
Russell Gold
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.meterware.httpunit.dom.HTMLElementImpl
UNSPECIFIED_ATTRIBUTE
 
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
HTMLAnchorElementImpl()
           
 
Method Summary
 void blur()
          simulate blur
 void doClickAction()
           
 void focus()
          simulate focus;
 java.lang.String getAccessKey()
           
 java.lang.String getCharset()
           
 java.lang.String getCoords()
           
 java.lang.String getHref()
           
 java.lang.String getHreflang()
           
 java.lang.String getName()
           
 java.lang.String getRel()
           
 java.lang.String getRev()
           
 java.lang.String getShape()
           
 int getTabIndex()
           
 java.lang.String getTarget()
           
 java.lang.String getType()
           
 void setAccessKey(java.lang.String accessKey)
           
 void setCharset(java.lang.String charset)
           
 void setCoords(java.lang.String coords)
           
 void setHref(java.lang.String href)
           
 void setHreflang(java.lang.String hreflang)
           
 void setName(java.lang.String name)
           
 void setRel(java.lang.String rel)
           
 void setRev(java.lang.String rev)
           
 void setShape(java.lang.String shape)
           
 void setTabIndex(int tabIndex)
           
 void setTarget(java.lang.String target)
           
 void setType(java.lang.String type)
           
 
Methods inherited from class com.meterware.httpunit.dom.HTMLElementImpl
click, getAttributeWithDefault, getAttributeWithNoDefault, getBooleanAttribute, getClassName, getDir, getElementsByTagName, getId, getIntegerAttribute, getIntegerAttribute, getLang, getTitle, setAttribute, setAttribute, setClassName, setDir, setId, setLang, setTitle
 
Methods inherited from class com.meterware.httpunit.dom.ElementImpl
addDomListener, createElement, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getElementsByTagNameNS, getNodeType, getNodeValue, getSchemaTypeInfo, handleEvent, hasAttribute, hasAttributeNS, hasAttributes, importNode, removeAttribute, removeAttributeNode, removeAttributeNS, reportPropertyChanged, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setNodeValue
 
Methods inherited from class com.meterware.httpunit.dom.NamespaceAwareNodeImpl
getLocalName, getNamespaceURI, getNodeName, getTagName, initialize, initialize
 
Methods inherited from class com.meterware.httpunit.dom.NodeImpl
appendChild, cloneNode, compareDocumentPosition, getBaseURI, getChildIfPermitted, getChildNodes, getElementsByTagNames, getFeature, getFirstChild, getJavaPropertyName, getLastChild, getNextSibling, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasChildNodes, initialize, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, preOrderIterator, preOrderIterator, preOrderIteratorAfterNode, preOrderIteratorAfterNode, removeChild, replaceChild, setPrefix, setTextContent, setUserData
 
Methods inherited from class com.meterware.httpunit.dom.AbstractDomComponent
clearCaches, createAnonymousFunctionName, get, has, newScriptingEngine, put
 
Methods inherited from class com.meterware.httpunit.javascript.ScriptingEngineImpl
clearErrorMessages, discardDocumentWriteBuffer, doEvent, doEventScript, evaluateExpression, getDocumentWriteBuffer, getErrorMessages, 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.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
 
Methods inherited from interface org.mozilla.javascript.Scriptable
delete, delete, get, getDefaultValue, getIds, getParentScope, getPrototype, has, hasInstance, put, setParentScope, setPrototype
 

Constructor Detail

HTMLAnchorElementImpl

public HTMLAnchorElementImpl()
Method Detail

getCharset

public java.lang.String getCharset()
Specified by:
getCharset in interface org.w3c.dom.html.HTMLAnchorElement

getHref

public java.lang.String getHref()
Specified by:
getHref in interface org.w3c.dom.html.HTMLAnchorElement

getHreflang

public java.lang.String getHreflang()
Specified by:
getHreflang in interface org.w3c.dom.html.HTMLAnchorElement

getRel

public java.lang.String getRel()
Specified by:
getRel in interface org.w3c.dom.html.HTMLAnchorElement

getRev

public java.lang.String getRev()
Specified by:
getRev in interface org.w3c.dom.html.HTMLAnchorElement

getTarget

public java.lang.String getTarget()
Specified by:
getTarget in interface org.w3c.dom.html.HTMLAnchorElement

getType

public java.lang.String getType()
Specified by:
getType in interface org.w3c.dom.html.HTMLAnchorElement

setCharset

public void setCharset(java.lang.String charset)
Specified by:
setCharset in interface org.w3c.dom.html.HTMLAnchorElement

setHref

public void setHref(java.lang.String href)
Specified by:
setHref in interface org.w3c.dom.html.HTMLAnchorElement

setHreflang

public void setHreflang(java.lang.String hreflang)
Specified by:
setHreflang in interface org.w3c.dom.html.HTMLAnchorElement

setRel

public void setRel(java.lang.String rel)
Specified by:
setRel in interface org.w3c.dom.html.HTMLAnchorElement

setRev

public void setRev(java.lang.String rev)
Specified by:
setRev in interface org.w3c.dom.html.HTMLAnchorElement

setTarget

public void setTarget(java.lang.String target)
Specified by:
setTarget in interface org.w3c.dom.html.HTMLAnchorElement

setType

public void setType(java.lang.String type)
Specified by:
setType in interface org.w3c.dom.html.HTMLAnchorElement

blur

public void blur()
simulate blur

Specified by:
blur in interface org.w3c.dom.html.HTMLAnchorElement

focus

public void focus()
simulate focus;

Specified by:
focus in interface org.w3c.dom.html.HTMLAnchorElement

getAccessKey

public java.lang.String getAccessKey()
Specified by:
getAccessKey in interface org.w3c.dom.html.HTMLAnchorElement

getCoords

public java.lang.String getCoords()
Specified by:
getCoords in interface org.w3c.dom.html.HTMLAnchorElement

getName

public java.lang.String getName()
Specified by:
getName in interface org.w3c.dom.html.HTMLAnchorElement

getShape

public java.lang.String getShape()
Specified by:
getShape in interface org.w3c.dom.html.HTMLAnchorElement

getTabIndex

public int getTabIndex()
Specified by:
getTabIndex in interface org.w3c.dom.html.HTMLAnchorElement

setAccessKey

public void setAccessKey(java.lang.String accessKey)
Specified by:
setAccessKey in interface org.w3c.dom.html.HTMLAnchorElement

setCoords

public void setCoords(java.lang.String coords)
Specified by:
setCoords in interface org.w3c.dom.html.HTMLAnchorElement

setName

public void setName(java.lang.String name)
Specified by:
setName in interface org.w3c.dom.html.HTMLAnchorElement

setShape

public void setShape(java.lang.String shape)
Specified by:
setShape in interface org.w3c.dom.html.HTMLAnchorElement

setTabIndex

public void setTabIndex(int tabIndex)
Specified by:
setTabIndex in interface org.w3c.dom.html.HTMLAnchorElement

doClickAction

public void doClickAction()
Overrides:
doClickAction in class HTMLElementImpl


Copyright © 2011. All Rights Reserved.