Deprecated API


Contents
Deprecated Classes
com.gargoylesoftware.htmlunit.html.FocusableElement
          As of 1.14, please use ClickableElement instead. 
com.gargoylesoftware.htmlunit.html.HtmlElement.MapEntryWrappingIterator
          This class is no longer used since attributes are now represented by HtmlAttr. 
 

Deprecated Fields
com.gargoylesoftware.htmlunit.html.DomNode.ATTRIBUTE_NODE
          use Node.ATTRIBUTE_NODE instead. 
com.gargoylesoftware.htmlunit.html.DomNode.COMMENT_NODE
          use Node.COMMENT_NODE instead. 
com.gargoylesoftware.htmlunit.html.DomNode.DOCUMENT_NODE
          use Node.DOCUMENT_NODE instead. 
com.gargoylesoftware.htmlunit.html.DomNode.ELEMENT_NODE
          use Node.ELEMENT_NODE instead. 
com.gargoylesoftware.htmlunit.BrowserVersion.FULL_FEATURED_BROWSER
          please use INTERNET_EXPLORER_7_0 
com.gargoylesoftware.htmlunit.BrowserVersion.MOZILLA_1_0
          please use FIREFOX_2 
com.gargoylesoftware.htmlunit.BrowserVersion.NETSCAPE_4_7_9
          please use FIREFOX_2 
com.gargoylesoftware.htmlunit.BrowserVersion.NETSCAPE_6_2_3
          please use FIREFOX_2 
com.gargoylesoftware.htmlunit.html.DomNode.TEXT_NODE
          use Node.TEXT_NODE instead. 
 

Deprecated Methods
com.gargoylesoftware.htmlunit.html.DomNode.addPropertyChangeListener(PropertyChangeListener)
          Not used 
com.gargoylesoftware.htmlunit.html.DomNode.appendChild(DomNode)
          This method conflicts with the W3C DOM API since the return values are different. Use appendDomChild instead. 
com.gargoylesoftware.htmlunit.html.HtmlPage.assertAllAccessKeyAttributesUnique()
            
com.gargoylesoftware.htmlunit.html.HtmlPage.assertAllIdAttributesUnique()
            
com.gargoylesoftware.htmlunit.html.HtmlPage.assertAllTabIndexAttributesSet()
            
com.gargoylesoftware.htmlunit.WebClient.assertionFailed(String)
            
com.gargoylesoftware.htmlunit.html.HtmlElement.cloneNode(boolean)
          This method conflicts with the W3C DOM API since the return values are different. Use HtmlElement.cloneDomNode(boolean) instead. 
com.gargoylesoftware.htmlunit.html.DomNode.cloneNode(boolean)
          This method conflicts with the W3C DOM API since the return values are different. Use cloneDomNode instead. 
com.gargoylesoftware.htmlunit.html.HtmlPage.cloneNode(boolean)
            
com.gargoylesoftware.htmlunit.html.HtmlPage.createElement(String)
          This method conflicts with the W3C DOM API since the return values are different. Use createHtmlElement instead. 
com.gargoylesoftware.htmlunit.html.HtmlPage.createElementNS(String, String)
          This method conflicts with the W3C DOM API since the return values are different. Use createHtmlElementNS instead. 
com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(String, String, HtmlElement)
          use HtmlPage.executeJavaScript(String) instead 
com.gargoylesoftware.htmlunit.html.HtmlForm.fakeCheckedRadioButton(String, String)
          after 1.11 
com.gargoylesoftware.htmlunit.html.HtmlSelect.fakeSelectedAttribute(String)
            
com.gargoylesoftware.htmlunit.html.HtmlSelect.fakeSelectedAttribute(String[])
            
com.gargoylesoftware.htmlunit.html.DomNode.firePropertyChange(String, Object, Object)
          Not used 
com.gargoylesoftware.htmlunit.html.HtmlPage.getDocumentElement()
          This method conflicts with the W3C DOM API since the return values are different. Use getDocumentHtmlElement instead. 
