test_class.declarator: layerFactory
test_class.modifier: @Autowired
  	private
test_class.original_string: @Autowired
  	private RasterLayerFactory layerFactory;
test_class.type: RasterLayerFactory
test_class.var_name: layerFactory
test_class.declarator: layerBluemarble
test_class.modifier: @Autowired
  	@Qualifier("bluemarble")
  	private
test_class.original_string: @Autowired
  	@Qualifier("bluemarble")
  	private RasterLayer layerBluemarble;
test_class.type: RasterLayer
test_class.var_name: layerBluemarble
test_class.declarator: writeImages = false
test_class.modifier: private
test_class.original_string: private boolean writeImages = false;
test_class.type: boolean
test_class.var_name: writeImages
test_class.declarator: DELTA = 0.04
test_class.modifier: private static final
test_class.original_string: private static final double DELTA = 0.04;
test_class.type: double
test_class.var_name: DELTA
test_class.declarator: IMAGE_CLASS_PATH = "org/geomajas/plugin/rasterizing/images/rasterlayer"
test_class.modifier: private static final
test_class.original_string: private static final String IMAGE_CLASS_PATH = "org/geomajas/plugin/rasterizing/images/rasterlayer";
test_class.type: String
test_class.var_name: IMAGE_CLASS_PATH
test_class.declarator: securityManager
test_class.modifier: @Autowired
  	private
test_class.original_string: @Autowired
  	private SecurityManager securityManager;
test_class.type: SecurityManager
test_class.var_name: securityManager
test_class.file: plugin/rasterizing/rasterizing/src/test/java/org/geomajas/plugin/rasterizing/layer/RasterDirectLayerTest.java
test_class.identifier: RasterDirectLayerTest
test_case.body: @Test
  	public void testWMS() throws Exception {
  		ClientRasterLayerInfo cl1 = new ClientRasterLayerInfo();
  		cl1.setServerLayerId(layerBluemarble.getId());
  		RasterLayerRasterizingInfo rr1 = new RasterLayerRasterizingInfo();
  		rr1.setCssStyle("opacity:0.75");
  		cl1.getWidgetInfo().put(RasterLayerRasterizingInfo.WIDGET_KEY, rr1);
  
  		DefaultMapContext mapContext = new DefaultMapContext();
  		mapContext.setCoordinateReferenceSystem(layerBluemarble.getCrs());
  		mapContext.getViewport().setCoordinateReferenceSystem(mapContext.getCoordinateReferenceSystem());
  		mapContext.getViewport().setScreenArea(new Rectangle(1024, 512));
  		mapContext.getViewport().setBounds(new ReferencedEnvelope(-180, 180, -90, 90, layerBluemarble.getCrs()));
  		RasterDirectLayer layer = (RasterDirectLayer) layerFactory.createLayer(mapContext, cl1);
  		new DirectLayerAssert(layer, mapContext).assertEqualImage("wms.png", writeImages, DELTA);
  		mapContext.dispose();
  	}
