com.threerings.stage.tools.xml
Class StageSceneWriter

java.lang.Object
  extended by com.threerings.whirled.tools.xml.SceneWriter
      extended by com.threerings.stage.tools.xml.StageSceneWriter

public class StageSceneWriter
extends SceneWriter

Generates an XML representation of a StageSceneModel.


Field Summary
 
Fields inherited from class com.threerings.whirled.tools.xml.SceneWriter
_auxers, OUTER_ELEMENT
 
Constructor Summary
StageSceneWriter()
           
 
Method Summary
protected  void addSceneAttributes(SceneModel scene, AttributesImpl attrs)
          Adds attributes to the top-level element before it gets written.
protected  void writeSceneData(SceneModel scene, com.megginson.sax.DataWriter writer)
          Writes just the scene data which is handy for derived classes which may wish to add their own scene data to the scene output.
 
Methods inherited from class com.threerings.whirled.tools.xml.SceneWriter
registerAuxWriter, writeScene, writeSceneModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StageSceneWriter

public StageSceneWriter()
Method Detail

addSceneAttributes

protected void addSceneAttributes(SceneModel scene,
                                  AttributesImpl attrs)
Description copied from class: SceneWriter
Adds attributes to the top-level element before it gets written.

Overrides:
addSceneAttributes in class SceneWriter

writeSceneData

protected void writeSceneData(SceneModel scene,
                              com.megginson.sax.DataWriter writer)
                       throws SAXException
Description copied from class: SceneWriter
Writes just the scene data which is handy for derived classes which may wish to add their own scene data to the scene output.

Overrides:
writeSceneData in class SceneWriter
Throws:
SAXException