Package com.jme3.export.xml
Class DOMInputCapsule
java.lang.Object
com.jme3.export.xml.DOMInputCapsule
- All Implemented Interfaces:
 InputCapsule
Part of the jME XML IO system as introduced in the Google Code jmexml project.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionintgetSavableVersion(Class<? extends Savable> desiredClass) protected String[]parseTokens(String inString) readBitSet(String name, BitSet defVal) booleanreadBoolean(String name, boolean defVal) boolean[]readBooleanArray(String name, boolean[] defVal) boolean[][]readBooleanArray2D(String name, boolean[][] defVal) bytebyte[]readByteArray(String name, byte[] defVal) byte[][]readByteArray2D(String name, byte[][] defVal) readByteBuffer(String name, ByteBuffer defVal) readByteBufferArrayList(String name, ArrayList<ByteBuffer> defVal) doublereadDouble(String name, double defVal) double[]readDoubleArray(String name, double[] defVal) double[][]readDoubleArray2D(String name, double[][] defVal) <T extends Enum<T>>
Tfloatfloat[]readFloatArray(String name, float[] defVal) float[][]readFloatArray2D(String name, float[][] defVal) readFloatBuffer(String name, FloatBuffer defVal) reads from currentElem if name is nullreadFloatBufferArrayList(String name, ArrayList<FloatBuffer> defVal) intint[]readIntArray(String name, int[] defVal) int[][]readIntArray2D(String name, int[][] defVal) readIntBuffer(String name, IntBuffer defVal) readIntSavableMap(String name, IntMap<? extends Savable> defVal) longlong[]readLongArray(String name, long[] defVal) long[][]readLongArray2D(String name, long[][] defVal) readSavable(String name, Savable defVal) Savable[]readSavableArray(String name, Savable[] defVal) Savable[][]readSavableArray2D(String name, Savable[][] defVal) readSavableArrayList(String name, ArrayList defVal) readSavableArrayListArray(String name, ArrayList[] defVal) readSavableArrayListArray2D(String name, ArrayList[][] defVal) readSavableMap(String name, Map<? extends Savable, ? extends Savable> defVal) shortshort[]readShortArray(String name, short[] defVal) short[][]readShortArray2D(String name, short[][] defVal) readShortBuffer(String name, ShortBuffer defVal) readString(String name, String defVal) String[]readStringArray(String name, String[] defVal) String[][]readStringArray2D(String name, String[][] defVal) readStringSavableMap(String name, Map<String, ? extends Savable> defVal)  
- 
Constructor Details
- 
DOMInputCapsule
 
 - 
 - 
Method Details
- 
getSavableVersion
- Specified by:
 getSavableVersionin interfaceInputCapsule
 - 
readByte
- Specified by:
 readBytein interfaceInputCapsule- Throws:
 IOException
 - 
readByteArray
- Specified by:
 readByteArrayin interfaceInputCapsule- Throws:
 IOException
 - 
readByteArray2D
- Specified by:
 readByteArray2Din interfaceInputCapsule- Throws:
 IOException
 - 
readInt
- Specified by:
 readIntin interfaceInputCapsule- Throws:
 IOException
 - 
readIntArray
- Specified by:
 readIntArrayin interfaceInputCapsule- Throws:
 IOException
 - 
readIntArray2D
- Specified by:
 readIntArray2Din interfaceInputCapsule- Throws:
 IOException
 - 
readFloat
- Specified by:
 readFloatin interfaceInputCapsule- Throws:
 IOException
 - 
readFloatArray
- Specified by:
 readFloatArrayin interfaceInputCapsule- Throws:
 IOException
 - 
readFloatArray2D
- Specified by:
 readFloatArray2Din interfaceInputCapsule- Throws:
 IOException
 - 
readDouble
- Specified by:
 readDoublein interfaceInputCapsule- Throws:
 IOException
 - 
readDoubleArray
- Specified by:
 readDoubleArrayin interfaceInputCapsule- Throws:
 IOException
 - 
readDoubleArray2D
- Specified by:
 readDoubleArray2Din interfaceInputCapsule- Throws:
 IOException
 - 
readLong
- Specified by:
 readLongin interfaceInputCapsule- Throws:
 IOException
 - 
readLongArray
- Specified by:
 readLongArrayin interfaceInputCapsule- Throws:
 IOException
 - 