com.gargoylesoftware.htmlunit.html.DomNode.getFirstChild()
          This method conflicts with the W3C DOM API since the return values are different. Use getFirstDomChild instead. 
com.gargoylesoftware.htmlunit.html.HtmlAttr.getKey()
          The implements Map.Entry is deprecated. Use HtmlAttr.getName() instead. 
com.gargoylesoftware.htmlunit.html.DomNode.getLastChild()
          This method conflicts with the W3C DOM API since the return values are different. Use getLastDomChild instead. 
com.gargoylesoftware.htmlunit.html.DomNode.getNextSibling()
          This method conflicts with the W3C DOM API since the return values are different. Use getNextDomSibling instead. 
com.gargoylesoftware.htmlunit.html.DomNode.getParentNode()
          This method conflicts with the W3C DOM API since the return values are different. Use getParentDomNode instead. 
com.gargoylesoftware.htmlunit.html.DomNode.getPreviousSibling()
          This method conflicts with the W3C DOM API since the return values are different. Use getPreviousDomSibling instead. 
com.gargoylesoftware.htmlunit.html.HtmlForm.getRadioButtonInput(String, String)
          Deprecated because 'name' and 'value' are sometimes not unique to select a single HtmlRadioButtonInput, it should not be called, you can use DomNode.getByXPath(String) instead. 
com.gargoylesoftware.htmlunit.html.HtmlAttr.getValue()
          This method conflicts with the W3C DOM API since the return values are different. Use HtmlAttr.getHtmlValue() instead. 
com.gargoylesoftware.htmlunit.html.HtmlElement.keyDown(int)
          use HtmlElement.type(char) instead 
com.gargoylesoftware.htmlunit.html.HtmlElement.keyDown(int, boolean, boolean, boolean)
          use HtmlElement.type(char, boolean, boolean, boolean) instead 
com.gargoylesoftware.htmlunit.html.DomNode.removePropertyChangeListener(PropertyChangeListener)
          Not used 
com.gargoylesoftware.htmlunit.html.HtmlForm.setCheckedRadioButton(String, String)
          Deprecated because 'name' and 'value' are sometimes not unique to select a single HtmlRadioButtonInput, it should not be called, you can use DomNode.getByXPath(String) instead. 
com.gargoylesoftware.htmlunit.WebRequestSettings.setCookiePolicy(String)
            
com.gargoylesoftware.htmlunit.html.HtmlAttr.setValue(Object)
          This method conflicts with the W3C DOM API since the return values are different. Use HtmlAttr.setHtmlValue(Object) instead. 
com.gargoylesoftware.htmlunit.html.DomCData.splitText(int)
          This method conflicts with the W3C DOM API since the return values are different. Use splitDomText instead. 
com.gargoylesoftware.htmlunit.html.DomText.splitText(int)
          This method conflicts with the W3C DOM API since the return values are different. Use splitDomText instead. 
com.gargoylesoftware.htmlunit.html.HtmlForm.submit()
          after 1.11, click on a specific SubmittableElement instead. 
com.gargoylesoftware.htmlunit.html.HtmlForm.submit(String)
          after 1.11, click on the specific SubmittableElement instead. 
 

Deprecated Constructors
com.gargoylesoftware.htmlunit.html.DomNode()
            
com.gargoylesoftware.htmlunit.html.HtmlAddress(HtmlPage, Map)
          You should not directly construct HtmlAddress. 
com.gargoylesoftware.htmlunit.html.HtmlAnchor(HtmlPage, Map)
          You should not directly construct HtmlAnchor. 
com.gargoylesoftware.htmlunit.html.HtmlApplet(HtmlPage, Map)
          You should not directly construct HtmlApplet. 
com.gargoylesoftware.htmlunit.html.HtmlArea(HtmlPage, Map)
          You should not directly construct HtmlArea. 