test_case.class_method_signature: RasterDirectLayerTest.testWMS()
test_case.full_signature: @Test public void testWMS()
test_case.identifier: testWMS
test_case.invocations: setServerLayerId getId setCssStyle put getWidgetInfo setCoordinateReferenceSystem getCrs setCoordinateReferenceSystem getViewport getCoordinateReferenceSystem setScreenArea getViewport setBounds getViewport getCrs createLayer assertEqualImage dispose
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testWMS()
focal_class.declarator: DOWNLOAD_MAX_ATTEMPTS = 2
focal_class.modifier: protected static final
focal_class.original_string: protected static final int DOWNLOAD_MAX_ATTEMPTS = 2;
focal_class.type: int
focal_class.var_name: DOWNLOAD_MAX_ATTEMPTS
focal_class.declarator: DOWNLOAD_MAX_THREADS = 5
focal_class.modifier: protected static final
focal_class.original_string: protected static final int DOWNLOAD_MAX_THREADS = 5;
focal_class.type: int
focal_class.var_name: DOWNLOAD_MAX_THREADS
focal_class.declarator: DOWNLOAD_TIMEOUT = 120000
focal_class.modifier: protected static final
focal_class.original_string: protected static final long DOWNLOAD_TIMEOUT = 120000;
focal_class.type: long
focal_class.var_name: DOWNLOAD_TIMEOUT
focal_class.declarator: DOWNLOAD_TIMEOUT_ONE_TILE = 100
focal_class.modifier: protected static final
focal_class.original_string: protected static final long DOWNLOAD_TIMEOUT_ONE_TILE = 100;
focal_class.type: long
focal_class.var_name: DOWNLOAD_TIMEOUT_ONE_TILE
focal_class.declarator: RETRY_WAIT = 100
focal_class.modifier: protected static final
focal_class.original_string: protected static final int RETRY_WAIT = 100;
focal_class.type: int
focal_class.var_name: RETRY_WAIT
focal_class.declarator: BUNDLE_NAME = "org/geomajas/plugin/rasterizing/rasterizing"
focal_class.modifier: private static final
focal_class.original_string: private static final String BUNDLE_NAME = "org/geomajas/plugin/rasterizing/rasterizing";
focal_class.type: String
focal_class.var_name: BUNDLE_NAME
focal_class.declarator: MISSING_TILE_IN_MOSAIC = "missing tile in mosaic "
focal_class.modifier: private static final
focal_class.original_string: private static final String MISSING_TILE_IN_MOSAIC = "missing tile in mosaic ";
focal_class.type: String
focal_class.var_name: MISSING_TILE_IN_MOSAIC
focal_class.declarator: OPACITY = "opacity:"
focal_class.modifier: private static final
focal_class.original_string: private static final String OPACITY = "opacity:";
focal_class.type: String
focal_class.var_name: OPACITY
focal_class.declarator: DEFAULT_IMAGE_BUFFER_SIZE = 1024
focal_class.modifier: private static final
focal_class.original_string: private static final int DEFAULT_IMAGE_BUFFER_SIZE = 1024;
focal_class.type: int
focal_class.var_name: DEFAULT_IMAGE_BUFFER_SIZE
focal_class.declarator: staticPool
focal_class.modifier: private static
focal_class.original_string: private static ExecutorService staticPool;
focal_class.type: ExecutorService
focal_class.var_name: staticPool
focal_class.declarator: tiles
focal_class.modifier: private final
focal_class.original_string: private final List<RasterTile> tiles;
focal_class.type: List<RasterTile>
focal_class.var_name: tiles
focal_class.declarator: resourceBundle = ResourceBundle.getBundle(BUNDLE_NAME)
focal_class.modifier: private final
focal_class.original_string: private final ResourceBundle resourceBundle = ResourceBundle.getBundle(BUNDLE_NAME);
focal_class.type: ResourceBundle
focal_class.var_name: resourceBundle
focal_class.declarator: log = LoggerFactory.getLogger(RasterDirectLayer.class)
focal_class.modifier: private final
focal_class.original_string: private final Logger log = LoggerFactory.getLogger(RasterDirectLayer.class);
focal_class.type: Logger
focal_class.var_name: log
focal_class.declarator: tileWidth
focal_class.modifier: private final
focal_class.original_string: private final int tileWidth;
focal_class.type: int
focal_class.var_name: tileWidth
focal_class.declarator: tileHeight
focal_class.modifier: private final
focal_class.original_string: private final int tileHeight;
focal_class.type: int
focal_class.var_name: tileHeight
focal_class.declarator: style
focal_class.modifier: private final
focal_class.original_string: private final String style;
focal_class.type: String
focal_class.var_name: style
focal_class.declarator: tileScale = -1
focal_class.modifier: private
focal_class.original_string: private double tileScale = -1;
focal_class.type: double
focal_class.var_name: tileScale
focal_class.declarator: urlDownLoader
focal_class.modifier: private
focal_class.original_string: private UrlDownLoader urlDownLoader;
focal_class.type: UrlDownLoader
focal_class.var_name: urlDownLoader
focal_class.declarator: imageThreadPool
focal_class.modifier: private
focal_class.original_string: private ExecutorService imageThreadPool;
focal_class.type: ExecutorService
focal_class.var_name: imageThreadPool
focal_class.file: plugin/rasterizing/rasterizing/src/main/java/org/geomajas/plugin/rasterizing/layer/RasterDirectLayer.java
focal_class.identifier: RasterDirectLayer
focal_class.class_method_signature: RasterDirectLayer.RasterDirectLayer(UrlDownLoader urlDownLoader, List<RasterTile> tiles, int tileWidth, int tileHeight,
  			String style)
