de.bsvrz.kex.bwsin.konfig
Class TestKonfigTest

java.lang.Object
  extended by de.bsvrz.kex.bwsin.konfig.TestKonfigTest

public class TestKonfigTest
extends Object

Version:
$Id: TestKonfigTest.java 10461 2008-07-10 17:28:19Z gieseler $
Author:
BitCtrl Systems GmbH, Gieseler

Field Summary
private  BufferedOutputStream _bos
           
private  String _style
           
private  de.bsvrz.dav.daf.main.ClientDavConnection dav
           
private  SINKonfigurationsBereich kb
           
(package private)  File kmlfile
           
private  int level
           
private  Okstra odb
           
 
Constructor Summary
TestKonfigTest()
           
 
Method Summary
private  void erzeugeKML(SINAktuelleKonfiguration ak, File kmlfile)
           
private  ArrayList<de.bsvrz.sys.funclib.bitctrl.geolib.WGS84Punkt> getPunktliste(SINAktuelleKonfiguration ak, de.bsvrz.dav.daf.main.config.ConfigurationObject co)
           
 void initDav()
           
private  void print_filefooter(StringBuffer sb)
           
private  void print_fileheader(StringBuffer sb)
          
private  void printData(KML kml, de.bsvrz.dav.daf.main.config.SystemObject so, de.bsvrz.sys.funclib.bitctrl.geolib.WGS84Polygon polygon)
           
 void setUp()
           
static void setUpBeforeClass()
           
 void tearDown()
           
static void tearDownAfterClass()
           
 void testKML()
          Erzeugt ein Googlo-Earth KML-File mit den STS
 void testList()
           
private  void writeConfigData(StringBuffer sb)
          Schreibt einen Stringbuffer in Datei.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

odb

private Okstra odb

dav

private de.bsvrz.dav.daf.main.ClientDavConnection dav

kb

private SINKonfigurationsBereich kb

_bos

private BufferedOutputStream _bos

level

private int level

_style

private final String _style
See Also:
Constant Field Values

kmlfile

File kmlfile
Constructor Detail

TestKonfigTest

public TestKonfigTest()
Method Detail

setUpBeforeClass

public static void setUpBeforeClass()
                             throws Exception
Throws:
Exception

tearDownAfterClass

public static void tearDownAfterClass()
                               throws Exception
Throws:
Exception

erzeugeKML

private void erzeugeKML(SINAktuelleKonfiguration ak,
                        File kmlfile)
Parameters:
ak -
kmlfile -

getPunktliste

private ArrayList<de.bsvrz.sys.funclib.bitctrl.geolib.WGS84Punkt> getPunktliste(SINAktuelleKonfiguration ak,
                                                                                de.bsvrz.dav.daf.main.config.ConfigurationObject co)

initDav

public void initDav()

print_filefooter

private void print_filefooter(StringBuffer sb)

print_fileheader

private void print_fileheader(StringBuffer sb)
Paths Examples of paths. Note that the tessellate tag is by default set to 0. If you want to create tessellated lines, they must be authored (or edited) directly in KML. Absolute Extruded Transparent green wall with yellow outlines #yellowLineGreenPoly 1 1 absolute -112.2550785337791,36.07954952145647,2357 -112.2549277039738,36.08117083492122,2357 -112.2552505069063,36.08260761307279,2357 -112.2564540158376,36.08395660588506,2357 -112.2580238976449,36.08511401044813,2357 -112.2595218489022,36.08584355239394,2357 -112.2608216347552,36.08612634548589,2357 -112.262073428656,36.08626019085147,2357 -112.2633204928495,36.08621519860091,2357 -112.2644963846444,36.08627897945274,2357 -112.2656969554589,36.08649599090644,2357


printData

private void printData(KML kml,
                       de.bsvrz.dav.daf.main.config.SystemObject so,
                       de.bsvrz.sys.funclib.bitctrl.geolib.WGS84Polygon polygon)

setUp

public void setUp()
           throws Exception
Throws:
Exception

tearDown

public void tearDown()
              throws Exception
Throws:
Exception

testKML

public void testKML()
Erzeugt ein Googlo-Earth KML-File mit den STS


testList

public void testList()

writeConfigData

private void writeConfigData(StringBuffer sb)
Schreibt einen Stringbuffer in Datei.

Parameters:
sb - Zu schreibender StringBuffer.