org.jdesktop.j3d.loaders.vrml97.impl
Class Parser
java.lang.Object
org.jdesktop.j3d.loaders.vrml97.impl.Parser
- All Implemented Interfaces:
- ParserConstants
public class Parser
- extends Object
- implements ParserConstants
Fields inherited from interface org.jdesktop.j3d.loaders.vrml97.impl.ParserConstants |
COMMENT, DEF, DEFAULT, DOT, EOF, EVENTIN, EVENTOUT, EXPOSEDFIELD, EXTERNPROTO, FALSE_LC_LITERAL, FALSE_UC_LITERAL, FIELD, ID, ID_FIRST, ID_REST, IS, LBRACE, LBRACKET, MFCOLOR, MFFLOAT, MFINT32, MFNODE, MFROTATION, MFSTRING, MFTIME, MFVEC2F, MFVEC3F, NULL, NUMBER_LITERAL, PROTO, RBRACE, RBRACKET, ROUTE, SFBOOL, SFCOLOR, SFFLOAT, SFINT32, SFNODE, SFROTATION, SFSTRING, SFTIME, SFVEC2F, SFVEC3F, STRING_LITERAL, TO, tokenImage, TRUE_LC_LITERAL, TRUE_UC_LITERAL, USE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
token_source
public ParserTokenManager token_source
token
public Token token
jj_nt
public Token jj_nt
Parser
public Parser(InputStream stream)
Parser
public Parser(Reader stream)
Parser
public Parser(ParserTokenManager tm)
Scene
public final void Scene()
throws ParseException
- Throws:
ParseException
Statement
public final void Statement()
throws ParseException
- Throws:
ParseException
NodeStatement
public final BaseNode NodeStatement()
throws ParseException
- Throws:
ParseException
ProtoStatement
public final void ProtoStatement()
throws ParseException
- Throws:
ParseException
ProtoDefinition
public final void ProtoDefinition()
throws ParseException
- Throws:
ParseException
ProtoFromName
public final Proto ProtoFromName()
throws ParseException
- Throws:
ParseException
ProtoInterface
public final void ProtoInterface(Proto proto)
throws ParseException
- Throws:
ParseException
ProtoInterface_fields
public final void ProtoInterface_fields(Proto proto)
throws ParseException
- Throws:
ParseException
ProtoEventIn
public final void ProtoEventIn(Proto proto)
throws ParseException
- Throws:
ParseException
ProtoField
public final void ProtoField(Proto proto)
throws ParseException
- Throws:
ParseException
ProtoEventOut
public final void ProtoEventOut(Proto proto)
throws ParseException
- Throws:
ParseException
ProtoExposedField
public final void ProtoExposedField(Proto proto)
throws ParseException
- Throws:
ParseException
ProtoBody
public final void ProtoBody(Proto proto)
throws ParseException
- Throws:
ParseException
ExternProtoDefinition
public final void ExternProtoDefinition()
throws ParseException
- Throws:
ParseException
ExternProtoInterface
public final void ExternProtoInterface(Vector protoFields)
throws ParseException
- Throws:
ParseException
ExternProtoURL
public final void ExternProtoURL(Vector urlList)
throws ParseException
- Throws:
ParseException
RouteStatement
public final void RouteStatement()
throws ParseException
- Throws:
ParseException
Node
public final BaseNode Node()
throws ParseException
- Throws:
ParseException
NodeBody
public final Node NodeBody(String nodeTypeId)
throws ParseException
- Throws:
ParseException
NodeBodyElement
public final void NodeBodyElement(BaseNode node)
throws ParseException
- Throws:
ParseException
FieldFromId
public final Field FieldFromId(BaseNode node)
throws ParseException
- Throws:
ParseException
FieldStatement
public final void FieldStatement(BaseNode node)
throws ParseException
- Throws:
ParseException
FieldInit
public final void FieldInit(Field field)
throws ParseException
- Throws:
ParseException
IsField
public final void IsField(Field toField)
throws ParseException
- Throws:
ParseException
FieldValue
public final void FieldValue(Field field)
throws ParseException
- Throws:
ParseException
Script
public final Script Script()
throws ParseException
- Throws:
ParseException
ScriptBodyElement
public final void ScriptBodyElement(Script script)
throws ParseException
- Throws:
ParseException
ScriptEventIn
public final void ScriptEventIn(Script s)
throws ParseException
- Throws:
ParseException
ScriptField
public final void ScriptField(Script s)
throws ParseException
- Throws:
ParseException
ScriptEventOut
public final void ScriptEventOut(Script s)
throws ParseException
- Throws:
ParseException
genEvent
public final Field genEvent()
throws ParseException
- Throws:
ParseException
genField
public final Field genField()
throws ParseException
- Throws:
ParseException
NodeNameId
public final String NodeNameId()
throws ParseException
- Throws:
ParseException
NodeTypeId
public final String NodeTypeId()
throws ParseException
- Throws:
ParseException
FieldId
public final String FieldId()
throws ParseException
- Throws:
ParseException
EventOutId
public final String EventOutId()
throws ParseException
- Throws:
ParseException
EventInId
public final String EventInId()
throws ParseException
- Throws:
ParseException
Id
public final String Id()
throws ParseException
- Throws:
ParseException
String
public final String String()
throws ParseException
- Throws:
ParseException
MultString
public final void MultString(Vector stringVec)
throws ParseException
- Throws:
ParseException
IntegerVal
public final int IntegerVal()
throws ParseException
- Throws:
ParseException
FloatVal
public final float FloatVal()
throws ParseException
- Throws:
ParseException
DoubleVal
public final double DoubleVal()
throws ParseException
- Throws:
ParseException
MultIntegerVal
public final void MultIntegerVal()
throws ParseException
- Throws:
ParseException
MultFloatVal
public final void MultFloatVal()
throws ParseException
- Throws:
ParseException
MultDoubleVal
public final void MultDoubleVal()
throws ParseException
- Throws:
ParseException
_MultNode
public final void _MultNode(Vector nodeVec)
throws ParseException
- Throws:
ParseException
_SFString
public final void _SFString(SFString field)
throws ParseException
- Throws:
ParseException
_MFString
public final void _MFString(MFString field)
throws ParseException
- Throws:
ParseException
_SFBool
public final void _SFBool(SFBool field)
throws ParseException
- Throws:
ParseException
_SFInt32
public final void _SFInt32(SFInt32 field)
throws ParseException
- Throws:
ParseException
_SFFloat
public final void _SFFloat(SFFloat field)
throws ParseException
- Throws:
ParseException
_SFTime
public final void _SFTime(SFTime field)
throws ParseException
- Throws:
ParseException
_SFRotation
public final void _SFRotation(SFRotation field)
throws ParseException
- Throws:
ParseException
_SFVec2f
public final void _SFVec2f(SFVec2f field)
throws ParseException
- Throws:
ParseException
_SFVec3f
public final void _SFVec3f(SFVec3f field)
throws ParseException
- Throws:
ParseException
_SFColor
public final void _SFColor(SFColor field)
throws ParseException
- Throws:
ParseException
_MFFloat
public final void _MFFloat(MFFloat field)
throws ParseException
- Throws:
ParseException
_MFTime
public final void _MFTime(MFTime field)
throws ParseException
- Throws:
ParseException
_MFVec2f
public final void _MFVec2f(MFVec2f field)
throws ParseException
- Throws:
ParseException
_MFVec3f
public final void _MFVec3f(MFVec3f field)
throws ParseException
- Throws:
ParseException
_MFRotation
public final void _MFRotation(MFRotation field)
throws ParseException
- Throws:
ParseException
_MFColor
public final void _MFColor(MFColor field)
throws ParseException
- Throws:
ParseException
_MFInt32
public final void _MFInt32(MFInt32 field)
throws ParseException
- Throws:
ParseException
_SFNode
public final void _SFNode(SFNode field)
throws ParseException
- Throws:
ParseException
_MFNode
public final void _MFNode(MFNode field)
throws ParseException
- Throws:
ParseException
ReInit
public void ReInit(InputStream stream)
ReInit
public void ReInit(Reader stream)
ReInit
public void ReInit(ParserTokenManager tm)
getNextToken
public final Token getNextToken()
getToken
public final Token getToken(int index)
generateParseException
public final ParseException generateParseException()
enable_tracing
public final void enable_tracing()
disable_tracing
public final void disable_tracing()
Todo: put BSD License reference here..