com.threerings.miso.tools.xml
Class SimpleMisoSceneWriter

java.lang.Object
  extended by com.threerings.miso.tools.xml.SimpleMisoSceneWriter
All Implemented Interfaces:
NestableWriter

public class SimpleMisoSceneWriter
extends Object
implements NestableWriter

Generates an XML representation of a SimpleMisoSceneModel.


Field Summary
static String OUTER_ELEMENT
          The element used to enclose scene models written with this writer.
 
Constructor Summary
SimpleMisoSceneWriter()
           
 
Method Summary
 void write(Object object, com.megginson.sax.DataWriter writer)
          Called to generate XML for the supplied object to the supplied data writer.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OUTER_ELEMENT

public static final String OUTER_ELEMENT
The element used to enclose scene models written with this writer.

See Also:
Constant Field Values
Constructor Detail

SimpleMisoSceneWriter

public SimpleMisoSceneWriter()
Method Detail

write

public void write(Object object,
                  com.megginson.sax.DataWriter writer)
           throws SAXException
Description copied from interface: NestableWriter
Called to generate XML for the supplied object to the supplied data writer.

Specified by:
write in interface NestableWriter
Throws:
SAXException


Copyright © 2011. All Rights Reserved.