15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 */
20
21 package com.sun.org.apache.xerces.internal.impl.xs.util;
22
23 import com.sun.org.apache.xerces.internal.util.SymbolHash;
24 import com.sun.org.apache.xerces.internal.xs.XSObject;
25 import com.sun.org.apache.xerces.internal.xs.XSTypeDefinition;
26
27
28 /**
29 * Containts the map between qnames and XSObject's.
30 *
31 * @xerces.internal
32 *
33 * @author Sandy Gao, IBM
34 *
35 * @version $Id: XSNamedMap4Types.java,v 1.7 2010-11-01 04:40:06 joehw Exp $
36 */
37 public final class XSNamedMap4Types extends XSNamedMapImpl {
38
39 // the type of component stored here: complex or simple type
40 private final short fType;
41
42 /**
43 * Construct an XSNamedMap implementation for one namespace
44 *
45 * @param namespace the namespace to which the components belong
46 * @param map the map from local names to components
47 * @param type the type of components
48 */
49 public XSNamedMap4Types(String namespace, SymbolHash map, short type) {
50 super(namespace, map);
51 fType = type;
52 }
53
54 /**
55 * Construct an XSNamedMap implementation for a list of namespaces
|
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 */
20
21 package com.sun.org.apache.xerces.internal.impl.xs.util;
22
23 import com.sun.org.apache.xerces.internal.util.SymbolHash;
24 import com.sun.org.apache.xerces.internal.xs.XSObject;
25 import com.sun.org.apache.xerces.internal.xs.XSTypeDefinition;
26
27
28 /**
29 * Containts the map between qnames and XSObject's.
30 *
31 * @xerces.internal
32 *
33 * @author Sandy Gao, IBM
34 *
35 */
36 public final class XSNamedMap4Types extends XSNamedMapImpl {
37
38 // the type of component stored here: complex or simple type
39 private final short fType;
40
41 /**
42 * Construct an XSNamedMap implementation for one namespace
43 *
44 * @param namespace the namespace to which the components belong
45 * @param map the map from local names to components
46 * @param type the type of components
47 */
48 public XSNamedMap4Types(String namespace, SymbolHash map, short type) {
49 super(namespace, map);
50 fType = type;
51 }
52
53 /**
54 * Construct an XSNamedMap implementation for a list of namespaces
|