Java Doc for ParserEventSupport.java in  » Database-ORM » toplink » persistence » antlr » debug » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database ORM » toplink » persistence.antlr.debug 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   persistence.antlr.debug.ParserEventSupport

ParserEventSupport
public class ParserEventSupport (Code)
A class to assist in firing parser events NOTE: I intentionally _did_not_ synchronize the event firing and add/remove listener methods. This is because the add/remove should _only_ be called by the parser at its start/end, and the _same_thread_ should be performing the parsing. This should help performance a tad...


Field Summary
final protected static  intCONSUME
    
final protected static  intDONE_PARSING
    
final protected static  intENTER_RULE
    
final protected static  intEXIT_RULE
    
final protected static  intLA
    
final protected static  intMATCH
    
final protected static  intMATCH_NOT
    
final protected static  intMISMATCH
    
final protected static  intMISMATCH_NOT
    
final protected static  intNEW_LINE
    
final protected static  intREPORT_ERROR
    
final protected static  intREPORT_WARNING
    
final protected static  intSEMPRED
    
final protected static  intSYNPRED_FAILED
    
final protected static  intSYNPRED_STARTED
    
final protected static  intSYNPRED_SUCCEEDED
    

Constructor Summary
public  ParserEventSupport(Object source)
    

Method Summary
public  voidaddDoneListener(ListenerBase l)
    
public  voidaddMessageListener(MessageListener l)
    
public  voidaddNewLineListener(NewLineListener l)
    
public  voidaddParserListener(ParserListener l)
    
public  voidaddParserMatchListener(ParserMatchListener l)
    
public  voidaddParserTokenListener(ParserTokenListener l)
    
public  voidaddSemanticPredicateListener(SemanticPredicateListener l)
    
public  voidaddSyntacticPredicateListener(SyntacticPredicateListener l)
    
public  voidaddTraceListener(TraceListener l)
    
public  voidfireConsume(int value)
    
public  voidfireDoneParsing()
    
public  voidfireEnterRule(int ruleNum, int guessing, int data)
    
public  voidfireEvent(int type, ListenerBase l)
    
public  voidfireEvents(int type, Vector listeners)
    
public  voidfireExitRule(int ruleNum, int guessing, int data)
    
public  voidfireLA(int k, int la)
    
public  voidfireMatch(char c, int guessing)
    
public  voidfireMatch(char value, BitSet b, int guessing)
    
public  voidfireMatch(char value, String target, int guessing)
    
public  voidfireMatch(int value, BitSet b, String text, int guessing)
    
public  voidfireMatch(int n, String text, int guessing)
    
public  voidfireMatch(String s, int guessing)
    
public  voidfireMatchNot(char value, char n, int guessing)
    
public  voidfireMatchNot(int value, int n, String text, int guessing)
    
public  voidfireMismatch(char value, char n, int guessing)
    
public  voidfireMismatch(char value, BitSet b, int guessing)
    
public  voidfireMismatch(char value, String target, int guessing)
    
public  voidfireMismatch(int value, int n, String text, int guessing)
    
public  voidfireMismatch(int value, BitSet b, String text, int guessing)
    
public  voidfireMismatch(String value, String text, int guessing)
    
public  voidfireMismatchNot(char value, char c, int guessing)
    
public  voidfireMismatchNot(int value, int n, String text, int guessing)
    
public  voidfireNewLine(int line)
    
public  voidfireReportError(Exception e)
    
public  voidfireReportError(String s)
    
public  voidfireReportWarning(String s)
    
public  booleanfireSemanticPredicateEvaluated(int type, int condition, boolean result, int guessing)
    
public  voidfireSyntacticPredicateFailed(int guessing)
    
public  voidfireSyntacticPredicateStarted(int guessing)
    
public  voidfireSyntacticPredicateSucceeded(int guessing)
    
protected  voidrefresh(Vector listeners)
    
public  voidrefreshListeners()
    
public  voidremoveDoneListener(ListenerBase l)
    
public  voidremoveMessageListener(MessageListener l)
    
public  voidremoveNewLineListener(NewLineListener l)
    
public  voidremoveParserListener(ParserListener l)
    
public  voidremoveParserMatchListener(ParserMatchListener l)
    
public  voidremoveParserTokenListener(ParserTokenListener l)
    
public  voidremoveSemanticPredicateListener(SemanticPredicateListener l)
    
public  voidremoveSyntacticPredicateListener(SyntacticPredicateListener l)
    
public  voidremoveTraceListener(TraceListener l)
    

Field Detail
CONSUME
final protected static int CONSUME(Code)



DONE_PARSING
final protected static int DONE_PARSING(Code)



ENTER_RULE
final protected static int ENTER_RULE(Code)



EXIT_RULE
final protected static int EXIT_RULE(Code)



LA
final protected static int LA(Code)



MATCH
final protected static int MATCH(Code)



MATCH_NOT
final protected static int MATCH_NOT(Code)



MISMATCH
final protected static int MISMATCH(Code)



