KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > xerces > xni > XMLResourceIdentifier


1 /*
2  * Copyright 2000-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.xerces.xni;
18
19 /**
20  * <p> This represents the basic physical description of the location of any
21  * XML resource (a Schema grammar, a DTD, a general entity etc.) </p>
22  *
23  * @author Neil Graham, IBM
24  * @version $Id: XMLResourceIdentifier.java,v 1.5 2004/02/24 23:15:54 mrglavas Exp $
25  */

26
27 public interface XMLResourceIdentifier {
28     
29     /** Sets the public identifier. */
30     public void setPublicId(String JavaDoc publicId);
31
32     /** Returns the public identifier. */
33     public String JavaDoc getPublicId();
34     
35     /** Sets the expanded system identifier. */
36     public void setExpandedSystemId(String JavaDoc systemId);
37     
38     /** Returns the expanded system identifier. */
39     public String JavaDoc getExpandedSystemId();
40     
41     /** Sets the literal system identifier. */
42     public void setLiteralSystemId(String JavaDoc systemId);
43      
44     /** Returns the literal system identifier. */
45     public String JavaDoc getLiteralSystemId();
46     
47     /** Setsthe base URI against which the literal SystemId is to be
48         resolved.*/

49     public void setBaseSystemId(String JavaDoc systemId);
50     
51     /** <p> Returns the base URI against which the literal SystemId is to be
52         resolved. </p> */

53     public String JavaDoc getBaseSystemId();
54
55     /** Sets the namespace of the resource. */
56     public void setNamespace(String JavaDoc namespace);
57      
58     /** Returns the namespace of the resource. */
59     public String JavaDoc getNamespace();
60     
61 } // XMLResourceIdentifier
62
Popular Tags