| com.ivata.mask.web.theme.parser.ThemeParser
ThemeParser | public class ThemeParser extends antlr.LLkParser implements ThemeParserTokenTypes(Code) | | This is ivata's theme parser, automatically generated by
antlr. This theme parser applies
simple property values to HTML texts, to customize the appearance of theme
sections.
$Log: ThemeParser.java,v $
Revision 1.9 2005/10/12 18:35:57 colinmacleod
Standardized format of Logger declaration - to make it easier to find instances
which are not both static and final.
Revision 1.8 2005/10/03 10:17:26 colinmacleod
Fixed some style and javadoc issues.
Revision 1.5 2005/04/12 11:07:40 colinmacleod
Added logger to improve error
handling.
Checked for empty strings when
converting numbers in lexer.
Revision 1.4 2005/04/11 12:11:59 colinmacleod
Fixed comment (removed HTML style start and
end to comment).
Revision 1.3 2005/04/09 18:04:22 colinmacleod
Changed copyright text to GPL v2 explicitly.
Revision 1.2 2005/01/19 13:07:19 colinmacleod
Updated comment format to include version in since line.
Revision 1.1 2005/01/06 22:03:49 colinmacleod
Moved up a version number.
Changed copyright notices to 2005.
Updated the documentation:
- started working on multiproject:site docu.
- changed the logo.
Added checkstyle and fixed LOADS of style issues.
Added separate thirdparty subproject.
Added struts (in web), util and webgui (in webtheme) from ivata op.
Revision 1.3 2004/11/03 16:16:45 colinmacleod
Removed System.out.print("TEST")
Revision 1.2 2004/03/21 21:16:38 colinmacleod
Shortened name to ivata op.
Revision 1.1.1.1 2004/01/27 20:59:53 colinmacleod
Moved ivata op to SourceForge.
Revision 1.2 2003/10/15 14:13:40 colin
fixinf for XDoclet
Revision 1.3 2003/02/28 15:29:50 colin
made CONDITIONAL_CONTENT optional to fix bug in tabs
Revision 1.2 2003/02/28 13:59:25 colin
updated to fix bug with some characters in CONDITIONAL_CONTENT
implemented ATTRIBUTE_VALUE
Revision 1.1 2003/02/24 19:33:33 colin
Moved to new subproject.
since: ivata masks 0.4 (2001-06-29) author: Colin MacLeod author: colin.macleod@ivata.com version: $Revision: 1.9 $ See Also: com.ivata.mask.web.theme |
_tokenSet_0 | final public static BitSet _tokenSet_0(Code) | | |
_tokenSet_1 | final public static BitSet _tokenSet_1(Code) | | |
ThemeParser | protected ThemeParser(TokenBuffer tokenBuf, int k)(Code) | | |
ThemeParser | public ThemeParser(TokenBuffer tokenBuf)(Code) | | |
ThemeParser | protected ThemeParser(TokenStream lexer, int k)(Code) | | |
ThemeParser | public ThemeParser(TokenStream lexer)(Code) | | |
ThemeParser | public ThemeParser(ParserSharedInputState state)(Code) | | |
attribute | final public void attribute() throws RecognitionException, TokenStreamException(Code) | | |
condition | final public void condition() throws RecognitionException, TokenStreamException(Code) | | |
document | final public void document() throws RecognitionException, TokenStreamException(Code) | | |
main | public static void main(String[] args)(Code) | | This main routine can be used to text the parser. It uses
a dummy properties object with one property, "test" set to
"myest". The string taken from standard in is parsed and
output.
Parameters: args - this parameter is reserved for future use. |
math | final public void math() throws RecognitionException, TokenStreamException(Code) | | |
parse | public static String parse(String parseString, Properties properties, String name) throws TokenStreamException, RecognitionException(Code) | | Parse the given string using the properties provided.
Parameters: parseString - the string containing PROPERTY, ATTRIBUTE andIFPROPERTY tokens to parse. Parameters: properties - all values of properties to be replaced in theparseString . Parameters: name - the name of the html section for error messages. exception: TokenStreamException - thrown by the lexer. exception: RecognitionException - thrown by the parser. |
property | final public void property() throws RecognitionException, TokenStreamException(Code) | | |
|
|