equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * reserved comment block |
2 * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT REMOVE OR ALTER! |
3 * @LastModified: Oct 2017 |
4 */ |
4 */ |
5 /* |
5 /* |
6 * Licensed to the Apache Software Foundation (ASF) under one or more |
6 * Licensed to the Apache Software Foundation (ASF) under one or more |
7 * contributor license agreements. See the NOTICE file distributed with |
7 * contributor license agreements. See the NOTICE file distributed with |
8 * this work for additional information regarding copyright ownership. |
8 * this work for additional information regarding copyright ownership. |
20 */ |
20 */ |
21 |
21 |
22 package com.sun.org.apache.xerces.internal.xs; |
22 package com.sun.org.apache.xerces.internal.xs; |
23 |
23 |
24 import java.util.Map; |
24 import java.util.Map; |
|
25 import javax.xml.namespace.QName; |
25 |
26 |
26 /** |
27 /** |
27 * Objects implementing the <code>XSNamedMap</code> interface are used to |
28 * Objects implementing the <code>XSNamedMap</code> interface are used to |
28 * represent immutable collections of XML Schema components that can be |
29 * represent immutable collections of XML Schema components that can be |
29 * accessed by name. Note that <code>XSNamedMap</code> does not inherit from |
30 * accessed by name. Note that <code>XSNamedMap</code> does not inherit from |
30 * <code>XSObjectList</code>. The <code>XSObject</code>s in |
31 * <code>XSObjectList</code>. The <code>XSObject</code>s in |
31 * <code>XSNamedMap</code>s are not maintained in any particular order. |
32 * <code>XSNamedMap</code>s are not maintained in any particular order. |
32 */ |
33 */ |
33 public interface XSNamedMap extends Map { |
34 public interface XSNamedMap extends Map<QName, XSObject> { |
34 /** |
35 /** |
35 * The number of <code>XSObjects</code> in the <code>XSObjectList</code>. |
36 * The number of <code>XSObjects</code> in the <code>XSObjectList</code>. |
36 * The range of valid child object indices is 0 to <code>length-1</code> |
37 * The range of valid child object indices is 0 to <code>length-1</code> |
37 * inclusive. |
38 * inclusive. |
38 */ |
39 */ |