|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--iicm.vrml.pw.VRMLparser
VRMLparser - VRML parser class
Constructor Summary | |
VRMLparser(java.io.InputStream input)
create VRMLparser for specific input stream to read from. (underlying parser buffers input stream itself.) |
|
VRMLparser(java.io.InputStream input,
iicm.vrml.pw.ParserOutput po)
VRMLparser constructor with message callbacks |
Method Summary | |
java.util.Hashtable |
getNodeNames()
|
float |
getVersion()
get VRML version; only valid after checkHeader or setVersion |
boolean |
isMovingWorlds()
this parser is currently designed for VRML 2.0 only; this method could be used to distinguish Moving World Scenes from VRML 1.0 |
GroupNode |
readBody()
read VRML body should not be called before readHeader or setVersion |
float |
readHeader()
check header of VRML data stream |
GroupNode |
readStream()
parse complete VRML stream (header + body) |
void |
setVersion(float ver)
set VRML version for headerless VRML stream |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public VRMLparser(java.io.InputStream input)
public VRMLparser(java.io.InputStream input, iicm.vrml.pw.ParserOutput po)
Method Detail |
public void setVersion(float ver)
public float getVersion()
public boolean isMovingWorlds()
public GroupNode readStream()
public float readHeader()
public GroupNode readBody()
public java.util.Hashtable getNodeNames()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |