Class XmlIO

  extended byjwo.landserf.process.io.FileIO
      extended byjwo.landserf.process.io.XmlIO

public class XmlIO
extends FileIO

Contains a collection of static methods for reading and writing various XML format files.

2.2, 5th December 2004.
Jo Wood

Field Summary
Fields inherited from class jwo.landserf.process.io.FileIO
BIG_ENDIAN, bitsPerValue, byteOrder, errorMessage, filePointer, GATHER_INFO, lineNumber, LITTLE_ENDIAN, LOAD_ALL, LOAD_SELECTED, nullCode, substituteNull, useMultiplier, zMultiplier
Constructor Summary
          There should be no need to call the constructor explicitly since all methods are static.
Method Summary
static VectorMap readMasterMapVector(String fileName, GISFrame gisFrame, LSThread lsThread)
          Attempts to read an Ordnance Survey MasterMap XML file (vector format).
Methods inherited from class jwo.landserf.process.io.FileIO
getErrorMessage, readByte, readByte, readCharacters, readCharacters, readDouble, readDouble, readDoubleBigEndian, readDoubleBigEndian, readDoubleLittleEndian, readDoubleLittleEndian, readFloat, readFloat, readFloatBigEndian, readFloatBigEndian, readFloatLittleEndian, readFloatLittleEndian, readInt, readInt, readIntBigEndian, readIntBigEndian, readIntLittleEndian, readIntLittleEndian, readNextWord, readShort, readShort, readShortBigEndian, readShortBigEndian, readShortLittleEndian, readShortLittleEndian, reset, seek, skip, skip, writeByte, writeCharacters, writeDouble, writeDoubleBigEndian, writeDoubleLittleEndian, writeFloat, writeFloatBigEndian, writeFloatLittleEndian, writeInt, writeIntBigEndian, writeIntLittleEndian, writeLine, writeShort, writeShortBigEndian, writeShortLittleEndian
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public XmlIO()
There should be no need to call the constructor explicitly since all methods are static.

Method Detail


public static VectorMap readMasterMapVector(String fileName,
                                            GISFrame gisFrame,
                                            LSThread lsThread)
Attempts to read an Ordnance Survey MasterMap XML file (vector format).

fileName - Name of file to read.
gisFrame - Frame in which to report results.
lsThread - Thread which called this method (allows it to be interrupted). Can be null if no external interruption allowed.
VectorMap holding contents of file, or null if problems reading.

Copyright Jo Wood, 1996-2005, last modified, 11th March, 2005