com.gargoylesoftware.htmlunit.html
Class HtmlDivision
java.lang.Object
com.gargoylesoftware.htmlunit.html.DomNode
com.gargoylesoftware.htmlunit.html.DomNamespaceNode
com.gargoylesoftware.htmlunit.html.HtmlElement
com.gargoylesoftware.htmlunit.html.StyledElement
com.gargoylesoftware.htmlunit.html.ClickableElement
com.gargoylesoftware.htmlunit.html.HtmlDivision
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class HtmlDivision
- extends ClickableElement
Wrapper for the html element "div".
- Version:
- $Revision: 1.3 $
- Author:
- Mike Bowler, David K. Taylor, Christian Sell, Ahmed Ashour
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
TAG_NAME
the HTML tag represented by this element |
Constructor Summary |
HtmlDivision(java.lang.String namespaceURI,
java.lang.String qualifiedName,
HtmlPage page,
java.util.Map attributes)
Create an instance of HtmlDivision. |
Method Summary |
java.lang.String |
getAlignAttribute()
Return the value of the attribute "align". |
Methods inherited from class com.gargoylesoftware.htmlunit.html.ClickableElement |
click, click, dblClick, dblClick, getLangAttribute, getOnClickAttribute, getOnDblClickAttribute, getOnKeyDownAttribute, getOnKeyPressAttribute, getOnKeyUpAttribute, getOnMouseDownAttribute, getOnMouseMoveAttribute, getOnMouseOutAttribute, getOnMouseOverAttribute, getOnMouseUpAttribute, getTextDirectionAttribute, getXmlLangAttribute |
Methods inherited from class com.gargoylesoftware.htmlunit.html.HtmlElement |
addHtmlAttributeChangeListener, appendChildIfNoneExists, cloneDomNode, fireEvent, fireEvent, getAttributeEntriesIterator, getAttributeValue, getChildElementsIterator, getEnclosingElement, getEnclosingForm, getEnclosingFormOrDie, getEventHandler, getHtmlElementById, getHtmlElementsByAttribute, getHtmlElementsByTagName, getHtmlElementsByTagNames, getId, getNodeName, getNodeType, getOneHtmlElementByAttribute, getTagName, hasHtmlElementWithId, isAttributeDefined, keyDown, keyDown, mouseDown, mouseDown, mouseMove, mouseMove, mouseOut, mouseOut, mouseOver, mouseOver, mouseUp, mouseUp, removeAttribute, removeChild, removeEventHandler, removeHtmlAttributeChangeListener, rightClick, rightClick, setAttributeValue, setEventHandler, setEventHandler, setId, toString |
Methods inherited from class com.gargoylesoftware.htmlunit.html.DomNode |
addDomChangeListener, appendDomChild, asText, asXml, getAllHtmlChildElements, getByXPath, getChildIterator, getEndColumnNumber, getEndLineNumber, getFirstDomChild, getLastDomChild, getNextDomSibling, getNodeValue, getPage, getParentDomNode, getPreviousDomSibling, getReadyState, getScriptObject, getStartColumnNumber, getStartLineNumber, insertBefore, remove, removeAllChildren, removeDomChangeListener, replace, setNodeValue, setReadyState, setScriptObject |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TAG_NAME
public static final java.lang.String TAG_NAME
- the HTML tag represented by this element
- See Also:
- Constant Field Values
HtmlDivision
public HtmlDivision(java.lang.String namespaceURI,
java.lang.String qualifiedName,
HtmlPage page,
java.util.Map attributes)
- Create an instance of HtmlDivision.
Don't directly construct, it is public as an implementation side-effect.
- Parameters:
namespaceURI
- the URI that identifies an XML namespace.qualifiedName
- The qualified name of the element type to instantiatepage
- The HtmlPage that contains this element.attributes
- the initial attributes
getAlignAttribute
public final java.lang.String getAlignAttribute()
- Return the value of the attribute "align". Refer to the
HTML 4.01
documentation for details on the use of this attribute.
- Returns:
- The value of the attribute "align"
or an empty string if that attribute isn't defined.
Copyright © 2003-2016 AppPerfect Corporation. All Rights Reserved.