com.gargoylesoftware.htmlunit.html
Class HtmlOrderedList
java.lang.Object
com.gargoylesoftware.htmlunit.html.DomNode
com.gargoylesoftware.htmlunit.html.DomNamespaceNode
com.gargoylesoftware.htmlunit.html.DomElement
com.gargoylesoftware.htmlunit.html.HtmlElement
com.gargoylesoftware.htmlunit.html.HtmlOrderedList
- All Implemented Interfaces:
- Serializable, Cloneable, Element, Node
public class HtmlOrderedList
- extends HtmlElement
Wrapper for the HTML element "ol".
- Version:
- $Revision: 5301 $
- Author:
- Mike Bowler, David K. Taylor, Christian Sell, Ahmed Ashour
- See Also:
- Serialized Form
Field Summary |
static String |
TAG_NAME
The HTML tag represented by this element. |
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 |
Method Summary |
String |
getCompactAttribute()
Returns the value of the attribute "compact". |
String |
getStartAttribute()
Returns the value of the attribute "start". |
String |
getTypeAttribute()
Returns the value of the attribute "type". |
protected boolean |
isBlock()
Indicates if the text representation of this element is made as a block, ie if new lines need
to be inserted before and after it. |
protected boolean |
isEmptyXmlTagExpanded()
Indicates if a node without children should be written in expanded form as XML
(i.e. |
Methods inherited from class com.gargoylesoftware.htmlunit.html.HtmlElement |
addHtmlAttributeChangeListener, appendChildIfNoneExists, blur, checkChildHierarchy, click, click, click, dblClick, dblClick, doClickAction, doType, fireEvent, fireEvent, fireHtmlAttributeAdded, fireHtmlAttributeRemoved, fireHtmlAttributeReplaced, focus, getCanonicalXPath, getChildElements, getElementById, getElementsByAttribute, getEnclosingElement, getEnclosingForm, getEnclosingFormOrDie, getEventTargetElement, getHtmlElementsByTagName, getHtmlElementsByTagNames, getId, getLangAttribute, getNodeName, getOnClickAttribute, getOnDblClickAttribute, getOneHtmlElementByAttribute, getOnKeyDownAttribute, getOnKeyPressAttribute, getOnKeyUpAttribute, getOnMouseDownAttribute, getOnMouseMoveAttribute, getOnMouseOutAttribute, getOnMouseOverAttribute, getOnMouseUpAttribute, getTabIndex, getTextDirectionAttribute, getXmlLangAttribute, hasEventHandlers, hasHtmlElementWithId, isAttributeCaseSensitive, isStateUpdateFirst, isSubmittableByEnter, mouseDown, mouseDown, mouseMove, mouseMove, mouseOut, mouseOut, mouseOver, mouseOver, mouseUp, mouseUp, preventDefault, removeAttribute, removeChild, removeEventHandler, removeHtmlAttributeChangeListener, rightClick, rightClick, setAttributeNS, setEventHandler, setEventHandler, setId, toString, type, type, type, type |
Methods inherited from class com.gargoylesoftware.htmlunit.html.DomElement |
cloneNode, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getAttributesMap, getElementsByTagName, getElementsByTagNameNS, getNodeType, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, hasAttributes, namespaces, printOpeningTagContentAsXml, printXml, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS |
Methods inherited from class com.gargoylesoftware.htmlunit.html.DomNode |
addDomChangeListener, appendChild, asText, asXml, compareDocumentPosition, fireNodeAdded, fireNodeDeleted, getAllHtmlChildElements, getAncestors, getBaseURI, getByXPath, getChildNodes, getChildren, getDescendants, getEndColumnNumber, getEndLineNumber, getFeature, getFirstByXPath, getFirstChild, getHtmlElementDescendants, getIndex, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getPage, getParentNode, getPreviousSibling, getReadyState, getScriptObject, getStartColumnNumber, getStartLineNumber, getTextContent, getUserData, hasChildNodes, insertBefore, insertBefore, isAncestorOf, isAncestorOfAny, isDefaultNamespace, isDisplayed, isEqualNode, isSameNode, isSupported, isTrimmedText, lookupNamespaceURI, lookupPrefix, mayBeDisplayed, normalize, notifyIncorrectness, onAddedToPage, onAllChildrenAddedToPage, printChildrenAsXml, remove, removeAllChildren, removeChild, removeDomChangeListener, replace, replaceChild, setNextSibling, setNodeValue, setParentNode, setPreviousSibling, setReadyState, setScriptObject, setTextContent, setUserData |
Methods inherited from interface org.w3c.dom.Node |
appendChild, compareDocumentPosition, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData |
TAG_NAME
public static final String TAG_NAME
- The HTML tag represented by this element.
- See Also:
- Constant Field Values
getTypeAttribute
public final String getTypeAttribute()
- Returns the value of the attribute "type". Refer to the
HTML 4.01
documentation for details on the use of this attribute.
- Returns:
- the value of the attribute "type"
or an empty string if that attribute isn't defined.
getCompactAttribute
public final String getCompactAttribute()
- Returns the value of the attribute "compact". Refer to the
HTML 4.01
documentation for details on the use of this attribute.
- Returns:
- the value of the attribute "compact"
or an empty string if that attribute isn't defined.
getStartAttribute
public final String getStartAttribute()
- Returns the value of the attribute "start". Refer to the
HTML 4.01
documentation for details on the use of this attribute.
- Returns:
- the value of the attribute "start"
or an empty string if that attribute isn't defined.
isBlock
protected boolean isBlock()
- Indicates if the text representation of this element is made as a block, ie if new lines need
to be inserted before and after it.
- Overrides:
isBlock
in class DomNode
- Returns:
true
if this element represents a block
isEmptyXmlTagExpanded
protected boolean isEmptyXmlTagExpanded()
- Indicates if a node without children should be written in expanded form as XML
(i.e. with closing tag rather than with "/>")
- Overrides:
isEmptyXmlTagExpanded
in class DomElement
- Returns:
false
by default
Copyright © 2002-2010 Gargoyle Software Inc.. All Rights Reserved.