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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCapsule
(Savable object) Returns theOutputCapsule
for the given savable object.static XMLExporter
void
Export theSavable
to a file.void
save
(Savable object, OutputStream f) Export theSavable
to an OutputStream.
-
Field Details
-
ELEMENT_MAPENTRY
- See Also:
-
ELEMENT_KEY
- See Also:
-
ELEMENT_VALUE
- See Also:
-
ELEMENT_FLOATBUFFER
- See Also:
-
ATTRIBUTE_SIZE
- See Also:
-
-
Constructor Details
-
XMLExporter
public XMLExporter()
-
-
Method Details
-
save
Description copied from interface:JmeExporter
Export theSavable
to an OutputStream.- Specified by:
save
in interfaceJmeExporter
- Parameters:
object
- The savable to exportf
- The output stream- Throws:
IOException
- If an io exception occurs during export
-
save
Description copied from interface:JmeExporter
Export theSavable
to a file.- Specified by:
save
in interfaceJmeExporter
- Parameters:
object
- The savable to exportf
- The file to export to- Throws:
IOException
- If an io exception occurs during export
-
getCapsule
Description copied from interface:JmeExporter
Returns theOutputCapsule
for the given savable object.- Specified by:
getCapsule
in interfaceJmeExporter
- Parameters:
object
- The object to retrieve an output capsule for.- Returns:
- the
OutputCapsule
for the given savable object.
-
getInstance
-