com.gargoylesoftware.htmlunit.html.HtmlAttr(HtmlElement, Map.Entry)
          Use constructor with explicit names. 
com.gargoylesoftware.htmlunit.html.HtmlBase(HtmlPage, Map)
          You should not directly construct HtmlBase. 
com.gargoylesoftware.htmlunit.html.HtmlBaseFont(HtmlPage, Map)
          You should not directly construct HtmlBaseFont. 
com.gargoylesoftware.htmlunit.html.HtmlBidirectionalOverride(HtmlPage, Map)
          You should not directly construct HtmlBidirectionalOverride. 
com.gargoylesoftware.htmlunit.html.HtmlBlockQuote(HtmlPage, Map)
          You should not directly construct HtmlBlockQuote. 
com.gargoylesoftware.htmlunit.html.HtmlBody(HtmlPage, Map)
          You should not directly construct HtmlBody. 
com.gargoylesoftware.htmlunit.html.HtmlBreak(HtmlPage, Map)
          You should not directly construct HtmlBreak. 
com.gargoylesoftware.htmlunit.html.HtmlButton(HtmlPage, Map)
          You should not directly construct HtmlButton. 
com.gargoylesoftware.htmlunit.html.HtmlButtonInput(HtmlPage, Map)
          You should not directly construct HtmlButtonInput. 
com.gargoylesoftware.htmlunit.html.HtmlCaption(HtmlPage, Map)
          You should not directly construct HtmlCaption. 
com.gargoylesoftware.htmlunit.html.HtmlCenter(HtmlPage, Map)
          You should not directly construct HtmlCenter. 
com.gargoylesoftware.htmlunit.html.HtmlCheckBoxInput(HtmlPage, Map)
          You should not directly construct HtmlCheckBoxInput. 
com.gargoylesoftware.htmlunit.html.HtmlDefinitionDescription(HtmlPage, Map)
          You should not directly construct HtmlDefinitionDescription. 
com.gargoylesoftware.htmlunit.html.HtmlDefinitionList(HtmlPage, Map)
          You should not directly construct HtmlDefinitionList. 
com.gargoylesoftware.htmlunit.html.HtmlDefinitionTerm(HtmlPage, Map)
          You should not directly construct HtmlDefinitionTerm. 
com.gargoylesoftware.htmlunit.html.HtmlDeletedText(HtmlPage, Map)
          You should not directly construct HtmlDeletedText. 
com.gargoylesoftware.htmlunit.html.HtmlDivision(HtmlPage, Map)
          You should not directly construct HtmlDivision. 
com.gargoylesoftware.htmlunit.html.HtmlFieldSet(HtmlPage, Map)
          You should not directly construct HtmlFieldSet. 
com.gargoylesoftware.htmlunit.html.HtmlFileInput(HtmlPage, Map)
          You should not directly construct HtmlFileInput. 
com.gargoylesoftware.htmlunit.html.HtmlFont(HtmlPage, Map)
          You should not directly construct HtmlFont. 
com.gargoylesoftware.htmlunit.html.HtmlForm(HtmlPage, Map)
          You should not directly construct HtmlForm. 
com.gargoylesoftware.htmlunit.html.HtmlFrame(HtmlPage, Map)
          You should not directly construct HtmlFrame. 
com.gargoylesoftware.htmlunit.html.HtmlFrameSet(HtmlPage, Map)
          You should not directly construct HtmlFrameSet. 
com.gargoylesoftware.htmlunit.html.HtmlHead(HtmlPage, Map)
          You should not directly construct HtmlHead. 
com.gargoylesoftware.htmlunit.html.HtmlHeader1(HtmlPage, Map)
          You should not directly construct HtmlHeader1. 
com.gargoylesoftware.htmlunit.html.HtmlHeader2(HtmlPage, Map)
          You should not directly construct HtmlHeader2. 
