public class HtmlStyle extends HtmlElement
HtmlElement.ChildElementsIterator, HtmlElement.MapEntryWrappingIteratorDomNode.ChildIterator, DomNode.DescendantElementsIterator| Modifier and Type | Field and Description |
|---|---|
static String |
TAG_NAME
the HTML tag represented by this element
|
ATTRIBUTE_NOT_DEFINED, ATTRIBUTE_VALUE_EMPTY, TAB_INDEX_OUT_OF_BOUNDSATTRIBUTE_NODE, COMMENT_NODE, DOCUMENT_NODE, ELEMENT_NODE, PROPERTY_ELEMENT, READY_STATE_COMPLETE, READY_STATE_INTERACTIVE, READY_STATE_LOADED, READY_STATE_LOADING, READY_STATE_UNINITIALIZED, TEXT_NODE| Constructor and Description |
|---|
HtmlStyle(HtmlPage page,
Map attributes)
Deprecated.
You should not directly construct HtmlStyle.
|
| Modifier and Type | Method and Description |
|---|---|
String |
asText()
Returns a text representation of this element that represents what would
be visible to the user if this page was shown in a web browser.
|
String |
getLangAttribute()
Return the value of the attribute "lang".
|
String |
getMediaAttribute()
Return the value of the attribute "media".
|
String |
getTextDirectionAttribute()
Return the value of the attribute "dir".
|
String |
getTitleAttribute()
Return the value of the attribute "title".
|
String |
getTypeAttribute()
Return the value of the attribute "type".
|
String |
getXmlLangAttribute()
Return the value of the attribute "xml:lang".
|
addHtmlAttributeChangeListener, appendChildIfNoneExists, assertNotEmpty, blur, cloneDomNode, cloneNode, fireEvent, fireEvent, fireHtmlAttributeAdded, fireHtmlAttributeRemoved, fireHtmlAttributeReplaced, focus, getAttribute, getAttributeEntriesIterator, getAttributeNS, getAttributeValue, getChildElementsIterator, getEnclosingElement, getEnclosingForm, getEnclosingFormOrDie, getEventHandler, getHtmlElementById, getHtmlElementsByAttribute, getHtmlElementsByTagName, getHtmlElementsByTagNames, getId, getNodeName, getNodeType, getOneHtmlElementByAttribute, getTabIndex, getTagName, hasAttribute, hasAttributeNS, hasAttributes, hasHtmlElementWithId, isAttributeDefined, isEmptyXmlTagExpanded, isSubmittableByEnter, keyDown, keyDown, mouseDown, mouseDown, mouseMove, mouseMove, mouseOut, mouseOut, mouseOver, mouseOver, mouseUp, mouseUp, notImplemented, preventDefault, printOpeningTagContentAsXml, printXml, removeAttribute, removeAttributeNS, removeChild, removeEventHandler, removeHtmlAttributeChangeListener, rightClick, rightClick, setAttribute, setAttributeNS, setAttributeValue, setAttributeValue, setEventHandler, setEventHandler, setId, toString, type, type, type, typegetLocalName, getNamespaceURI, getPrefix, getQualifiedName, setPrefixaddDomChangeListener, addPropertyChangeListener, appendChild, appendDomChild, asXml, fireNodeAdded, fireNodeDeleted, firePropertyChange, getAllHtmlChildElements, getByXPath, getChildIterator, getChildrenAsText, getEndColumnNumber, getEndLineNumber, getFirstByXPath, getFirstChild, getFirstDomChild, getLastChild, getLastDomChild, getLog, getNativePage, getNextDomSibling, getNextSibling, getNodeValue, getPage, getParentDomNode, getParentNode, getPreviousDomSibling, getPreviousSibling, getReadyState, getScriptObject, getStartColumnNumber, getStartLineNumber, insertBefore, isAncestorOf, isRenderedVisible, isTrimmedText, notifyIncorrectness, onAddedToPage, onAllChildrenAddedToPage, printChildrenAsXml, reduceWhitespace, remove, removeAllChildren, removeDomChangeListener, removePropertyChangeListener, replace, setNextSibling, setNodeValue, setParentNode, setPreviousSibling, setReadyState, setScriptObjectpublic static final String TAG_NAME
public final String getLangAttribute()
public final String getXmlLangAttribute()
public final String getTextDirectionAttribute()
public final String getTypeAttribute()
public final String getMediaAttribute()
public final String getTitleAttribute()
public String asText()
DomNodeasText in class DomNodeHtmlInput.asText()Copyright © 2002-2012 Gargoyle Software Inc.. All Rights Reserved.