com.partnersoft.maps.ops
Class OpsDataBuilder

java.lang.Object
  extended by com.partnersoft.maps.ops.OpsDataBuilder

public class OpsDataBuilder
extends java.lang.Object

Provides convenience methods for creating map data from an ops data source.

Author:
Paul Reavis Copyright 2005 Partner Software, Inc.

Constructor Summary
OpsDataBuilder()
           
 
Method Summary
 int addPoint(double x, double y, Naming data)
           
 void endDataItem()
           
 MapDataItem find(java.lang.String findItemType, java.lang.String findItemValue)
           
 RoverBytes finish()
           
 void setDataMerging(boolean tizit)
           
 void setDataType(java.lang.String newType)
           
 void setGraphicType(java.lang.String newType)
           
 void setOffsetX(int newOffsetX)
           
 void setOffsetY(int newOffsetY)
           
 void setRotation(double newRotation)
           
 void setX(double newX)
           
 void setY(double newY)
           
 void startDataItem(Naming data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpsDataBuilder

public OpsDataBuilder()
Method Detail

finish

public RoverBytes finish()
                  throws java.io.IOException
Throws:
java.io.IOException

find

public MapDataItem find(java.lang.String findItemType,
                        java.lang.String findItemValue)

startDataItem

public void startDataItem(Naming data)
                   throws java.io.IOException
Throws:
java.io.IOException

endDataItem

public void endDataItem()
                 throws java.io.IOException
Throws:
java.io.IOException

setOffsetX

public void setOffsetX(int newOffsetX)

setOffsetY

public void setOffsetY(int newOffsetY)

setRotation

public void setRotation(double newRotation)

setX

public void setX(double newX)

setY

public void setY(double newY)

setDataType

public void setDataType(java.lang.String newType)

setGraphicType

public void setGraphicType(java.lang.String newType)

setDataMerging

public void setDataMerging(boolean tizit)

addPoint

public int addPoint(double x,
                    double y,
                    Naming data)
             throws java.io.IOException
Throws:
java.io.IOException