org.jboss.seam.remoting.annotationparser
Class AnnotationParser

java.lang.Object
  extended by org.jboss.seam.remoting.annotationparser.AnnotationParser
All Implemented Interfaces:
AnnotationParserConstants

public class AnnotationParser
extends Object
implements AnnotationParserConstants


Field Summary
 Token jj_nt
          Next token.
 Token token
          Current token.
 AnnotationParserTokenManager token_source
          Generated Token Manager.
 
Fields inherited from interface org.jboss.seam.remoting.annotationparser.AnnotationParserConstants
_DEFAULT, ABSTRACT, ANDASSIGN, ASSERT, ASSIGN, AT, BANG, BIT_AND, BIT_OR, BOOLEAN, BREAK, BYTE, CASE, CATCH, CHAR, CHARACTER_LITERAL, CLASS, COLON, COMMA, CONST, CONTINUE, DECIMAL_LITERAL, DECR, DEFAULT, DIGIT, DO, DOT, DOUBLE, ELLIPSIS, ELSE, ENUM, EOF, EQ, EXPONENT, EXTENDS, FALSE, FINAL, FINALLY, FLOAT, FLOATING_POINT_LITERAL, FOR, FORMAL_COMMENT, GE, GOTO, HEX_LITERAL, HOOK, IDENTIFIER, IF, IMPLEMENTS, IMPORT, IN_FORMAL_COMMENT, IN_MULTI_LINE_COMMENT, IN_SINGLE_LINE_COMMENT, INCR, INSTANCEOF, INT, INTEGER_LITERAL, INTERFACE, LBRACE, LBRACKET, LE, LETTER, LONG, LPAREN, LSHIFT, LSHIFTASSIGN, LT, MINUS, MINUSASSIGN, MULTI_LINE_COMMENT, NATIVE, NE, NEW, NULL, OCTAL_LITERAL, ORASSIGN, PACKAGE, PLUS, PLUSASSIGN, PRIVATE, PROTECTED, PUBLIC, RBRACE, RBRACKET, REM, REMASSIGN, RETURN, RPAREN, RSIGNEDSHIFTASSIGN, RUNSIGNEDSHIFTASSIGN, SC_AND, SC_OR, SEMICOLON, SHORT, SINGLE_LINE_COMMENT, SLASH, SLASHASSIGN, STAR, STARASSIGN, STATIC, STRICTFP, STRING_LITERAL, SUPER, SWITCH, SYNCHRONIZED, THIS, THROW, THROWS, TILDE, tokenImage, TRANSIENT, TRUE, TRY, VOID, VOLATILE, WHILE, XOR, XORASSIGN
 
Constructor Summary
AnnotationParser(AnnotationParserTokenManager tm)
          Constructor with generated Token Manager.
AnnotationParser(InputStream stream)
          Constructor with InputStream.
AnnotationParser(InputStream stream, String encoding)
          Constructor with InputStream and supplied encoding
AnnotationParser(Reader stream)
          Constructor.
AnnotationParser(String fileName)
           
 
Method Summary
 Annotation Annotation()
           
 AnnotationsUnit AnnotationsUnit()
           
 BooleanLiteral BooleanLiteral()
           
 ClassOrInterfaceType ClassOrInterfaceType()
           
 void disable_tracing()
          Disable tracing.
 void enable_tracing()
          Enable tracing.
 ParseException generateParseException()
          Generate ParseException.
 Token getNextToken()
          Get the next Token.
 Token getToken(int index)
          Get the specific Token.
 Literal Literal()
           
static void main(String[] args)
           
 MarkerAnnotation MarkerAnnotation()
           
 MemberValue MemberValue()
           
 MemberValueArrayInitializer MemberValueArrayInitializer()
           
 MemberValuePair MemberValuePair()
           
 MemberValuePairs MemberValuePairs()
           
 Name Name()
           
 NormalAnnotation NormalAnnotation()
           
 NullLiteral NullLiteral()
           
 PrimitiveType PrimitiveType()
           
 void ReInit(AnnotationParserTokenManager tm)
          Reinitialise.
 void ReInit(InputStream stream)
          Reinitialise.
 void ReInit(InputStream stream, String encoding)
          Reinitialise.
 void ReInit(Reader stream)
          Reinitialise.
 SingleMemberAnnotation SingleMemberAnnotation()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

token_source

public AnnotationParserTokenManager token_source
Generated Token Manager.


token

public Token token
Current token.


jj_nt

public Token jj_nt
Next token.

Constructor Detail

AnnotationParser

public AnnotationParser(String fileName)

AnnotationParser

public AnnotationParser(InputStream stream)
Constructor with InputStream.


AnnotationParser

public AnnotationParser(InputStream stream,
                        String encoding)
Constructor with InputStream and supplied encoding


AnnotationParser

public AnnotationParser(Reader stream)
Constructor.


AnnotationParser

public AnnotationParser(AnnotationParserTokenManager tm)
Constructor with generated Token Manager.

Method Detail

main

public static void main(String[] args)

AnnotationsUnit

public final AnnotationsUnit AnnotationsUnit()
                                      throws ParseException
Throws:
ParseException

PrimitiveType

public final PrimitiveType PrimitiveType()
                                  throws ParseException
Throws:
ParseException

Name

public final Name Name()
                throws ParseException
Throws:
ParseException

Literal

public final Literal Literal()
                      throws ParseException
Throws:
ParseException

BooleanLiteral

public final BooleanLiteral BooleanLiteral()
                                    throws ParseException
Throws:
ParseException

NullLiteral

public final NullLiteral NullLiteral()
                              throws ParseException
Throws:
ParseException

Annotation

public final Annotation Annotation()
                            throws ParseException
Throws:
ParseException

NormalAnnotation

public final NormalAnnotation NormalAnnotation()
                                        throws ParseException
Throws:
ParseException

MarkerAnnotation

public final MarkerAnnotation MarkerAnnotation()
                                        throws ParseException
Throws:
ParseException

SingleMemberAnnotation

public final SingleMemberAnnotation SingleMemberAnnotation()
                                                    throws ParseException
Throws:
ParseException

MemberValuePairs

public final MemberValuePairs MemberValuePairs()
                                        throws ParseException
Throws:
ParseException

MemberValuePair

public final MemberValuePair MemberValuePair()
                                      throws ParseException
Throws:
ParseException

MemberValue

public final MemberValue MemberValue()
                              throws ParseException
Throws:
ParseException

ClassOrInterfaceType

public final ClassOrInterfaceType ClassOrInterfaceType()
                                                throws ParseException
Throws:
ParseException

MemberValueArrayInitializer

public final MemberValueArrayInitializer MemberValueArrayInitializer()
                                                              throws ParseException
Throws:
ParseException

ReInit

public void ReInit(InputStream stream)
Reinitialise.


ReInit

public void ReInit(InputStream stream,
                   String encoding)
Reinitialise.


ReInit

public void ReInit(Reader stream)
Reinitialise.


ReInit

public void ReInit(AnnotationParserTokenManager tm)
Reinitialise.


getNextToken

public final Token getNextToken()
Get the next Token.


getToken

public final Token getToken(int index)
Get the specific Token.


generateParseException

public ParseException generateParseException()
Generate ParseException.


enable_tracing

public final void enable_tracing()
Enable tracing.


disable_tracing

public final void disable_tracing()
Disable tracing.



Copyright © 2011 Seam Framework. All Rights Reserved.