KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > xerces > jaxp > validation > XSGrammarPoolContainer


1 /*
2  * Copyright 2005 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16
17 package org.apache.xerces.jaxp.validation;
18
19 import org.apache.xerces.xni.grammars.XMLGrammarPool;
20
21 /**
22  * <p>A container for grammar pools which only contain schema grammars.</p>
23  *
24  * @author Michael Glavassevich, IBM
25  * @version $Id: XSGrammarPoolContainer.java,v 1.2 2005/05/15 18:49:22 mrglavas Exp $
26  */

27 public interface XSGrammarPoolContainer {
28     
29     /**
30      * <p>Returns the grammar pool contained inside the container.</p>
31      *
32      * @return the grammar pool contained inside the container
33      */

34     public XMLGrammarPool getGrammarPool();
35     
36     /**
37      * <p>Returns whether the schema components contained in this object
38      * can be considered to be a fully composed schema and should be
39      * used to the exclusion of other schema components which may be
40      * present elsewhere.</p>
41      *
42      * @return whether the schema components contained in this object
43      * can be considered to be a fully composed schema
44      */

45     public boolean isFullyComposed();
46     
47 }
48
Popular Tags