WOHelperFunctionParser Class Reference

Collaboration diagram for WOHelperFunctionParser:

Collaboration graph
[legend]

List of all members.

Public Member Functions

NSMutableDictionary declarations ()
String declarationString ()
void didParseClosingWebObjectTag (String s, WOHelperFunctionHTMLParser htmlParser) throws WOHelperFunctionDeclarationFormatException, WOHelperFunctionHTMLFormatException, ClassNotFoundException
void didParseComment (String comment, WOHelperFunctionHTMLParser htmlParser)
void didParseOpeningWebObjectTag (String s, WOHelperFunctionHTMLParser htmlParser) throws WOHelperFunctionHTMLFormatException
void didParseText (String text, WOHelperFunctionHTMLParser htmlParser)
WOElement parse () throws WOHelperFunctionDeclarationFormatException, WOHelperFunctionHTMLFormatException, ClassNotFoundException
void setDeclarations (NSMutableDictionary value)
void setDeclarationString (String value)
 WOHelperFunctionParser (String htmlString, String declarationString, NSArray languages)

Static Public Member Functions

static WODeclaration createDeclaration (String declarationName, String declarationType, NSMutableDictionary associations)

Static Public Attributes

static boolean _debugSupport
static Logger log = Logger.getLogger(WOHelperFunctionParser.class)

Protected Member Functions

String componentName (WOHTMLWebObjectTag tag)
boolean isInline (WOHTMLWebObjectTag tag)
void parseInlineAssociation (StringBuffer keyBuffer, StringBuffer valueBuffer, NSMutableDictionary bindings) throws WOHelperFunctionHTMLFormatException
WODeclaration parseInlineBindings (String tag, int colonIndex) throws WOHelperFunctionHTMLFormatException
WOAssociation parserHelperAssociation (WOAssociation originalAssociation)
String prettyDeclaration (WODeclaration declaration)
void processDeclaration (WODeclaration declaration)

Private Member Functions

void parseDeclarations () throws WOHelperFunctionDeclarationFormatException
WOElement parseHTML () throws WOHelperFunctionHTMLFormatException, WOHelperFunctionDeclarationFormatException, ClassNotFoundException

Private Attributes

WOHTMLWebObjectTag _currentWebObjectTag
NSMutableDictionary _declarations
String _declarationString
String _HTMLString
int _inlineBindingCount
NSArray _languages

Static Private Attributes

static String WO_REPLACEMENT_MARKER = "__REPL__"


Constructor & Destructor Documentation

WOHelperFunctionParser ( String  htmlString,
String  declarationString,
NSArray  languages 
)


Member Function Documentation

String componentName ( WOHTMLWebObjectTag  tag  )  [protected]

static WODeclaration createDeclaration ( String  declarationName,
String  declarationType,
NSMutableDictionary  associations 
) [static]

NSMutableDictionary declarations (  ) 

String declarationString (  ) 

void didParseClosingWebObjectTag ( String  s,
WOHelperFunctionHTMLParser  htmlParser 
) throws WOHelperFunctionDeclarationFormatException, WOHelperFunctionHTMLFormatException, ClassNotFoundException

void didParseComment ( String  comment,
WOHelperFunctionHTMLParser  htmlParser 
)

void didParseOpeningWebObjectTag ( String  s,
WOHelperFunctionHTMLParser  htmlParser 
) throws WOHelperFunctionHTMLFormatException

void didParseText ( String  text,
WOHelperFunctionHTMLParser  htmlParser 
)

boolean isInline ( WOHTMLWebObjectTag  tag  )  [protected]

WOElement parse (  )  throws WOHelperFunctionDeclarationFormatException, WOHelperFunctionHTMLFormatException, ClassNotFoundException

void parseDeclarations (  )  throws WOHelperFunctionDeclarationFormatException [private]

WOElement parseHTML (  )  throws WOHelperFunctionHTMLFormatException, WOHelperFunctionDeclarationFormatException, ClassNotFoundException [private]

void parseInlineAssociation ( StringBuffer  keyBuffer,
StringBuffer  valueBuffer,
NSMutableDictionary  bindings 
) throws WOHelperFunctionHTMLFormatException [protected]

WODeclaration parseInlineBindings ( String  tag,
int  colonIndex 
) throws WOHelperFunctionHTMLFormatException [protected]

WOAssociation parserHelperAssociation ( WOAssociation  originalAssociation  )  [protected]

String prettyDeclaration ( WODeclaration  declaration  )  [protected]

void processDeclaration ( WODeclaration  declaration  )  [protected]

void setDeclarations ( NSMutableDictionary  value  ) 

void setDeclarationString ( String  value  ) 


Member Data Documentation

boolean _debugSupport [static]

String _HTMLString [private]

int _inlineBindingCount [private]

NSArray _languages [private]

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

String WO_REPLACEMENT_MARKER = "__REPL__" [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