Coverage report

| %line | %branch
--- | --- | ---
tsukuba_bunko.peko.resource.ColorDeserializer |
0% |
0% |

1 |  |
     /*
2 |  |
      * "Peko" Visual Novel System
3 |  |
      *
4 |  |
      * All Rights Reserved.
5 |  |
      * (c) Copyright 1999-2003 by Tsukuba Bunko.
6 |  |
      *
7 |  |
      * $Id: ColorDeserializer.java,v 1.1 2005/07/11 12:49:19 ppoi Exp $
8 |  |
      */
9 |  |
     package tsukuba_bunko.peko.resource;
10 |  |
11 |  |
     import org.xml.sax.SAXException;
12 |  |
13 |  |
     import tsukuba_bunko.resource.SimpleDeserializer;
14 |  |
15 |  |
     import	tsukuba_bunko.peko.resource.ColorManager;
16 |  |
17 |  |
18 |  |
     /**
19 |  |
      * {@link java.awt.Color} 型のリソースに対する {@link tsukuba_bunko.resource.ResourceDeserializer} 実装です。
20 |  |
      * @author	$Author: ppoi $
21 |  |
      * @version	$Revision: 1.1 $
22 |  |
      * @see <a href="http://softlab.tsukuba-bunko.org/peko/userguide/resource.html#type-peko:color">peko:color 型のリソース</a>
23 |  |
      */
24 |  |
     public class ColorDeserializer	extends SimpleDeserializer	{
25 |  |
26 |  |
     	/**
27 |  |
     	 * <code>ColorDeserializer</code> のインスタンスを生成します。
28 |  |
     	 */
29 |  |
     	public ColorDeserializer()
30 |  |
     	{
31 | 0 |
     		super();
32 | 0 |
     	}
33 |  |
34 |  |
35 |  |
     //
36 |  |
     //	SimpleDeserializer の実装
37 |  |
     //
38 |  |
     	protected Object convertValue( String source )
39 |  |
     		throws SAXException
40 |  |
     	{
41 | 0 |
     		ColorManager	colors = ColorManager.getInstance();
42 | 0 |
     		return colors.getColor( source );
43 |  |
     	}
44 |  |
45 |  |
46 |  |
47 |  |
     }

This report is generated by jcoverage, Maven and Maven JCoverage Plugin.