mamx.vrml
Class VRMLFile


public class VRMLFile


Field Summary
 protected Vectorchildren
           
 static StringfileHeader
           
 protected Vectorroutes
           

Constructor Summary
VRMLFile()
           

Method Summary
 voidaddChild(VRMLSourceWriteable child)
          VRMLRoutes should NOT be added to this method.
 voidaddRoute(VRMLRoute route)
           
 voidcomment(String c)
           
 voidwriteSourceFile(PrintWriter out)
           

Field Detail

children

protected Vector children

fileHeader

public static String fileHeader

routes

protected Vector routes
Constructor Detail

VRMLFile

public VRMLFile()
Method Detail

addChild

public void addChild(VRMLSourceWriteable child)
VRMLRoutes should NOT be added to this method. Use addRoute instead to ensure correct handling when creating the source file.

addRoute

public void addRoute(VRMLRoute route)

comment

public void comment(String c)

writeSourceFile

public void writeSourceFile(PrintWriter out)
throws java.io.IOException