readLongArray2D
- Specified by:
 readLongArray2Din interfaceInputCapsule- Throws:
 IOException
 - 
readShort
- Specified by:
 readShortin interfaceInputCapsule- Throws:
 IOException
 - 
readShortArray
- Specified by:
 readShortArrayin interfaceInputCapsule- Throws:
 IOException
 - 
readShortArray2D
- Specified by:
 readShortArray2Din interfaceInputCapsule- Throws:
 IOException
 - 
readBoolean
- Specified by:
 readBooleanin interfaceInputCapsule- Throws:
 IOException
 - 
readBooleanArray
- Specified by:
 readBooleanArrayin interfaceInputCapsule- Throws:
 IOException
 - 
readBooleanArray2D
- Specified by:
 readBooleanArray2Din interfaceInputCapsule- Throws:
 IOException
 - 
readString
- Specified by:
 readStringin interfaceInputCapsule- Throws:
 IOException
 - 
readStringArray
- Specified by:
 readStringArrayin interfaceInputCapsule- Throws:
 IOException
 - 
readStringArray2D
- Specified by:
 readStringArray2Din interfaceInputCapsule- Throws:
 IOException
 - 
readBitSet
- Specified by:
 readBitSetin interfaceInputCapsule- Throws:
 IOException
 - 
readSavable
- Specified by:
 readSavablein interfaceInputCapsule- Throws:
 IOException
 - 
readSavableArray
- Specified by:
 readSavableArrayin interfaceInputCapsule- Throws:
 IOException
 - 
readSavableArray2D
- Specified by:
 readSavableArray2Din interfaceInputCapsule- Throws:
 IOException
 - 
readSavableArrayList
- Specified by:
 readSavableArrayListin interfaceInputCapsule- Throws:
 IOException
 - 
readSavableArrayListArray
public ArrayList<Savable>[] readSavableArrayListArray(String name, ArrayList[] defVal) throws IOException - Specified by:
 readSavableArrayListArrayin interfaceInputCapsule- Throws:
 IOException
 - 
readSavableArrayListArray2D
public ArrayList<Savable>[][] readSavableArrayListArray2D(String name, ArrayList[][] defVal) throws IOException - Specified by:
 readSavableArrayListArray2Din interfaceInputCapsule- Throws:
 IOException
 - 
readFloatBufferArrayList
public ArrayList<FloatBuffer> readFloatBufferArrayList(String name, ArrayList<FloatBuffer> defVal) throws IOException - Specified by:
 readFloatBufferArrayListin interfaceInputCapsule- Throws:
 IOException
 - 
readSavableMap
public Map<? extends Savable,? extends Savable> readSavableMap(String name, Map<? extends Savable, ? extends Savable> defVal) throws IOException- Specified by:
 readSavableMapin interfaceInputCapsule- Throws:
 IOException
 - 
readStringSavableMap
public Map<String,? extends Savable> readStringSavableMap(String name, Map<String, ? extends Savable> defVal) throws IOException- Specified by:
 readStringSavableMapin interfaceInputCapsule- Throws:
 IOException
 - 
readIntSavableMap
public IntMap<? extends Savable> readIntSavableMap(String name, IntMap<? extends Savable> defVal) throws IOException - Specified by:
 readIntSavableMapin interfaceInputCapsule- Throws:
 IOException
 - 
readFloatBuffer
reads from currentElem if name is null- Specified by:
 readFloatBufferin interfaceInputCapsule- Throws:
 IOException
 - 
readIntBuffer
- Specified by:
 readIntBufferin interfaceInputCapsule- Throws:
 IOException
 - 
readByteBuffer
- Specified by:
 readByteBufferin interfaceInputCapsule- Throws:
 IOException
 - 
readShortBuffer
- Specified by:
 readShortBufferin interfaceInputCapsule- Throws:
 IOException
 - 
readByteBufferArrayList
public ArrayList<ByteBuffer> readByteBufferArrayList(String name, ArrayList<ByteBuffer> defVal) throws IOException - Specified by:
 readByteBufferArrayListin interfaceInputCapsule- Throws:
 IOException
 - 
readEnum
- Specified by:
 readEnumin interfaceInputCapsule- Throws:
 IOException
 - 
parseTokens
 
 -