focal_class.full_signature: @Deprecated public  RasterDirectLayer(UrlDownLoader urlDownLoader, List<RasterTile> tiles, int tileWidth, int tileHeight,
  			String style)
focal_class.identifier: RasterDirectLayer
focal_class.modifiers: @Deprecated public
focal_class.parameters: (UrlDownLoader urlDownLoader, List<RasterTile> tiles, int tileWidth, int tileHeight,
  			String style)
focal_class.signature:  RasterDirectLayer(UrlDownLoader urlDownLoader, List<RasterTile> tiles, int tileWidth, int tileHeight,
  			String style)
focal_class.class_method_signature: RasterDirectLayer.RasterDirectLayer(UrlDownLoader urlDownLoader, List<RasterTile> tiles, int tileWidth, int tileHeight,
  			double tileScale, String style)
focal_class.full_signature: @Deprecated public  RasterDirectLayer(UrlDownLoader urlDownLoader, List<RasterTile> tiles, int tileWidth, int tileHeight,
  			double tileScale, String style)
focal_class.identifier: RasterDirectLayer
focal_class.modifiers: @Deprecated public
focal_class.parameters: (UrlDownLoader urlDownLoader, List<RasterTile> tiles, int tileWidth, int tileHeight,
  			double tileScale, String style)
focal_class.signature:  RasterDirectLayer(UrlDownLoader urlDownLoader, List<RasterTile> tiles, int tileWidth, int tileHeight,
  			double tileScale, String style)
focal_class.class_method_signature: RasterDirectLayer.RasterDirectLayer(ExecutorService imageThreadPool, UrlDownLoader urlDownLoader, List<RasterTile> tiles,
  			int tileWidth, int tileHeight, String style)
focal_class.full_signature: public  RasterDirectLayer(ExecutorService imageThreadPool, UrlDownLoader urlDownLoader, List<RasterTile> tiles,
  			int tileWidth, int tileHeight, String style)
focal_class.identifier: RasterDirectLayer
focal_class.modifiers: public
focal_class.parameters: (ExecutorService imageThreadPool, UrlDownLoader urlDownLoader, List<RasterTile> tiles,
  			int tileWidth, int tileHeight, String style)
focal_class.signature:  RasterDirectLayer(ExecutorService imageThreadPool, UrlDownLoader urlDownLoader, List<RasterTile> tiles,
  			int tileWidth, int tileHeight, String style)
focal_class.class_method_signature: RasterDirectLayer.RasterDirectLayer(ExecutorService imageThreadPool, UrlDownLoader urlDownLoader, List<RasterTile> tiles,
  			int tileWidth, int tileHeight, double tileScale, String style)
focal_class.full_signature: public  RasterDirectLayer(ExecutorService imageThreadPool, UrlDownLoader urlDownLoader, List<RasterTile> tiles,
  			int tileWidth, int tileHeight, double tileScale, String style)
focal_class.identifier: RasterDirectLayer
focal_class.modifiers: public
focal_class.parameters: (ExecutorService imageThreadPool, UrlDownLoader urlDownLoader, List<RasterTile> tiles,
  			int tileWidth, int tileHeight, double tileScale, String style)
focal_class.signature:  RasterDirectLayer(ExecutorService imageThreadPool, UrlDownLoader urlDownLoader, List<RasterTile> tiles,
  			int tileWidth, int tileHeight, double tileScale, String style)
