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 SummaryConstructors
- 
Method SummaryModifier 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 interface- InputCapsule
 
- 
readByte- Specified by:
- readBytein interface- InputCapsule
- Throws:
- IOException
 
- 
readByteArray- Specified by:
- readByteArrayin interface- InputCapsule
- Throws:
- IOException
 
- 
readByteArray2D- Specified by:
- readByteArray2Din interface- InputCapsule
- Throws:
- IOException
 
- 
readInt- Specified by:
- readIntin interface- InputCapsule
- Throws:
- IOException
 
- 
readIntArray- Specified by:
- readIntArrayin interface- InputCapsule
- Throws:
- IOException
 
- 
readIntArray2D- Specified by:
- readIntArray2Din interface- InputCapsule
- Throws:
- IOException
 
- 
readFloat- Specified by:
- readFloatin interface- InputCapsule
- Throws:
- IOException
 
- 
readFloatArray- Specified by:
- readFloatArrayin interface- InputCapsule
- Throws:
- IOException
 
- 
readFloatArray2D- Specified by:
- readFloatArray2Din interface- InputCapsule
- Throws:
- IOException
 
- 
readDouble- Specified by:
- readDoublein interface- InputCapsule
- Throws:
- IOException
 
- 
readDoubleArray- Specified by:
- readDoubleArrayin interface- InputCapsule
- Throws:
- IOException
 
- 
readDoubleArray2D- Specified by:
- readDoubleArray2Din interface- InputCapsule
- Throws:
- IOException
 
- 
readLong- Specified by:
- readLongin interface- InputCapsule
- Throws:
- IOException
 
- 
readLongArray- Specified by:
- readLongArrayin interface- InputCapsule
- Throws:
- IOException
 
- 
readLongArray2D- Specified by:
- readLongArray2Din interface- InputCapsule
- Throws:
- IOException
 
- 
readShort- Specified by:
- readShortin interface- InputCapsule
- Throws:
- IOException
 
- 
readShortArray- Specified by:
- readShortArrayin interface- InputCapsule
- Throws:
- IOException
 
- 
readShortArray2D- Specified by:
- readShortArray2Din interface- InputCapsule
- Throws:
- IOException
 
- 
readBoolean- Specified by:
- readBooleanin interface- InputCapsule
- Throws:
- IOException
 
- 
readBooleanArray- Specified by:
- readBooleanArrayin interface- InputCapsule
- Throws:
- IOException
 
- 
readBooleanArray2D- Specified by:
- readBooleanArray2Din interface- InputCapsule
- Throws:
- IOException
 
- 
readString- Specified by:
- readStringin interface- InputCapsule
- Throws:
- IOException
 
- 
readStringArray- Specified by:
- readStringArrayin interface- InputCapsule
- Throws:
- IOException
 
- 
readStringArray2D- Specified by:
- readStringArray2Din interface- InputCapsule
- Throws:
- IOException
 
- 
readBitSet- Specified by:
- readBitSetin interface- InputCapsule
- Throws:
- IOException
 
- 
readSavable- Specified by:
- readSavablein interface- InputCapsule
- Throws:
- IOException
 
- 
readSavableArray- Specified by:
- readSavableArrayin interface- InputCapsule
- Throws:
- IOException
 
- 
readSavableArray2D- Specified by:
- readSavableArray2Din interface- InputCapsule
- Throws:
- IOException
 
- 
readSavableArrayList- Specified by:
- readSavableArrayListin interface- InputCapsule
- Throws:
- IOException
 
- 
readSavableArrayListArraypublic ArrayList<Savable>[] readSavableArrayListArray(String name, ArrayList[] defVal) throws IOException - Specified by:
- readSavableArrayListArrayin interface- InputCapsule
- Throws:
- IOException
 
- 
readSavableArrayListArray2Dpublic ArrayList<Savable>[][] readSavableArrayListArray2D(String name, ArrayList[][] defVal) throws IOException - Specified by:
- readSavableArrayListArray2Din interface- InputCapsule
- Throws:
- IOException
 
- 
readFloatBufferArrayListpublic ArrayList<FloatBuffer> readFloatBufferArrayList(String name, ArrayList<FloatBuffer> defVal) throws IOException - Specified by:
- readFloatBufferArrayListin interface- InputCapsule
- Throws:
- IOException
 
- 
readSavableMappublic Map<? extends Savable,? extends Savable> readSavableMap(String name, Map<? extends Savable, ? extends Savable> defVal) throws IOException- Specified by:
- readSavableMapin interface- InputCapsule
- Throws:
- IOException
 
- 
readStringSavableMappublic Map<String,? extends Savable> readStringSavableMap(String name, Map<String, ? extends Savable> defVal) throws IOException- Specified by:
- readStringSavableMapin interface- InputCapsule
- Throws:
- IOException
 
- 
readIntSavableMappublic IntMap<? extends Savable> readIntSavableMap(String name, IntMap<? extends Savable> defVal) throws IOException - Specified by:
- readIntSavableMapin interface- InputCapsule
- Throws:
- IOException
 
- 
readFloatBufferreads from currentElem if name is null- Specified by:
- readFloatBufferin interface- InputCapsule
- Throws:
- IOException
 
- 
readIntBuffer- Specified by:
- readIntBufferin interface- InputCapsule
- Throws:
- IOException
 
- 
readByteBuffer- Specified by:
- readByteBufferin interface- InputCapsule
- Throws:
- IOException
 
- 
readShortBuffer- Specified by:
- readShortBufferin interface- InputCapsule
- Throws:
- IOException
 
- 
readByteBufferArrayListpublic ArrayList<ByteBuffer> readByteBufferArrayList(String name, ArrayList<ByteBuffer> defVal) throws IOException - Specified by:
- readByteBufferArrayListin interface- InputCapsule
- Throws:
- IOException
 
- 
readEnum- Specified by:
- readEnumin interface- InputCapsule
- Throws:
- IOException
 
- 
parseTokens
 
-