View Javadoc
1   /*
2    * reserved comment block
3    * DO NOT REMOVE OR ALTER!
4    */
5   /*
6    * Copyright 2000-2004 The Apache Software Foundation.
7    *
8    * Licensed under the Apache License, Version 2.0 (the "License");
9    * you may not use this file except in compliance with the License.
10   * You may obtain a copy of the License at
11   *
12   *      http://www.apache.org/licenses/LICENSE-2.0
13   *
14   * Unless required by applicable law or agreed to in writing, software
15   * distributed under the License is distributed on an "AS IS" BASIS,
16   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17   * See the License for the specific language governing permissions and
18   * limitations under the License.
19   */
20  
21  package com.sun.org.apache.xerces.internal.xni;
22  
23  /**
24   * <p> This represents the basic physical description of the location of any
25   * XML resource (a Schema grammar, a DTD, a general entity etc.) </p>
26   *
27   * @author Neil Graham, IBM
28   */
29  
30  public interface XMLResourceIdentifier {
31  
32      /** Sets the public identifier. */
33      public void setPublicId(String publicId);
34  
35      /** Returns the public identifier. */
36      public String getPublicId();
37  
38      /** Sets the expanded system identifier. */
39      public void setExpandedSystemId(String systemId);
40  
41      /** Returns the expanded system identifier. */
42      public String getExpandedSystemId();
43  
44      /** Sets the literal system identifier. */
45      public void setLiteralSystemId(String systemId);
46  
47      /** Returns the literal system identifier. */
48      public String getLiteralSystemId();
49  
50      /** Setsthe base URI against which the literal SystemId is to be
51          resolved.*/
52      public void setBaseSystemId(String systemId);
53  
54      /** <p> Returns the base URI against which the literal SystemId is to be
55          resolved. </p> */
56      public String getBaseSystemId();
57  
58      /** Sets the namespace of the resource. */
59      public void setNamespace(String namespace);
60  
61      /** Returns the namespace of the resource. */
62      public String getNamespace();
63  
64  } // XMLResourceIdentifier