Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.swing.text.html.parser: Javadoc index of package javax.swing.text.html.parser.


Package Samples:

javax.swing.text.html.parser

Classes:

DocumentParser: A simple error-tolerant HTML parser that uses a DTD document to access data on the possible tokens, arguments and syntax. The parser reads an HTML content from a Reader and calls various notifying methods (which should be overridden in a subclass) when tags or data are encountered. Some HTML elements need no opening or closing tags. The task of this parser is to invoke the tag handling methods also when the tags are not explicitly specified and must be supposed using information, stored in the DTD. For example, parsing the document <table><tr><td>a<td>b<td>c</tr> ...
DTD: Representation or the SGML DTD document. Provides basis for describing a syntax of the HTML documents. The fields of this class are NOT initialized in constructor. You need to do this separately before passing this data structure to the HTML parser. The subclasses with the fields, pre- initialized, for example, for HTML 4.01, can be available only between the implementation specific classes ( for example, gnu.javax.swing.text.html.parser.HTML_401F in this implementation). If you need more information about SGML DTD documents, the author suggests to read SGML tutorial on http://www.w3.org/TR/WD-html40-970708/intro/sgmltut.html ...
Parser: A simple error-tolerant HTML parser that uses a DTD document to access data on the possible tokens, arguments and syntax. The parser reads an HTML content from a Reader and calls various notifying methods (which should be overridden in a subclass) when tags or data are encountered. Some HTML elements need no opening or closing tags. The task of this parser is to invoke the tag handling methods also when the tags are not explicitly specified and must be supposed using information, stored in the DTD. For example, parsing the document <table><tr><td>a<td>b<td>c</tr> ...
ContentModel: A representation of the element content. The instances of this class can be arranged into the linked list, representing a BNF expression. The content model is constructed as a branched tree structure in the following way: a = new ContentModel('+', A, null); // a reprensents A+ b = new ContentModel('&', B, a); // b represents B & A+ c = new ContentModel('*', b, null); // c represents ( B & A+) * d = new ContentModel('|', new ContentModel('*', A, null), new ContentModel('?', B, null)); // d represents ( A* | B? ) where the valid operations are: E* E occurs zero or more times E+ E occurs ...
AttributeList: Stores the attribute information, obtained by parsing SGML (DTD) tag <!ATTLIST .. > Elements can have a associated named properties (attributes) having the assigned values. The element start tag can have any number of attribute value pairs, separated by spaces. They can appear in any order. SGML requires you to delimit the attribute values using either double (") or single (') quotation marks. In HTML, it is possible (but not recommended) to specify the value of an attribute without quotation marks. Such attribute value may only contain letters, digits, hyphens (-) and periods (.) . The AttributeList ...
DTDConstants: This class defines the SGML basic types, used for describing HTML 4.01 at http://www.w3.org/TR/html4/types.html . Not all constants, defined here, are actually used in HTML 4.01 SGML specification. Some others are defined just as part of the required implementation. If you need more information about SGML DTD documents, the author suggests to read SGML tutorial on http://www.w3.org/TR/WD-html40-970708/intro/sgmltut.html . We also recommend Goldfarb C.F (1991) The SGML Handbook , Oxford University Press, 688 p, ISBN: 0198537379.
Element: Stores the element information, obtained by parsing SGML DTD tag <!ELEMENT .. > . This class has no public constructor and can only be instantiated using the DTD methods SGML defines elements that represent structures or behavior. An element typically consists of a start tag, content, and an end tag. Hence the elements are not tags. The HTML 4.0 definition specifies that some elements are not required to have the end tags. Also, some HTML elements (like <hr> ) have no content. Element names are case sensitive.
Entity: Stores information, obtained by parsing SGML DTL <!ENTITY % .. > tag. The entity defines some kind of macro that can be used elsewhere in the document. When the macro is referred to by the name in the DTD, it is expanded into a string
ParserDelegator: This class instantiates and starts the working instance of html parser, being responsible for providing the default DTD. TODO Later this class must be derived from the totally abstract class HTMLEditorKit.Parser. HTMLEditorKit that does not yet exist.
TagElement: The SGML element, defining a single html tag.

Home | Contact Us | Privacy Policy | Terms of Service