Generated by
JDiff

Class javax.swing.text.html.HTMLDocument

Documentation changed from old to new.

Changed Constructors
HTMLDocument(StyleSheet) Documentation changed from old to new.
Constructs an HTML document with the default content storage implementation and the specified style/attribute storage mechanism.
HTMLDocument(void) Documentation changed from old to new.
Constructs an HTML document using the default buffer size and a default StyleSheet.
 

Changed Methods
void create(ElementSpec[]) Documentation changed from old to new.
Replaces the contents of the document with the given element specifications.
URL getBase() Documentation changed from old to new.
Returns the location to resolve relative URLs against.
Iterator getIterator(Tag) Documentation changed from old to new.
Fetches an iterator for the specified HTML tag.
Parser getParser() Documentation changed from old to new.
Returns the parser that is used when inserting HTML into the existing document.
boolean getPreservesUnknownTags() Documentation changed from old to new.
Returns the behavior the parser observes when encountering unknown tags.
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 insertAfterEnd(Element, String) Documentation changed from old to new.
Inserts the HTML specified as a string after the the end of the given element.
void insertAfterStart(Element, String) Documentation changed from old to new.
Inserts the HTML specified as a string at the start of the element.
void insertBeforeEnd(Element, String) Documentation changed from old to new.
Inserts the HTML specified as a string at the end of the element.
void insertBeforeStart(Element, String) Documentation changed from old to new.
Inserts the HTML specified as a string before the start of the given element.
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 setInnerHTML(Element, String) Documentation changed from old to new.
Replaces the children of the given element with the contents specified as an HTML string.
void setOuterHTML(Element, String) Documentation changed from old to new.
Replaces the given element in the parent with the contents specified as an HTML string.
void setParser(Parser) Documentation changed from old to new.
Sets the parser that is used by the methods that insert html into the existing document such as setInnerHTML and setOuterHTML.
void setPreservesUnknownTags(boolean) Documentation changed from old to new.
Determines how unknown tags are handled by the parser.
void setTokenThreshold(int) Documentation changed from old to new.
Sets the number of tokens to buffer before trying to update the documents element structure.
Element getElement(String) Documentation changed from old to new.
Returns the element that has the given id Attribute.
Element getElement(Element, Object, Object) Documentation changed from old to new.
Returns the child element of e that contains the attribute attribute with value value or null if one isn't found.
ParserCallback getReader(int) Documentation changed from old to new.
Fetches the reader for the parser to use when loading the document with HTML.
ParserCallback getReader(int, int, int, Tag) Documentation changed from old to new.
Returns the reader for the parser to use to load the document with HTML.