2
* Copyright 2005,2006 The Apache Software Foundation.
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
8
* http://www.apache.org/licenses/LICENSE-2.0
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.
17
package org.apache.xerces.jaxp.validation;
19
import org.apache.xerces.xni.grammars.XMLGrammarPool;
22
* <p>A container for grammar pools which only contain schema grammars.</p>
24
* @author Michael Glavassevich, IBM
25
* @version $Id: XSGrammarPoolContainer.java 381134 2006-02-26 18:20:57Z mrglavas $
27
public interface XSGrammarPoolContainer {
30
* <p>Returns the grammar pool contained inside the container.</p>
32
* @return the grammar pool contained inside the container
34
public XMLGrammarPool getGrammarPool();
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>
42
* @return whether the schema components contained in this object
43
* can be considered to be a fully composed schema
45
public boolean isFullyComposed();
48
* Returns the initial value of a feature for validators created
49
* using this grammar pool container or null if the validators
50
* should use the default value.
52
public Boolean getFeature(String featureId);