KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > openlaszlo > remote > soap > ArrayWrapper


1 /* *****************************************************************************
2  * ArrayWrapper.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.remote.soap;
11
12 import java.util.ArrayList JavaDoc;
13 import java.util.Collection JavaDoc;
14 import org.w3c.dom.Element JavaDoc;
15
16 // extend from a Collection to fool Axis into believing array schema types can
17
// deserialize into this object.
18
public class ArrayWrapper {
19     Element JavaDoc mElement;
20     ComplexType mType;
21
22     public ArrayWrapper(Element JavaDoc element, ComplexType type) {
23         mElement = element;
24         mType = type;
25     }
26
27     public Element JavaDoc getElement() {
28         return mElement;
29     }
30
31     public ComplexType getType() {
32         return mType;
33     }
34 }
35
Popular Tags