KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > openlaszlo > test > xmlrpc > ObjectMapper


1 /* ****************************************************************************
2  * ObjectMapper.java
3  * ****************************************************************************/

4
5 /* J_LZ_COPYRIGHT_BEGIN *******************************************************
6 * Copyright 2001-2004 Laszlo Systems, Inc. All Rights Reserved. *
7 * Use is subject to license terms. *
8 * J_LZ_COPYRIGHT_END *********************************************************/

9
10 package org.openlaszlo.test.xmlrpc;
11
12 public final class ObjectMapper
13 {
14     public int dimensions[];
15     public long bgcolor;
16     public String JavaDoc name;
17
18     public ObjectMapper(int h, int w, long bc, String JavaDoc str)
19     {
20         dimensions = new int[2];
21         dimensions[0] = w;
22         dimensions[1] = h;
23         bgcolor = bc;
24         name = str;
25     }
26 };
27
Popular Tags