public class HtmlBody extends HtmlElement
HtmlElement.DisplayStyleDomElement.ChildElementsIteratorDomNode.ChildIterator, DomNode.DescendantElementsIterator<T extends DomNode>| Modifier and Type | Field and Description |
|---|---|
static String |
TAG_NAME
The HTML tag represented by this element.
|
TAB_INDEX_OUT_OF_BOUNDSATTRIBUTE_NOT_DEFINED, ATTRIBUTE_VALUE_EMPTYAS_TEXT_BLANK, AS_TEXT_BLOCK_SEPARATOR, AS_TEXT_NEW_LINE, AS_TEXT_TAB, PROPERTY_ELEMENT, READY_STATE_COMPLETE, READY_STATE_INTERACTIVE, READY_STATE_LOADED, READY_STATE_LOADING, READY_STATE_UNINITIALIZEDATTRIBUTE_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 |
|---|
HtmlBody(String qualifiedName,
SgmlPage page,
Map<String,DomAttr> attributes,
boolean temporary)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAlinkAttribute()
Returns the value of the attribute
alink. |
String |
getBackgroundAttribute()
Returns the value of the attribute
background. |
String |
getBgcolorAttribute()
Returns the value of the attribute
bgcolor. |
String |
getLinkAttribute()
Returns the value of the attribute
link. |
String |
getOnLoadAttribute()
Returns the value of the attribute
onload. |
String |
getOnUnloadAttribute()
Returns the value of the attribute
onunload. |
String |
getTextAttribute()
Returns the value of the attribute
text. |
String |
getVlinkAttribute()
Returns the value of the attribute
vlink. |
boolean |
isTemporary()
Returns
true if this body is temporary (created because the body tag
has not yet been parsed). |
acceptChar, addHtmlAttributeChangeListener, appendChildIfNoneExists, checkChildHierarchy, detach, doType, doType, fireHtmlAttributeAdded, fireHtmlAttributeRemoved, fireHtmlAttributeReplaced, getCanonicalXPath, getDefaultStyleDisplay, getElementsByAttribute, getEnclosingElement, getEnclosingForm, getEnclosingFormOrDie, getHtmlElementsByTagName, getHtmlElementsByTagNames, getLangAttribute, getNodeName, getOnClickAttribute, getOnDblClickAttribute, getOneHtmlElementByAttribute, getOnKeyDownAttribute, getOnKeyPressAttribute, getOnKeyUpAttribute, getOnMouseDownAttribute, getOnMouseMoveAttribute, getOnMouseOutAttribute, getOnMouseOverAttribute, getOnMouseUpAttribute, getSrcAttributeNormalized, getTabIndex, getTextDirectionAttribute, getXmlLangAttribute, handles, hasEventHandlers, isAltPressed, isAttributeCaseSensitive, isCtrlPressed, isDisplayed, isShiftPressed, isSubmittableByEnter, removeAttribute, removeChild, removeEventHandler, removeHtmlAttributeChangeListener, setAttributeNode, setAttributeNS, setEventHandler, setEventHandler, setId, type, type, type, type, typeDoneblur, click, click, click, cloneNode, dblClick, dblClick, doClickFireChangeEvent, doClickFireClickEvent, doClickStateUpdate, fireEvent, fireEvent, focus, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getAttributesMap, getChildElementCount, getChildElements, getElementsByTagName, getElementsByTagNameNS, getEventTargetElement, getFirstElementChild, getId, getLastElementChild, getNextElementSibling, getNodeType, getPreviousElementSibling, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, hasAttributes, isEmptyXmlTagExpanded, isMouseOver, isStateUpdateFirst, mouseDown, mouseDown, mouseMove, mouseMove, mouseOut, mouseOut, mouseOver, mouseOver, mouseUp, mouseUp, namespaces, preventDefault, printOpeningTagContentAsXml, printXml, propagateClickStateUpdateToParent, removeAttributeNode, removeAttributeNS, removeFocus, rightClick, rightClick, setAttribute, setAttributeNodeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, toStringgetLocalName, getNamespaceURI, getPrefix, getQualifiedName, processImportNode, setPrefixaddCharacterDataChangeListener, addDomChangeListener, appendChild, asText, asXml, compareDocumentPosition, fireCharacterDataChanged, fireNodeAdded, fireNodeDeleted, getAncestors, getBaseURI, getByXPath, getByXPath, getChildNodes, getChildren, getDescendants, getDomElementDescendants, getEndColumnNumber, getEndLineNumber, getFeature, getFirstByXPath, getFirstByXPath, getFirstChild, getHtmlElementDescendants, getHtmlPageOrNull, getIndex, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getPage, getParentNode, getPreviousSibling, getReadyState, getScriptableObject, getStartColumnNumber, getStartLineNumber, getTextContent, getUserData, hasChildNodes, hasFeature, insertBefore, insertBefore, isAncestorOf, isAncestorOfAny, isAttachedToPage, isDefaultNamespace, isEqualNode, isSameNode, isSupported, isTrimmedText, lookupNamespaceURI, lookupPrefix, mayBeDisplayed, normalize, notifyIncorrectness, onAddedToDocumentFragment, onAddedToPage, onAllChildrenAddedToPage, printChildrenAsXml, querySelector, querySelectorAll, remove, removeAllChildren, removeCharacterDataChangeListener, removeChild, removeDomChangeListener, replace, replaceChild, setNextSibling, setNodeValue, setParentNode, setPreviousSibling, setReadyState, setScriptableObject, setTextContent, setUserDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitappendChild, 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, setUserDatapublic static final String TAG_NAME
public HtmlBody(String qualifiedName, SgmlPage page, Map<String,DomAttr> attributes, boolean temporary)
qualifiedName - the qualified name of the element type to instantiatepage - the page that contains this elementattributes - the initial attributestemporary - whether or not this body is temporary (created because the body
tag does not exist or has not yet been parsed)public final String getOnLoadAttribute()
onload. Refer to the
HTML 4.01
documentation for details on the use of this attribute.onload or an empty string if that attribute isn't definedpublic final String getOnUnloadAttribute()
onunload. Refer to the
HTML 4.01
documentation for details on the use of this attribute.onunload or an empty string if that attribute isn't definedpublic final String getBackgroundAttribute()
background. Refer to the
HTML 4.01
documentation for details on the use of this attribute.background or an empty string if that attribute isn't definedpublic final String getBgcolorAttribute()
bgcolor. Refer to the
HTML 4.01
documentation for details on the use of this attribute.bgcolor or an empty string if that attribute isn't definedpublic final String getTextAttribute()
text. Refer to the
HTML 4.01
documentation for details on the use of this attribute.text or an empty string if that attribute isn't definedpublic final String getLinkAttribute()
link. Refer to the
HTML 4.01
documentation for details on the use of this attribute.link or an empty string if that attribute isn't definedpublic final String getVlinkAttribute()
vlink. Refer to the
HTML 4.01
documentation for details on the use of this attribute.vlink or an empty string if that attribute isn't definedpublic final String getAlinkAttribute()
alink. Refer to the
HTML 4.01
documentation for details on the use of this attribute.alink or an empty string if that attribute isn't definedpublic final boolean isTemporary()
true if this body is temporary (created because the body tag
has not yet been parsed).true if this body is temporary (created because the body tag
has not yet been parsed)Copyright © 2002–2016 Gargoyle Software Inc.. All rights reserved.