Added Methods |
Element getElement(String )
|
Fetches the element that has the given id attribute. |
Element getElement(Element, Object, Object)
|
Returns the child element of e that contains the attribute attribute with value value or null if one isn't found. |
Parser getParser()
|
Returns the parser that is used when inserting HTML into the existing document. |
void insertAfterEnd(Element, String)
|
Inserts the HTML specified as a string after the the end of the given element. |
void insertAfterStart(Element, String)
|
Inserts the HTML specified as a string at the start of the element. |
void insertBeforeEnd(Element, String)
|
Inserts the HTML specified as a string at the end of the element. |
void insertBeforeStart(Element, String)
|
Inserts the HTML specified as string before the start of the given element. |
void setInnerHTML(Element, String)
|
Replaces the children of the given element with the contents specified as an HTML string. |
void setOuterHTML(Element, String)
|
Replaces the given element in the parent with the contents specified as an HTML string. |
void setParser(Parser )
|
Sets the parser that is used by the methods that insert html into the existing document eg setInnerHTML setOuterHTML ... |
Changed Methods |
Element createLeafElement(Element, AttributeSet, int, int)
|
Documentation changed from old to new. |
Creates a document leaf element that directly represents text (doesn't have any children). |
URL getBase()
|
Documentation changed from old to new. |
Gets the location to resolve relative URLs against. |
Iterator getIterator(Tag )
|
Documentation changed from old to new. |
Fetches an iterator for the following kind of HTML tag. |
StyleSheet getStyleSheet()
|
Documentation changed from old to new. |
Fetches the StyleSheet with the document-specific display rules (CSS) that were specified in the HTML document itself. |
int getTokenThreshold()
|
Documentation changed from old to new. |
Gets the number of tokens to buffer before trying to update the documents element structure. |
void insert(int, ElementSpec[])
|
Documentation changed from old to new. |
Inserts new elements in bulk. |
void processHTMLFrameHyperlinkEvent(HTMLFrameHyperlinkEvent )
|
Documentation changed from old to new. |
Processes HyperlinkEvents that are generated by documents in an HTML frame. |
void setBase(URL )
|
Documentation changed from old to new. |
Sets the location to resolve relative URLs against. |
void setParagraphAttributes(int, int, AttributeSet, boolean)
|
Documentation changed from old to new. |
Sets attributes for a paragraph. |
void setTokenThreshold(int )
|
Documentation changed from old to new. |
Sets the number of tokens to buffer before trying to update the documents element structure. |
ParserCallback getReader(int )
|
Documentation changed from old to new. |
Fetches the reader for the parser to use to load the document with HTML. |
ParserCallback getReader(int, int, int, Tag)
|
Documentation changed from old to new. |
Fetches the reader for the parser to use to load the document with HTML. |