MISMATCH_NOT
final protected static int MISMATCH_NOT(Code)



NEW_LINE
final protected static int NEW_LINE(Code)



REPORT_ERROR
final protected static int REPORT_ERROR(Code)



REPORT_WARNING
final protected static int REPORT_WARNING(Code)



SEMPRED
final protected static int SEMPRED(Code)



SYNPRED_FAILED
final protected static int SYNPRED_FAILED(Code)



SYNPRED_STARTED
final protected static int SYNPRED_STARTED(Code)



SYNPRED_SUCCEEDED
final protected static int SYNPRED_SUCCEEDED(Code)




Constructor Detail
ParserEventSupport
public ParserEventSupport(Object source)(Code)




Method Detail
addDoneListener
public void addDoneListener(ListenerBase l)(Code)



addMessageListener
public void addMessageListener(MessageListener l)(Code)



addNewLineListener
public void addNewLineListener(NewLineListener l)(Code)



addParserListener
public void addParserListener(ParserListener l)(Code)



addParserMatchListener
public void addParserMatchListener(ParserMatchListener l)(Code)



addParserTokenListener
public void addParserTokenListener(ParserTokenListener l)(Code)



addSemanticPredicateListener
public void addSemanticPredicateListener(SemanticPredicateListener l)(Code)



addSyntacticPredicateListener
public void addSyntacticPredicateListener(SyntacticPredicateListener l)(Code)



addTraceListener
public void addTraceListener(TraceListener l)(Code)



fireConsume
public void fireConsume(int value)(Code)



fireDoneParsing
public void fireDoneParsing()(Code)



fireEnterRule
public void fireEnterRule(int ruleNum, int guessing, int data)(Code)



fireEvent
public void fireEvent(int type, ListenerBase l)(Code)



fireEvents
public void fireEvents(int type, Vector listeners)(Code)



fireExitRule
public void fireExitRule(int ruleNum, int guessing, int data)(Code)



fireLA
public void fireLA(int k, int la)(Code)



fireMatch
public void fireMatch(char c, int guessing)(Code)



fireMatch
public void fireMatch(char value, BitSet b, int guessing)(Code)



fireMatch
public void fireMatch(char value, String target, int guessing)(Code)



fireMatch
public void fireMatch(int value, BitSet b, String text, int guessing)(Code)



fireMatch
public void fireMatch(int n, String text, int guessing)(Code)



fireMatch
public void fireMatch(String s, int guessing)(Code)



fireMatchNot
public void fireMatchNot(char value, char n, int guessing)(Code)



fireMatchNot
public void fireMatchNot(int value, int n, String text, int guessing)(Code)



fireMismatch
public void fireMismatch(char value, char n, int guessing)(Code)



fireMismatch
public void fireMismatch(char value, BitSet b, int guessing)(Code)



fireMismatch
public void fireMismatch(char value, String target, int guessing)(Code)



fireMismatch
public void fireMismatch(int value, int n, String text, int guessing)(Code)



fireMismatch
public void fireMismatch(int value, BitSet b, String text, int guessing)(Code)



fireMismatch
public void fireMismatch(String value, String text, int guessing)(Code)



fireMismatchNot
public void fireMismatchNot(char value, char c, int guessing)(Code)



fireMismatchNot
public void fireMismatchNot(int value, int n, String text, int guessing)(Code)



fireNewLine
public void fireNewLine(int line)(Code)



fireReportError
public void fireReportError(Exception e)(Code)



fireReportError
public void fireReportError(String s)(Code)



fireReportWarning
public void fireReportWarning(String s)(Code)



fireSemanticPredicateEvaluated
public boolean fireSemanticPredicateEvaluated(int type, int condition, boolean result, int guessing)(Code)



fireSyntacticPredicateFailed
public void fireSyntacticPredicateFailed(int guessing)(Code)



fireSyntacticPredicateStarted
public void fireSyntacticPredicateStarted(int guessing)(Code)



fireSyntacticPredicateSucceeded
public void fireSyntacticPredicateSucceeded(int guessing)(Code)



refresh
protected void refresh(Vector listeners)(Code)



refreshListeners
public void refreshListeners()(Code)



removeDoneListener
public void removeDoneListener(ListenerBase l)(Code)



removeMessageListener
public void removeMessageListener(MessageListener l)(Code)



removeNewLineListener
public void removeNewLineListener(NewLineListener l)(Code)



removeParserListener
public void removeParserListener(ParserListener l)(Code)



removeParserMatchListener
public void removeParserMatchListener(ParserMatchListener l)(Code)



removeParserTokenListener
public void removeParserTokenListener(ParserTokenListener l)(Code)



removeSemanticPredicateListener
public void removeSemanticPredicateListener(SemanticPredicateListener l)(Code)



removeSyntacticPredicateListener
public void removeSyntacticPredicateListener(SyntacticPredicateListener l)(Code)



removeTraceListener
public void removeTraceListener(TraceListener l)(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.