focal_class.class_method_signature: RasterDirectLayer.draw(Graphics2D graphics, MapContent map, MapViewport viewport)
focal_class.full_signature: @Override public void draw(Graphics2D graphics, MapContent map, MapViewport viewport)
focal_class.identifier: draw
focal_class.modifiers: @Override public
focal_class.parameters: (Graphics2D graphics, MapContent map, MapViewport viewport)
focal_class.return: void
focal_class.signature: void draw(Graphics2D graphics, MapContent map, MapViewport viewport)
focal_class.class_method_signature: RasterDirectLayer.addImage(Graphics2D graphics, ImageResult imageResult, MapViewport viewport)
focal_class.full_signature: protected void addImage(Graphics2D graphics, ImageResult imageResult, MapViewport viewport)
focal_class.identifier: addImage
focal_class.modifiers: protected
focal_class.parameters: (Graphics2D graphics, ImageResult imageResult, MapViewport viewport)
focal_class.return: void
focal_class.signature: void addImage(Graphics2D graphics, ImageResult imageResult, MapViewport viewport)
focal_class.class_method_signature: RasterDirectLayer.makeOpaque(BufferedImage image)
focal_class.full_signature: private BufferedImage makeOpaque(BufferedImage image)
focal_class.identifier: makeOpaque
focal_class.modifiers: private
focal_class.parameters: (BufferedImage image)
focal_class.return: BufferedImage
focal_class.signature: BufferedImage makeOpaque(BufferedImage image)
focal_class.class_method_signature: RasterDirectLayer.getOpacity()
focal_class.full_signature: private float getOpacity()
focal_class.identifier: getOpacity
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: float
focal_class.signature: float getOpacity()
focal_class.class_method_signature: RasterDirectLayer.addLoadError(Graphics2D graphics, ImageException imageResult, MapViewport viewport)
focal_class.full_signature: protected void addLoadError(Graphics2D graphics, ImageException imageResult, MapViewport viewport)
focal_class.identifier: addLoadError
focal_class.modifiers: protected
focal_class.parameters: (Graphics2D graphics, ImageException imageResult, MapViewport viewport)
focal_class.return: void
focal_class.signature: void addLoadError(Graphics2D graphics, ImageException imageResult, MapViewport viewport)
focal_class.class_method_signature: RasterDirectLayer.getBounds()
focal_class.full_signature: @Override public ReferencedEnvelope getBounds()
focal_class.identifier: getBounds
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ReferencedEnvelope
focal_class.signature: ReferencedEnvelope getBounds()
focal_class.class_method_signature: RasterDirectLayer.isYIndexUp(List<RasterTile> tiles)
focal_class.full_signature: private boolean isYIndexUp(List<RasterTile> tiles)
focal_class.identifier: isYIndexUp
focal_class.modifiers: private
focal_class.parameters: (List<RasterTile> tiles)
focal_class.return: boolean
focal_class.signature: boolean isYIndexUp(List<RasterTile> tiles)
focal_class.class_method_signature: RasterDirectLayer.getPixelBounds(List<RasterTile> tiles)
focal_class.full_signature: private Bbox getPixelBounds(List<RasterTile> tiles)
focal_class.identifier: getPixelBounds
focal_class.modifiers: private
focal_class.parameters: (List<RasterTile> tiles)
focal_class.return: Bbox
focal_class.signature: Bbox getPixelBounds(List<RasterTile> tiles)
focal_class.class_method_signature: RasterDirectLayer.getWorldBounds(List<RasterTile> tiles)
focal_class.full_signature: private Bbox getWorldBounds(List<RasterTile> tiles)
focal_class.identifier: getWorldBounds
focal_class.modifiers: private
focal_class.parameters: (List<RasterTile> tiles)
focal_class.return: Bbox
focal_class.signature: Bbox getWorldBounds(List<RasterTile> tiles)
focal_class.class_method_signature: RasterDirectLayer.getNlsString(String key)
focal_class.full_signature: public String getNlsString(String key)
focal_class.identifier: getNlsString
focal_class.modifiers: public
focal_class.parameters: (String key)
focal_class.return: String
focal_class.signature: String getNlsString(String key)
focal_class.class_method_signature: RasterDirectLayer.toDirectColorModel(RenderedImage img)
focal_class.full_signature: public PlanarImage toDirectColorModel(RenderedImage img)
focal_class.identifier: toDirectColorModel
focal_class.modifiers: public
focal_class.parameters: (RenderedImage img)
focal_class.return: PlanarImage
focal_class.signature: PlanarImage toDirectColorModel(RenderedImage img)
focal_class.class_method_signature: RasterDirectLayer.dispose()
focal_class.full_signature: @Override public void dispose()
focal_class.identifier: dispose
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void dispose()
focal_class.class_method_signature: RasterDirectLayer.getStaticPool()
focal_class.full_signature: private static ExecutorService getStaticPool()
focal_class.identifier: getStaticPool
focal_class.modifiers: private static
focal_class.parameters: ()
focal_class.return: ExecutorService
focal_class.signature: ExecutorService getStaticPool()
focal_class.superclass: extends DirectLayer
focal_method.body: @Override
  	public void dispose() {
  		preDispose();
  		super.dispose();
  	}
focal_method.class_method_signature: RasterDirectLayer.dispose()
focal_method.full_signature: @Override public void dispose()
focal_method.identifier: dispose
focal_method.invocations: preDispose dispose
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void dispose()