01: /* *****************************************************************************
02: * ArrayWrapper.java
03: * ****************************************************************************/
04:
05: /* J_LZ_COPYRIGHT_BEGIN *******************************************************
06: * Copyright 2001-2007 Laszlo Systems, Inc. All Rights Reserved. *
07: * Use is subject to license terms. *
08: * J_LZ_COPYRIGHT_END *********************************************************/
09:
10: package org.openlaszlo.remote.swf.soap;
11:
12: import java.util.ArrayList;
13: import java.util.Collection;
14: import org.w3c.dom.Element;
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 mElement;
20: ComplexType mType;
21:
22: public ArrayWrapper(Element element, ComplexType type) {
23: mElement = element;
24: mType = type;
25: }
26:
27: public Element getElement() {
28: return mElement;
29: }
30:
31: public ComplexType getType() {
32: return mType;
33: }
34: }
|