com.threerings.miso.tools.xml
Class SparseMisoSceneWriter

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

public class SparseMisoSceneWriter
extends Object
implements NestableWriter

Generates an XML representation of a SparseMisoSceneModel.


Field Summary
static String OUTER_ELEMENT
          The element used to enclose scene models written with this writer.
 
Constructor Summary
SparseMisoSceneWriter()
           
 
Method Summary
 void write(Object object, com.megginson.sax.DataWriter writer)
          Called to generate XML for the supplied object to the supplied data writer.
static void writeInterestingObject(ObjectInfo info, com.megginson.sax.DataWriter writer)
          Writes info out to 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

SparseMisoSceneWriter

public SparseMisoSceneWriter()
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

writeInterestingObject

public static void writeInterestingObject(ObjectInfo info,
                                          com.megginson.sax.DataWriter writer)
                                   throws SAXException
Writes info out to writer.

Throws:
SAXException


Copyright © 2011. All Rights Reserved.