com.gargoylesoftware.htmlunit.html.HtmlHeader3(HtmlPage, Map)
          You should not directly construct HtmlHeader3. 
com.gargoylesoftware.htmlunit.html.HtmlHeader4(HtmlPage, Map)
          You should not directly construct HtmlHeader4. 
com.gargoylesoftware.htmlunit.html.HtmlHeader5(HtmlPage, Map)
          You should not directly construct HtmlHeader5. 
com.gargoylesoftware.htmlunit.html.HtmlHeader6(HtmlPage, Map)
          You should not directly construct HtmlHeader6. 
com.gargoylesoftware.htmlunit.html.HtmlHiddenInput(HtmlPage, Map)
          You should not directly construct HtmlHiddenInput. 
com.gargoylesoftware.htmlunit.html.HtmlHorizontalRule(HtmlPage, Map)
          You should not directly construct HtmlHorizontalRule. 
com.gargoylesoftware.htmlunit.html.HtmlHtml(HtmlPage, Map)
          You should not directly construct HtmlHtml. 
com.gargoylesoftware.htmlunit.html.HtmlImage(HtmlPage, Map)
          You should not directly construct HtmlImage. 
com.gargoylesoftware.htmlunit.html.HtmlImageInput(HtmlPage, Map)
          You should not directly construct HtmlImageInput. 
com.gargoylesoftware.htmlunit.html.HtmlInlineFrame(HtmlPage, Map)
          You should not directly construct HtmlInlineFrame. 
com.gargoylesoftware.htmlunit.html.HtmlInlineQuotation(HtmlPage, Map)
          You should not directly construct HtmlInlineQuotation. 
com.gargoylesoftware.htmlunit.html.HtmlInsertedText(HtmlPage, Map)
          You should not directly construct HtmlInsertedText. 
com.gargoylesoftware.htmlunit.html.HtmlIsIndex(HtmlPage, Map)
          You should not directly construct HtmlIsIndex. 
com.gargoylesoftware.htmlunit.html.HtmlLabel(HtmlPage, Map)
          You should not directly construct HtmlLabel. 
com.gargoylesoftware.htmlunit.html.HtmlLegend(HtmlPage, Map)
          You should not directly construct HtmlLegend. 
com.gargoylesoftware.htmlunit.html.HtmlLink(HtmlPage, Map)
          You should not directly construct HtmlLink. 
com.gargoylesoftware.htmlunit.html.HtmlListItem(HtmlPage, Map)
          You should not directly construct HtmlListItem. 
com.gargoylesoftware.htmlunit.html.HtmlMap(HtmlPage, Map)
          You should not directly construct HtmlMap. 
com.gargoylesoftware.htmlunit.html.HtmlMenu(HtmlPage, Map)
          You should not directly construct HtmlMenu. 
com.gargoylesoftware.htmlunit.html.HtmlMeta(HtmlPage, Map)
          You should not directly construct HtmlMeta. 
com.gargoylesoftware.htmlunit.html.HtmlNoFrames(HtmlPage, Map)
          You should not directly construct HtmlNoFrames. 
com.gargoylesoftware.htmlunit.html.HtmlNoScript(HtmlPage, Map)
          You should not directly construct HtmlNoScript. 
com.gargoylesoftware.htmlunit.html.HtmlObject(HtmlPage, Map)
          You should not directly construct HtmlObject. 
com.gargoylesoftware.htmlunit.html.HtmlOption(HtmlPage, Map)
          You should not directly construct HtmlOption. 
com.gargoylesoftware.htmlunit.html.HtmlOptionGroup(HtmlPage, Map)
          You should not directly construct HtmlOptionGroup. 
com.gargoylesoftware.htmlunit.html.HtmlOrderedList(HtmlPage, Map)
          You should not directly construct HtmlOrderedList. 
com.gargoylesoftware.htmlunit.html.HtmlParagraph(HtmlPage, Map)
          You should not directly construct HtmlParagraph. 
