copyright The Portico Project 2008.

org.portico.impl.hla13.fomparser
Class FOM

java.lang.Object
  extended by org.portico.impl.hla13.fomparser.FOM
All Implemented Interfaces:
FOMConstants

public class FOM
extends Object
implements FOMConstants


Field Summary
private  Vector<int[]> jj_expentries
           
private  int[] jj_expentry
           
private  int jj_gen
           
(package private)  SimpleCharStream jj_input_stream
           
private  int jj_kind
           
private  int[] jj_la1
           
private static int[] jj_la1_0
           
 Token jj_nt
           
private  int jj_ntk
           
 Token token
           
 FOMTokenManager token_source
           
 
Fields inherited from interface org.portico.impl.hla13.fomparser.FOMConstants
ALPHA, ATTRIBUTE, CHAR, CLASS, DEFAULT, DIMENSION, EOF, FED, FEDERATION, FEDVERSION, IN_SINGLE_LINE_COMMENT, INTERACTIONS, NUMERIC, OBJECTS, P_CLOSE, P_OPEN, PARAMETER, SINGLE_LINE_COMMENT, SPACE, SPACES, STRING, SYMBOL, tokenImage
 
Constructor Summary
FOM(FOMTokenManager tm)
           
FOM(InputStream stream)
           
FOM(InputStream stream, String encoding)
           
FOM(Reader stream)
           
 
Method Summary
 void dimension(ObjectModel theModel, Space theSpace)
           
 void disable_tracing()
           
 void enable_tracing()
           
 void federation()
           
 void fedVersion()
           
 ParseException generateParseException()
           
 Token getNextToken()
           
 Token getToken(int index)
           
 void interactionClass(ObjectModel theModel, ICMetadata parent)
           
 void interactionParameter(ICMetadata theInteraction, ObjectModel theModel)
           
 void interactions(ObjectModel theModel)
          INTERACTION CLASS PRODUCTIONS
private  Token jj_consume_token(int kind)
           
private static void jj_la1_0()
           
private  int jj_ntk()
           
 void objectAttribute(OCMetadata theClass, ObjectModel theModel)
           
 void objectClass(ObjectModel theModel, OCMetadata parent)
           
 void objects(ObjectModel theModel)
          OBJECT CLASS PRODUCTIONS
 Order order()
           
 void parse(ObjectModel theModel)
           
static ObjectModel parseFOM(InputStream istream)
           
static ObjectModel parseFOM(URL fom)
           
 void ReInit(FOMTokenManager tm)
           
 void ReInit(InputStream stream)
           
 void ReInit(InputStream stream, String encoding)
           
 void ReInit(Reader stream)
           
 void space(ObjectModel theModel)
           
 void spaces(ObjectModel theModel)
          ROUTING SPACE PRODUCTIONS
 String stringValue()
           
 Transport transport()
          SUPPORTING PRODUCTIONS
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

token_source

public FOMTokenManager token_source

jj_input_stream

SimpleCharStream jj_input_stream

token

public Token token

jj_nt

public Token jj_nt

jj_ntk

private int jj_ntk

jj_gen

private int jj_gen

jj_la1

private final int[] jj_la1

jj_la1_0

private static int[] jj_la1_0

jj_expentries

private Vector<int[]> jj_expentries

jj_expentry

private int[] jj_expentry

jj_kind

private int jj_kind
Constructor Detail

FOM

public FOM(InputStream stream)

FOM

public FOM(InputStream stream,
           String encoding)

FOM

public FOM(Reader stream)

FOM

public FOM(FOMTokenManager tm)
Method Detail

parseFOM

public static ObjectModel parseFOM(URL fom)
                            throws hla.rti.CouldNotOpenFED,
                                   hla.rti.ErrorReadingFED
Throws:
hla.rti.CouldNotOpenFED
hla.rti.ErrorReadingFED

parseFOM

public static ObjectModel parseFOM(InputStream istream)
                            throws hla.rti.CouldNotOpenFED,
                                   hla.rti.ErrorReadingFED
Throws:
hla.rti.CouldNotOpenFED
hla.rti.ErrorReadingFED

parse

public final void parse(ObjectModel theModel)
                 throws ParseException
Throws:
ParseException

federation

public final void federation()
                      throws ParseException
Throws:
ParseException

fedVersion

public final void fedVersion()
                      throws ParseException
Throws:
ParseException

spaces

public final void spaces(ObjectModel theModel)
                  throws ParseException
ROUTING SPACE PRODUCTIONS

Throws:
ParseException

space

public final void space(ObjectModel theModel)
                 throws ParseException
Throws:
ParseException

dimension

public final void dimension(ObjectModel theModel,
                            Space theSpace)
                     throws ParseException
Throws:
ParseException

objects

public final void objects(ObjectModel theModel)
                   throws ParseException
OBJECT CLASS PRODUCTIONS

Throws:
ParseException

objectClass

public final void objectClass(ObjectModel theModel,
                              OCMetadata parent)
                       throws ParseException
Throws:
ParseException

objectAttribute

public final void objectAttribute(OCMetadata theClass,
                                  ObjectModel theModel)
                           throws ParseException,
                                  ParseException
Throws:
ParseException

interactions

public final void interactions(ObjectModel theModel)
                        throws ParseException
INTERACTION CLASS PRODUCTIONS

Throws:
ParseException

interactionClass

public final void interactionClass(ObjectModel theModel,
                                   ICMetadata parent)
                            throws ParseException
Throws:
ParseException

interactionParameter

public final void interactionParameter(ICMetadata theInteraction,
                                       ObjectModel theModel)
                                throws ParseException
Throws:
ParseException

transport

public final Transport transport()
                          throws ParseException
SUPPORTING PRODUCTIONS

Throws:
ParseException

order

public final Order order()
                  throws ParseException
Throws:
ParseException

stringValue

public final String stringValue()
                         throws ParseException
Throws:
ParseException

jj_la1_0

private static void jj_la1_0()

ReInit

public void ReInit(InputStream stream)

ReInit

public void ReInit(InputStream stream,
                   String encoding)

ReInit

public void ReInit(Reader stream)

ReInit

public void ReInit(FOMTokenManager tm)

jj_consume_token

private final Token jj_consume_token(int kind)
                              throws ParseException
Throws:
ParseException

getNextToken

public final Token getNextToken()

getToken

public final Token getToken(int index)

jj_ntk

private final int jj_ntk()

generateParseException

public ParseException generateParseException()

enable_tracing

public final void enable_tracing()

disable_tracing

public final void disable_tracing()

copyright The Portico Project 2008.