public class HTMLAnchorElement extends HTMLElement
HTMLElement.ProxyDomNodeBEHAVIOR_ID_CLIENT_CAPS, BEHAVIOR_ID_DOWNLOAD, BEHAVIOR_ID_HOMEPAGEATTRIBUTE_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| Constructor and Description |
|---|
HTMLAnchorElement()
Creates an instance.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getDefaultValue(Class<?> hint)
Calls for instance for implicit conversion to string.
|
String |
jsxGet_hash()
Returns the hash portion of the link's URL (the portion following the '#', including the '#').
|
String |
jsxGet_host()
Returns the host portion of the link's URL (the '[hostname]:[port]' portion).
|
String |
jsxGet_hostname()
Returns the hostname portion of the link's URL.
|
String |
jsxGet_href()
Returns the value of this link's href property.
|
String |
jsxGet_name()
Returns the value of the name property of this link.
|
String |
jsxGet_pathname()
Returns the pathname portion of the link's URL.
|
String |
jsxGet_port()
Returns the port portion of the link's URL.
|
String |
jsxGet_protocol()
Returns the protocol portion of the link's URL, including the trailing ':'.
|
String |
jsxGet_rel()
Returns the value of the rel property.
|
String |
jsxGet_rev()
Returns the value of the rev property.
|
String |
jsxGet_search()
Returns the search portion of the link's URL (the portion starting with
'?' and up to but not including any '#').
|
String |
jsxGet_target()
Returns the value of the target property of this link.
|
void |
jsxSet_hash(String hash)
Sets the hash portion of the link's URL (the portion following the '#').
|
void |
jsxSet_host(String host)
Sets the host portion of the link's URL (the '[hostname]:[port]' portion).
|
void |
jsxSet_hostname(String hostname)
Sets the hostname portion of the link's URL.
|
void |
jsxSet_href(String href)
Sets the href property.
|
void |
jsxSet_name(String name)
Sets the name property.
|
void |
jsxSet_pathname(String pathname)
Sets the pathname portion of the link's URL.
|
void |
jsxSet_port(String port)
Sets the port portion of the link's URL.
|
void |
jsxSet_protocol(String protocol)
Sets the protocol portion of the link's URL.
|
void |
jsxSet_rel(String rel)
Sets the rel property.
|
void |
jsxSet_rev(String rel)
Sets the rev property.
|
void |
jsxSet_search(String search)
Sets the search portion of the link's URL (the portion starting with '?'
and up to but not including any '#')..
|
void |
jsxSet_target(String target)
Sets the target property of this link.
|
addComponentRequest, clearComponentRequest, compareVersions, createEventHandler, doComponentRequest, fixAttributeName, get, getAlign, getAvailHeight, getAvailWidth, getBoxObject, getBufferDepth, getCh, getChOff, getColorDepth, getComponentVersion, getConnectionType, getCookieEnabled, getCpuClass, getDomNodeOrDie, getDomNodeOrNull, getHeight, getJavaEnabled, getParentHTMLElement, getPlatform, getPosX, getPosY, getSystemLanguage, getUserLanguage, getVAlign, getWidth, getWidthOrHeight, getWithFallback, isAncestorOfEventTarget, isAttributeName, isComponentInstalled, isHomePage, jsxFunction_addBehavior, jsxFunction_blur, jsxFunction_clearAttributes, jsxFunction_click, jsxFunction_contains, jsxFunction_createTextRange, jsxFunction_dispatchEvent, jsxFunction_doScroll, jsxFunction_focus, jsxFunction_getAttributeNode, jsxFunction_getAttributeNodeNS, jsxFunction_getAttributeNS, jsxFunction_getBoundingClientRect, jsxFunction_getClientRects, jsxFunction_getElementsByClassName, jsxFunction_hasAttributeNS, jsxFunction_insertAdjacentElement, jsxFunction_insertAdjacentHTML, jsxFunction_mergeAttributes, jsxFunction_querySelector, jsxFunction_querySelectorAll, jsxFunction_removeAttributeNode, jsxFunction_removeAttributeNS, jsxFunction_removeBehavior, jsxFunction_removeExpression, jsxFunction_removeNode, jsxFunction_scrollIntoView, jsxFunction_setActive, jsxFunction_setAttribute, jsxFunction_setAttributeNode, jsxFunction_setAttributeNS, jsxFunction_setExpression, jsxGet_accessKey, jsxGet_all, jsxGet_children, jsxGet_className, jsxGet_clientHeight, jsxGet_clientLeft, jsxGet_clientTop, jsxGet_clientWidth, jsxGet_currentStyle, jsxGet_dir, jsxGet_disabled, jsxGet_document, jsxGet_filters, jsxGet_id, jsxGet_innerHTML, jsxGet_innerText, jsxGet_lang, jsxGet_language, jsxGet_localName, jsxGet_namespaceURI, jsxGet_nodeName, jsxGet_offsetHeight, jsxGet_offsetLeft, jsxGet_offsetParent, jsxGet_offsetTop, jsxGet_offsetWidth, jsxGet_outerHTML, jsxGet_parentElement, jsxGet_prefix, jsxGet_runtimeStyle, jsxGet_scopeName, jsxGet_scrollHeight, jsxGet_scrollLeft, jsxGet_scrollTop, jsxGet_scrollWidth, jsxGet_spellcheck, jsxGet_style, jsxGet_tabIndex, jsxGet_tagUrn, jsxGet_title, jsxGet_uniqueID, jsxSet_accessKey, jsxSet_className, jsxSet_dir, jsxSet_disabled, jsxSet_id, jsxSet_innerHTML, jsxSet_innerText, jsxSet_lang, jsxSet_language, jsxSet_outerHTML, jsxSet_scrollLeft, jsxSet_scrollTop, jsxSet_spellcheck, jsxSet_tabIndex, jsxSet_tagUrn, jsxSet_textContent, jsxSet_title, navigateHomePage, parseHtmlSnippet, readAttributes, setAlign, setCh, setChOff, setColorAttribute, setDefaults, setDomNode, setHomePage, setVAlign, setWidthOrHeight, startDownload, toStringcreateAttributesObject, jsxFunction_getAttribute, jsxFunction_getElementsByTagName, jsxFunction_getElementsByTagNameNS, jsxFunction_hasAttribute, jsxFunction_removeAttribute, jsxFunction_selectNodes, jsxFunction_selectSingleNode, jsxGet_attributes, jsxGet_tagName, jsxGet_textjsxFunction_fireEvent, jsxGet_onblur, jsxGet_onclick, jsxGet_oncontextmenu, jsxGet_ondblclick, jsxGet_onerror, jsxGet_onfocus, jsxGet_onfocusin, jsxGet_onfocusout, jsxGet_onkeydown, jsxGet_onkeypress, jsxGet_onkeyup, jsxGet_onmousedown, jsxGet_onmousemove, jsxGet_onmouseout, jsxGet_onmouseover, jsxGet_onmouseup, jsxGet_onpropertychange, jsxGet_onresize, jsxSet_onblur, jsxSet_onclick, jsxSet_oncontextmenu, jsxSet_ondblclick, jsxSet_onerror, jsxSet_onfocus, jsxSet_onfocusin, jsxSet_onfocusout, jsxSet_onkeydown, jsxSet_onkeypress, jsxSet_onkeyup, jsxSet_onmousedown, jsxSet_onmousemove, jsxSet_onmouseout, jsxSet_onmouseover, jsxSet_onmouseup, jsxSet_onpropertychange, jsxSet_onresizeexecuteEvent, fireEvent, getEventHandler, getEventHandlerProp, getJavaScriptNode, getParent, hasEventHandlers, jsxFunction_addEventListener, jsxFunction_appendChild, jsxFunction_attachEvent, jsxFunction_cloneNode, jsxFunction_compareDocumentPosition, jsxFunction_detachEvent, jsxFunction_hasChildNodes, jsxFunction_insertBefore, jsxFunction_insertBefore, jsxFunction_isSameNode, jsxFunction_normalize, jsxFunction_removeChild, jsxFunction_removeEventListener, jsxFunction_replaceChild, jsxGet_childNodes, jsxGet_firstChild, jsxGet_lastChild, jsxGet_nextSibling, jsxGet_nodeType, jsxGet_nodeValue, jsxGet_ownerDocument, jsxGet_parentNode, jsxGet_previousSibling, jsxGet_textContent, jsxGet_xml, jsxSet_nodeValue, setEventHandler, setEventHandlerPropclone, defineFunctionProperties, defineProperty, equivalentValues, getBrowserVersion, getClassName, getPrototype, getScriptableFor, getStartingScope, getTransformerScriptableFor, getWindow, getWindow, getWithPreemption, hasInstance, initParentScope, makeScriptableFor, setCaseSensitive, setDomNode, setHtmlElementapplyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineOwnProperties, defineOwnProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype, sizepublic void jsxSet_href(String href)
href - the href property valuepublic String jsxGet_href()
public void jsxSet_name(String name)
name - name attribute valuepublic String jsxGet_name()
public void jsxSet_target(String target)
target - target attribute valuepublic String jsxGet_target()
public void jsxSet_rel(String rel)
rel - rel attribute valuepublic String jsxGet_rel() throws Exception
Exception - if an error occurspublic void jsxSet_rev(String rel)
rel - rev attribute valuepublic String jsxGet_rev() throws Exception
Exception - if an error occurspublic String jsxGet_search() throws Exception
Exception - if an error occurspublic void jsxSet_search(String search) throws Exception
search - the new search portion of the link's URLException - if an error occurspublic String jsxGet_hash() throws Exception
Exception - if an error occurspublic void jsxSet_hash(String hash) throws Exception
hash - the new hash portion of the link's URLException - if an error occurspublic String jsxGet_host() throws Exception
Exception - if an error occurspublic void jsxSet_host(String host) throws Exception
host - the new host portion of the link's URLException - if an error occurspublic String jsxGet_hostname() throws Exception
Exception - if an error occurspublic void jsxSet_hostname(String hostname) throws Exception
hostname - the new hostname portion of the link's URLException - if an error occurspublic String jsxGet_pathname() throws Exception
Exception - if an error occurspublic void jsxSet_pathname(String pathname) throws Exception
pathname - the new pathname portion of the link's URLException - if an error occurspublic String jsxGet_port() throws Exception
Exception - if an error occurspublic void jsxSet_port(String port) throws Exception
port - the new port portion of the link's URLException - if an error occurspublic String jsxGet_protocol() throws Exception
Exception - if an error occurspublic void jsxSet_protocol(String protocol) throws Exception
protocol - the new protocol portion of the link's URLException - if an error occurspublic Object getDefaultValue(Class<?> hint)
getDefaultValue in interface net.sourceforge.htmlunit.corejs.javascript.ScriptablegetDefaultValue in class SimpleScriptablehint - the type hintSimpleScriptable.getDefaultValue(java.lang.Class)Copyright © 2002-2012 Gargoyle Software Inc.. All Rights Reserved.