KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > ws > jaxme > xs > xml > XsSchemaHeader


1 /*
2  * Copyright 2004 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.ws.jaxme.xs.xml;
18
19 /** <p>This interface contains the data contained in the schemas
20  * root element.</p>
21  */

22 public interface XsSchemaHeader {
23     /** <p>Returns the "form" attributes default value for attributes.</p>
24      */

25     public XsFormChoice getAttributeFormDefault();
26
27     /** <p>Returns the "block" attributes default value.</p>
28      */

29     public XsBlockSet getBlockDefault();
30
31     /** <p>Returns the "form" attributes default value for elements.</p>
32      */

33     public XsFormChoice getElementFormDefault();
34
35     /** <p>Returns the "final" attributes default value.</p>
36      */

37     public XsDerivationSet getFinalDefault();
38
39     /** <p>Returns the schemas ID.</p>
40      */

41     public XsID getId();
42
43     /** <p>Returns the target namespace.</p>
44      */

45     public XsAnyURI getTargetNamespace();
46
47     /** <p>Returns the schema version.</p>
48      */

49     public XsToken getVersion();
50
51     /** <p>Returns a prefix associated with the target namespace or null, if
52      * no such prefix is available.</p>
53      */

54     String JavaDoc getTargetNamespacePrefix();
55 }
56
Popular Tags