A need has come up such that classes including Java X3D models (instances of X3D class) provide a standard interface to one or more models in the Java class.<div dir="auto"><br></div><div dir="auto">Currently, there are two implementations:</div><div dir="auto"><br></div><div dir="auto"><div dir="auto">JavaSerializer.js has an initialize() method which returns a X3D model.  This probably violates SAI.</div><div dir="auto"><br></div><div dir="auto">X3dToJava.xslt provides a getX3dModel() method.  There's also an incompatible initialize() method, which may follow SAI.</div><div dir="auto"><br></div><div dir="auto">There may be unknown implementations in Xj3D browser.</div><div dir="auto"><br></div><div dir="auto">I propose a new Java interface that returns an ArrayList or array or some kind of iterator instance from the method getX3dModels().  This will provide access to a collection of X3D instances in the class.  This will allow both implementations to operate as they already do.</div><div dir="auto"><br></div><div dir="auto">The use case is to provide ways to output optimized (scaled) HAnim scenegraphs.</div><div dir="auto"><br></div><div dir="auto">Comments?  Anyone want to propose the interface definition?  Would this already be part of the Java SAI or abstract SAI, or can it be added?</div><div dir="auto"><br></div><div dir="auto">John</div><br></div>