Jericho HTML Parser 3.0
الترجمة الالية للوصف
- مرات التنزيل: 276
- متطلبات التشغيل: Mac OS X
- الحجم: 2 MB
- الاصدار : 3.0
- اضيف في: 2009-11-04 00:00:00
- اخر تحديث: 11/04/2009
- الموقع علي الانترنت:
Jericho HTML Parser is an open source Java library allowing analysis and manipulation of parts of an HTML document, including server-side tags, while reproducing verbatim any invalid or unrecognized HTML. Jericho HTML Parser also provides high-level HTML form manipulation functions.
key features of "Jericho HTML Parser":
· آ· The presence of badly formatted HTML does not interfere with the parsing of the rest of the document, which makes the library ideal for use with "real-world" HTML that chokes other parsers.
· آ· PHP, JSP, ASP, PSP and Mason server tags are explicitly recognized by the parser. This means that normal HTML is still parsed properly even if there are server tags inside them, which is common for example when dynamically setting element attributes.
· آ· It is neither an event nor tree based parser, but rather uses a combination of simple text search, efficient tag recognition and a tag position cache. The text of the whole source document is first loaded into memory, and then only the relevant segments searched for the relevant characters of each search operation.
· آ· Compared to a tree based parser such as DOM, the memory and resource requirements can be far better if only small sections of the document need to be parsed or modified. Incorrect or badly formatted HTML can easily be ignored, unlike tree based parsers which must identify every node in the document from top to bottom.
· آ· Compared to an event based parser such as SAX, the interface is on a much higher level and more intuitive, and a tree representation of the document element hierarchy is easily created if required.
· آ· The begin and end positions in the source document of all parsed segments are accessible, allowing modification of only selected segments of the document without having to reconstruct the entire document from a tree.
· آ· The row and column number of each position in the source document are easily accessible.
· آ· Provides a simple but comprehensive interface for the analysis and manipulation of HTML form controls, including the extraction and population of initial values, and conversion to read-only or data display modes. Analysis of the form controls also allows data received from the form to be stored and presented in an appropriate manner.
· آ· Custom tag types can be easily defined and registered for recognition by the parser.
· آ· Built-in functionality to extract all text from HTML markup, suitable for feeding into a text search engine such as Apache Lucene.
· آ· Built-in functionality to render HTML markup with simple text formatting.
· آ· Built-in functionality to format HTML source code that indents elements according to their depth in the document element hierarchy.
· آ· Built-in functionality to compact HTML source code by removing all unnecessary white space.
Moshax.com only provide legal software, please help us keeping pur site legal, if you think this page is violating copyrights please let us know by clicking here Here