01: /**
02: * $Id: XList.java,v 1.4 2003/06/03 10:45:56 sy131129 Exp $
03: * Copyright 2002-2003 Sun Microsystems, Inc. All
04: * rights reserved. Use of this product is subject
05: * to license terms. Federal Acquisitions:
06: * Commercial Software -- Government Users
07: * Subject to Standard License Terms and
08: * Conditions.
09: *
10: * Sun, Sun Microsystems, the Sun logo, and Sun ONE
11: * are trademarks or registered trademarks of Sun Microsystems,
12: * Inc. in the United States and other countries.
13: */package com.sun.portal.providers.simplewebservice.util;
14:
15: import java.util.ArrayList;
16:
17: /**
18: * This class is used to represent the complex/nested
19: * javabean for a input/output parameter for a simple web service method.
20: * This class is used by ParameterDescriptor and also for SimpleWebServiceParameter
21: * to represent nested structures. Based on where it is used,
22: * elements in the list are either child ParameterDescriptor or
23: * child SimpleWebServiceParameters.
24: *
25: */
26: public class XList extends ArrayList {
27:
28: private String targetNameSpace = null;
29: private String complexTypeName = null;
30:
31: public XList(String complexTypeName, String targetNameSpace) {
32: this .targetNameSpace = targetNameSpace;
33: this .complexTypeName = complexTypeName;
34: }
35:
36: public String getTargetNameSpace() {
37: return targetNameSpace;
38: }
39:
40: public String getComplexTypeName() {
41: return complexTypeName;
42: }
43:
44: }
|