9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
11 *
12 * http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing, software
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.jaxp.validation;
22
23 import com.sun.org.apache.xerces.internal.xni.grammars.XMLGrammarPool;
24
25 /**
26 * <p>A container for grammar pools which only contain schema grammars.</p>
27 *
28 * @author Michael Glavassevich, IBM
29 * @version $Id: XSGrammarPoolContainer.java,v 1.6 2010-11-01 04:40:08 joehw Exp $
30 */
31 public interface XSGrammarPoolContainer {
32
33 /**
34 * <p>Returns the grammar pool contained inside the container.</p>
35 *
36 * @return the grammar pool contained inside the container
37 */
38 public XMLGrammarPool getGrammarPool();
39
40 /**
41 * <p>Returns whether the schema components contained in this object
42 * can be considered to be a fully composed schema and should be
43 * used to the exclusion of other schema components which may be
44 * present elsewhere.</p>
45 *
46 * @return whether the schema components contained in this object
47 * can be considered to be a fully composed schema
48 */
49 public boolean isFullyComposed();
|
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
11 *
12 * http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing, software
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.jaxp.validation;
22
23 import com.sun.org.apache.xerces.internal.xni.grammars.XMLGrammarPool;
24
25 /**
26 * <p>A container for grammar pools which only contain schema grammars.</p>
27 *
28 * @author Michael Glavassevich, IBM
29 */
30 public interface XSGrammarPoolContainer {
31
32 /**
33 * <p>Returns the grammar pool contained inside the container.</p>
34 *
35 * @return the grammar pool contained inside the container
36 */
37 public XMLGrammarPool getGrammarPool();
38
39 /**
40 * <p>Returns whether the schema components contained in this object
41 * can be considered to be a fully composed schema and should be
42 * used to the exclusion of other schema components which may be
43 * present elsewhere.</p>
44 *
45 * @return whether the schema components contained in this object
46 * can be considered to be a fully composed schema
47 */
48 public boolean isFullyComposed();
|