Package com.jme3.export.xml
Class XMLExporter
java.lang.Object
com.jme3.export.xml.XMLExporter
- All Implemented Interfaces:
com.jme3.export.JmeExporter
Part of the jME XML IO system as introduced in the Google Code jmexml project.
- Author:
- Kai Rabien (hevee) - original author of the code.google.com jmexml project, Doug Daniels (dougnukem) - adjustments for jME 2.0 and Java 1.5
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.jme3.export.OutputCapsulegetCapsule(com.jme3.export.Savable object) static XMLExportervoidvoidsave(com.jme3.export.Savable object, OutputStream outputStream) voidsetIndentSpaces(int indentSpaces) Sets the number of spaces used to indent nested tags.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.jme3.export.JmeExporter
save
-
Field Details
-
ELEMENT_MAPENTRY
- See Also:
-
ELEMENT_KEY
- See Also:
-
ELEMENT_VALUE
- See Also:
-
ATTRIBUTE_SIZE
- See Also:
-
ATTRIBUTE_DATA
- See Also:
-
ATTRIBUTE_CLASS
- See Also:
-
ATTRIBUTE_REFERENCE_ID
- See Also:
-
ATTRIBUTE_REFERENCE
- See Also:
-
ATTRIBUTE_SAVABLE_VERSIONS
- See Also:
-
-
Constructor Details
-
XMLExporter
public XMLExporter()
-
-
Method Details
-
save
- Specified by:
savein interfacecom.jme3.export.JmeExporter- Throws:
IOException
-
save
public void save(com.jme3.export.Savable object, File f, boolean createDirectories) throws IOException - Specified by:
savein interfacecom.jme3.export.JmeExporter- Throws:
IOException
-
getCapsule
public com.jme3.export.OutputCapsule getCapsule(com.jme3.export.Savable object) - Specified by:
getCapsulein interfacecom.jme3.export.JmeExporter
-
setIndentSpaces
public void setIndentSpaces(int indentSpaces) Sets the number of spaces used to indent nested tags.- Parameters:
indentSpaces- The number of spaces to indent for each level of nesting. Default is 4. Pass 0 to disable pretty printing and write document without adding any whitespace.
-
getInstance
-