com.gargoylesoftware.htmlunit.html.HtmlParameter(HtmlPage, Map)
          You should not directly construct HtmlParameter. 
com.gargoylesoftware.htmlunit.html.HtmlPasswordInput(HtmlPage, Map)
          You should not directly construct HtmlPasswordInput. 
com.gargoylesoftware.htmlunit.html.HtmlPreformattedText(HtmlPage, Map)
          You should not directly construct HtmlPreformattedText. 
com.gargoylesoftware.htmlunit.html.HtmlRadioButtonInput(HtmlPage, Map)
          You should not directly construct HtmlRadioButtonInput. 
com.gargoylesoftware.htmlunit.html.HtmlResetInput(HtmlPage, Map)
          You should not directly construct HtmlResetInput. 
com.gargoylesoftware.htmlunit.html.HtmlScript(HtmlPage, Map)
          You should not directly construct HtmlScript. 
com.gargoylesoftware.htmlunit.html.HtmlSelect(HtmlPage, Map)
          You should not directly construct HtmlSelect. 
com.gargoylesoftware.htmlunit.html.HtmlSpan(HtmlPage, Map)
          You should not directly construct HtmlSpan. 
com.gargoylesoftware.htmlunit.html.HtmlStyle(HtmlPage, Map)
          You should not directly construct HtmlStyle. 
com.gargoylesoftware.htmlunit.html.HtmlSubmitInput(HtmlPage, Map)
          You should not directly construct HtmlSubmitInput. 
com.gargoylesoftware.htmlunit.html.HtmlTable(HtmlPage, Map)
          You should not directly construct HtmlTable. 
com.gargoylesoftware.htmlunit.html.HtmlTableBody(HtmlPage, Map)
          You should not directly construct HtmlTableBody. 
com.gargoylesoftware.htmlunit.html.HtmlTableColumn(HtmlPage, Map)
          You should not directly construct HtmlTableColumn. 
com.gargoylesoftware.htmlunit.html.HtmlTableColumnGroup(HtmlPage, Map)
          You should not directly construct HtmlTableColumnGroup. 
com.gargoylesoftware.htmlunit.html.HtmlTableDataCell(HtmlPage, Map)
          You should not directly construct HtmlTableDataCell. 
com.gargoylesoftware.htmlunit.html.HtmlTableFooter(HtmlPage, Map)
          You should not directly construct HtmlTableFooter. 
com.gargoylesoftware.htmlunit.html.HtmlTableHeader(HtmlPage, Map)
          You should not directly construct HtmlTableHeader. 
com.gargoylesoftware.htmlunit.html.HtmlTableHeaderCell(HtmlPage, Map)
          You should not directly construct HtmlTableHeaderCell. 
com.gargoylesoftware.htmlunit.html.HtmlTableRow(HtmlPage, Map)
          You should not directly construct HtmlTableRow. 
com.gargoylesoftware.htmlunit.html.HtmlTextArea(HtmlPage, Map)
          You should not directly construct HtmlTextArea. 
com.gargoylesoftware.htmlunit.html.HtmlTextDirection(HtmlPage, Map)
          You should not directly construct HtmlTextDirection. 
com.gargoylesoftware.htmlunit.html.HtmlTextInput(HtmlPage, Map)
          You should not directly construct HtmlTextInput. 
com.gargoylesoftware.htmlunit.html.HtmlTitle(HtmlPage, Map)
          You should not directly construct HtmlTitle. 
com.gargoylesoftware.htmlunit.html.HtmlUnorderedList(HtmlPage, Map)
          You should not directly construct HtmlUnorderedList. 
com.gargoylesoftware.htmlunit.WebWindowImpl()
            
com.gargoylesoftware.htmlunit.xml.XmlAttr(XmlElement, Map.Entry)
          Use constructor with explicit names. 
 



Copyright © 2002-2010 Gargoyle Software Inc.. All Rights Reserved.