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

Quick Search    Search Deep

com.opensymphony.module.sitemesh.html.tokenizer.* (5)com.opensymphony.module.sitemesh.html.util.* (1)

com.opensymphony.module.sitemesh.html: Javadoc index of package com.opensymphony.module.sitemesh.html.


Package Samples:

com.opensymphony.module.sitemesh.html.util
com.opensymphony.module.sitemesh.html.tokenizer

Classes:

TagTokenizer: Splits a chunk of HTML into 'text' and 'tag' tokens, for easy processing. Is VERY tolerant to badly formed HTML. Usage You need to supply a custom TokenHandler that will receive callbacks as text and tags are processed. char[] input = ...; HTMLTagTokenizer tokenizer = new HTMLTagTokenizer(input); TokenHandler handler = new MyTokenHandler(); tokenizer.start(handler);
TokenHandler: Handler passed to TagTokenizer that will receive callbacks as 'tags' and 'text' are encountered.
CharArray: A leaner, meaner version of StringBuffer. It provides basic functionality to handle dynamically-growing char arrays as quickly as possible. This class is not threadsafe.
Parser: Looks for patterns of tokens in the Lexer and translates these to calls to pass to the TokenHandler.
Tag: Tag returned by HTMLTagTokenizer. Allows easy access to element name and attributes.
Text: Text returned by HTMLTagTokenizer.
HTMLProcessor
HTMLProcessorTest
BlockExtractingRule
BasicRule
TagRule
StateTransitionRule
StateChangeListener
State
HTMLProcessorContext
TagTokenizerTest
MockTokenHandler

Home | Contact Us | Privacy Policy | Terms of Service