M3GToolkit 0.5.0

com.java4ever.m3g
Class ExternalReference

java.lang.Object
  extended bycom.java4ever.m3g.M3GObject
      extended bycom.java4ever.m3g.ExternalReference

public class ExternalReference
extends M3GObject


Field Summary
 
Fields inherited from class com.java4ever.m3g.M3GObject
ANIMATION_CONTROLLER, ANIMATION_TRACK, APPEARANCE, BACKGROUND, CAMERA, COMPOSITING_MODE, EXTERNAL_REFERENCE, FOG, GROUP, HEADER, IMAGE2D, KEYFRAME_SEQUENCE, LIGHT, MATERIAL, MESH, MORPHING_MESH, POLYGON_MODE, SKINNED_MESH, SPRITE3D, TEXTURE2D, TRIANGLE_STRIP_ARRAY, VERTEX_ARRAY, VERTEX_BUFFER, WORLD
 
Constructor Summary
ExternalReference(java.lang.String uri)
           
 
Method Summary
 int getObjectType()
           
 java.lang.String getURI()
           
protected  void read(M3GInputStream is, java.util.ArrayList table)
           
 void setURI(java.lang.String uri)
           
protected  void write(M3GOutputStream os, java.util.ArrayList table)
           
 
Methods inherited from class com.java4ever.m3g.M3GObject
buildReferenceTable, getObjectAtIndex, isRoot
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternalReference

public ExternalReference(java.lang.String uri)
Method Detail

getURI

public java.lang.String getURI()

setURI

public void setURI(java.lang.String uri)

getObjectType

public int getObjectType()
Specified by:
getObjectType in class M3GObject

read

protected void read(M3GInputStream is,
                    java.util.ArrayList table)
             throws java.io.IOException
Specified by:
read in class M3GObject
Throws:
java.io.IOException

write

protected void write(M3GOutputStream os,
                     java.util.ArrayList table)
              throws java.io.IOException
Specified by:
write in class M3GObject
Throws:
java.io.IOException

M3GToolkit 0.5.0

Copyright 2005 java4ever.com. All Rights Reserved.