~ubuntu-branches/ubuntu/karmic/libxerces2-java/karmic

« back to all changes in this revision

Viewing changes to src/org/apache/xerces/jaxp/validation/XSGrammarPoolContainer.java

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2006-12-04 17:37:55 UTC
  • mfrom: (2.1.2 etch)
  • Revision ID: james.westby@ubuntu.com-20061204173755-hb6ybrrrk097zhx7
Tags: 2.8.1-1ubuntu1
* Merge with Debian unstable; remaining changes:
  - Build -gcj package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright 2005,2006 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 381134 2006-02-26 18:20:57Z mrglavas $
 
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
     * 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.
 
51
     */
 
52
    public Boolean getFeature(String featureId);
 
53
    
 
54
}