WOHelperFunctionHTMLParser Class Reference

Collaboration diagram for WOHelperFunctionHTMLParser:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void parseHTML () throws WOHelperFunctionHTMLFormatException, WOHelperFunctionDeclarationFormatException, ClassNotFoundException
 WOHelperFunctionHTMLParser (WOHelperFunctionParser parserDelegate, String unparsedTemplate)

Static Public Member Functions

static void setParseStandardTags (boolean flag)

Static Public Attributes

static Logger log = Logger.getLogger(WOHelperFunctionHTMLParser.class)

Static Package Functions

 [static initializer]

Private Member Functions

String checkToken (String token)
void didParseClosingWebObjectTag () throws WOHelperFunctionDeclarationFormatException, WOHelperFunctionHTMLFormatException, ClassNotFoundException, ClassNotFoundException
void didParseComment ()
void didParseOpeningWebObjectTag () throws WOHelperFunctionHTMLFormatException
void didParseText ()
void endOfWebObjectTag (String token) throws WOHelperFunctionDeclarationFormatException, WOHelperFunctionHTMLFormatException, ClassNotFoundException
void startOfWebObjectTag (String token) throws WOHelperFunctionHTMLFormatException

Private Attributes

StringBuffer _contentText
WOHelperFunctionParser _parserDelegate
NSMutableDictionary _stackDict
String _unparsedTemplate

Static Private Attributes

static boolean _parseStandardTags = false
static final String JS_END_TAG = "</script"
static final String JS_START_TAG = "<script"
static final int STATE_INSIDE_COMMENT = 3
static final int STATE_OUTSIDE = 0
static final String WEBOBJECT_END_TAG = "</webobject"
static final String WEBOBJECT_START_TAG = "<webobject"
static final String WO_COLON_END_TAG = "</wo:"
static final String WO_COLON_START_TAG = "<wo:"
static final String WO_END_TAG = "</wo"
static final String WO_REPLACEMENT_MARKER = "__REPL__"
static final String WO_START_TAG = "<wo "


Constructor & Destructor Documentation

WOHelperFunctionHTMLParser ( WOHelperFunctionParser  parserDelegate,
String  unparsedTemplate 
)


Member Function Documentation

[static initializer] (  )  [static, package]

String checkToken ( String  token  )  [private]

Checks the current token for dynamic inline bindings

Parameters:
token 
Returns:
a rewritten token if it has an inline binding or a closing tag, if it belongs to a rewritten token

void didParseClosingWebObjectTag (  )  throws WOHelperFunctionDeclarationFormatException, WOHelperFunctionHTMLFormatException, ClassNotFoundException, ClassNotFoundException [private]

void didParseComment (  )  [private]

void didParseOpeningWebObjectTag (  )  throws WOHelperFunctionHTMLFormatException [private]

void didParseText (  )  [private]

void endOfWebObjectTag ( String  token  )  throws WOHelperFunctionDeclarationFormatException, WOHelperFunctionHTMLFormatException, ClassNotFoundException [private]

void parseHTML (  )  throws WOHelperFunctionHTMLFormatException, WOHelperFunctionDeclarationFormatException, ClassNotFoundException

static void setParseStandardTags ( boolean  flag  )  [static]

void startOfWebObjectTag ( String  token  )  throws WOHelperFunctionHTMLFormatException [private]


Member Data Documentation

StringBuffer _contentText [private]

boolean _parseStandardTags = false [static, private]

final String JS_END_TAG = "</script" [static, private]

final String JS_START_TAG = "<script" [static, private]

Logger log = Logger.getLogger(WOHelperFunctionHTMLParser.class) [static]

final int STATE_INSIDE_COMMENT = 3 [static, private]

final int STATE_OUTSIDE = 0 [static, private]

final String WEBOBJECT_END_TAG = "</webobject" [static, private]

final String WEBOBJECT_START_TAG = "<webobject" [static, private]

final String WO_COLON_END_TAG = "</wo:" [static, private]

final String WO_COLON_START_TAG = "<wo:" [static, private]

final String WO_END_TAG = "</wo" [static, private]

final String WO_REPLACEMENT_MARKER = "__REPL__" [static, private]

final String WO_START_TAG = "<wo " [static, private]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:38 2012 for Project Wonder by  doxygen 1.5.8