dip.gui.map
Class SymbolInjector

java.lang.Object
  extended bydip.gui.map.SymbolInjector

public class SymbolInjector
extends java.lang.Object

Adds Symbols from a SymbolPack into a Variant map. This should occur prior to Batik processing.


Constructor Summary
SymbolInjector(ClientFrame cf, Variant variant, MapGraphic mg, SymbolPack sp)
          Create a SymbolInjector Throws an IOException if URL resolving fails.
 
Method Summary
 org.w3c.dom.Document getDocument()
          Get the XML DOM Document
 void inject()
          Inject the Symbols into the Map SVG An exception is thrown if no <defs;> element (section) is found.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SymbolInjector

public SymbolInjector(ClientFrame cf,
                      Variant variant,
                      MapGraphic mg,
                      SymbolPack sp)
               throws java.io.IOException,
                      org.xml.sax.SAXException,
                      javax.xml.parsers.ParserConfigurationException
Create a SymbolInjector

Throws an IOException if URL resolving fails.

Method Detail

inject

public void inject()
            throws java.io.IOException
Inject the Symbols into the Map SVG

An exception is thrown if no <defs;> element (section) is found.

Throws:
java.io.IOException

getDocument

public org.w3c.dom.Document getDocument()
Get the XML DOM Document



Copyright 2002-2004 Zachary DelProposto / jDip Development Team. All Rights Reserved.