01: /*
02: * BEGIN_HEADER - DO NOT EDIT
03: *
04: * The contents of this file are subject to the terms
05: * of the Common Development and Distribution License
06: * (the "License"). You may not use this file except
07: * in compliance with the License.
08: *
09: * You can obtain a copy of the license at
10: * https://open-esb.dev.java.net/public/CDDLv1.0.html.
11: * See the License for the specific language governing
12: * permissions and limitations under the License.
13: *
14: * When distributing Covered Code, include this CDDL
15: * HEADER in each file and include the License file at
16: * https://open-esb.dev.java.net/public/CDDLv1.0.html.
17: * If applicable add the following below this CDDL HEADER,
18: * with the fields enclosed by brackets "[]" replaced with
19: * your own identifying information: Portions Copyright
20: * [year] [name of copyright owner]
21: */
22:
23: /*
24: * @(#)ExtensibleDocumentedComponentImpl.java
25: * Copyright 2004-2007 Sun Microsystems, Inc. All Rights Reserved.
26: *
27: * END_HEADER - DO NOT EDIT
28: */
29: package com.sun.jbi.wsdl2.impl;
30:
31: import java.util.HashMap;
32:
33: import org.apache.xmlbeans.XmlObject;
34:
35: /**
36: * Implementation of base for extensible, documented components.
37: *
38: * @author Sun Microsystems, Inc.
39: */
40: class ExtensibleDocumentedComponentImpl extends
41: ExtensibleDocumentedComponent {
42: /**
43: * Construct an extensible, documentation component from the given XML bean.
44: * @param bean The XML bean used to construct this component.
45: */
46: ExtensibleDocumentedComponentImpl(XmlObject bean) {
47: super (bean);
48: }
49:
50: /** Map of WSDL-defined attribute QNames. Keyed by QName.toString value */
51: private static java.util.Map sWsdlAttributeQNames = null;
52:
53: /**
54: * Get map of WSDL-defined attribute QNames for this component, indexed by
55: * canonical QName string (see {@link javax.xml.namespace.QName#toString()}.
56: *
57: * @return Map of WSDL-defined attribute QNames for this component,
58: * indexed by QName.toString()
59: */
60: public java.util.Map getWsdlAttributeNameMap() {
61: if (sWsdlAttributeQNames == null) {
62: sWsdlAttributeQNames = new HashMap();
63: }
64:
65: return sWsdlAttributeQNames;
66: }
67:
68: /**
69: * Get extensions for component, if any.
70: *
71: * @return extensions for component, if any
72: */
73: public com.sun.jbi.wsdl2.Extensions getExtensions() {
74: return null; // $$TODO
75: }
76:
77: /**
78: * Set extensions for component, if any.
79: *
80: * @param theExtensions extensions for component, if any
81: */
82: public void setExtensions(com.sun.jbi.wsdl2.Extensions theExtensions) {
83: return; // $$TODO
84: }
85:
86: /**
87: * Get the container for this component.
88: *
89: * @return The component for this component
90: */
91: protected DescriptionImpl getContainer() {
92: return null; // stub
93: }
94: }
95:
96: // End-of-file: ExtensibleDocumentedComponentImpl.java
|