Package com.jme3.export.xml
Class XMLExporter
java.lang.Object
com.jme3.export.xml.XMLExporter
- All Implemented Interfaces:
- JmeExporter
Part of the jME XML IO system as introduced in the Google Code jmexml project.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetCapsule(Savable object) Returns theOutputCapsulefor the given savable object.static XMLExportervoidExport theSavableto a file.voidsave(Savable object, OutputStream f) Export theSavableto an OutputStream.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.jme3.export.JmeExportersave
- 
Field Details- 
ELEMENT_MAPENTRY- See Also:
 
- 
ELEMENT_KEY- See Also:
 
- 
ELEMENT_VALUE- See Also:
 
- 
ELEMENT_FLOATBUFFER- See Also:
 
- 
ATTRIBUTE_SIZE- See Also:
 
 
- 
- 
Constructor Details- 
XMLExporterpublic XMLExporter()
 
- 
- 
Method Details- 
saveDescription copied from interface:JmeExporterExport theSavableto an OutputStream.- Specified by:
- savein interface- JmeExporter
- Parameters:
- object- The savable to export
- f- The output stream
- Throws:
- IOException- If an io exception occurs during export
 
- 
saveDescription copied from interface:JmeExporterExport theSavableto a file. If the path to the file doesn't exist, the parent directories can be created if thecreateDirectoriesflag is true. If the path does not exist andcreateDirectoriesis false, then an exception is thrown.- Specified by:
- savein interface- JmeExporter
- Parameters:
- object- The savable to export
- f- The file to export to
- createDirectories- flag to indicate if the directories should be created
- Throws:
- IOException- If an io exception occurs during export
 
- 
getCapsuleDescription copied from interface:JmeExporterReturns theOutputCapsulefor the given savable object.- Specified by:
- getCapsulein interface- JmeExporter
- Parameters:
- object- The object to retrieve an output capsule for.
- Returns:
- the OutputCapsulefor the given savable object.
 
- 
getInstance
 
-