Package net.htmlparser.jericho
Jericho HTML Parser 3.3
A java library allowing analysis and manipulation of parts of an HTML document, including server-side tags, while reproducing verbatim any unrecognised or invalid HTML. Also provides high-level HTML form manipulation functions.
For an introduction to the API, the documentation of the Source
class is the best place to start.
For a summary of features and sample applications, visit the homepage at http://jerichohtml.sourceforge.net
For downloads, support and updates visit the SourceForge.net project page at http://sourceforge.net/projects/jerichohtml/
The Jericho HTML Parser is an open source library released under both the Eclipse Public License (EPL) and GNU Lesser General Public License (LGPL). You are therefore free to use it in commercial applications subject to the terms detailed in either one of these licence documents.
-
ClassDescriptionProvides basic formatting for log messages.Represents an HTML Character Entity Reference.Represents an HTML Character Reference, implemented by the subclasses
CharacterEntityReference
andNumericCharacterReference
.Represents a character stream source.Contains static utility methods for manipulating the way data is retrieved from aCharStreamSource
object.Encapsulates global configuration properties which determine the behaviour of various functions.Represents a set of configuration parameters that relate to user agent compatibility issues.Defines the syntax for an end tag type.Provides a generic implementation of the abstractEndTagType
class based on the most common end tag behaviour.Represents an HTML form control.An enumerated type representing the three major output styles of a form control's output element.Contains static properties that configure theFormControlOutputStyle.DISPLAY_VALUE
form control output style.Represents the control type of aFormControl
.Represents a field in an HTML form, a field being defined as the group of all form controls having the same name.Represents a collection ofFormField
objects.Contains static fields representing the names of all elements defined in the HTML 4.01 specification and the draft HTML 5 specification.Contains static methods which group HTML element names by the characteristics of their associated elements.Defines the interface for handling log messages.Contains tag types representing Microsoft® conditional comments.Deprecated.Represents an HTML Numeric Character Reference.Defines the interface for an output segment, which is used in anOutputDocument
to replace segments of the source document with other text.Represents the text from the source document that is to be parsed.Performs a simple rendering of HTML markup into text.Represents the row and column number of a character position in the source document.Represents a segment of aSource
document.Represents a source HTML document.Compacts HTML source by removing all unnecessary white space.Formats HTML source by laying out each non-inline-level element on a new line with an appropriate indent.Defines the syntax for a start tag type.Provides a generic implementation of the abstractStartTagType
class based on the most common start tag behaviour.Represents a streamed source HTML document.Defines the syntax for a tag type that can be recognised by the parser.Extracts the textual content from HTML markup.Contains miscellaneous utility methods not directly associated with the HTML Parser library.Provides an implementation of theLogger
interface that sends output to the specifiedjava.io.Writer
.
MicrosoftConditionalCommentTagTypes
instead.