01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17:
18: package org.apache.xerces.xni;
19:
20: /**
21: * <p> This represents the basic physical description of the location of any
22: * XML resource (a Schema grammar, a DTD, a general entity etc.) </p>
23: *
24: * @author Neil Graham, IBM
25: * @version $Id: XMLResourceIdentifier.java 570132 2007-08-27 14:12:43Z mrglavas $
26: */
27:
28: public interface XMLResourceIdentifier {
29:
30: /** Sets the public identifier. */
31: public void setPublicId(String publicId);
32:
33: /** Returns the public identifier. */
34: public String getPublicId();
35:
36: /** Sets the expanded system identifier. */
37: public void setExpandedSystemId(String systemId);
38:
39: /** Returns the expanded system identifier. */
40: public String getExpandedSystemId();
41:
42: /** Sets the literal system identifier. */
43: public void setLiteralSystemId(String systemId);
44:
45: /** Returns the literal system identifier. */
46: public String getLiteralSystemId();
47:
48: /** Sets the base URI against which the literal SystemId is to be
49: resolved.*/
50: public void setBaseSystemId(String systemId);
51:
52: /** <p> Returns the base URI against which the literal SystemId is to be
53: resolved. </p> */
54: public String getBaseSystemId();
55:
56: /** Sets the namespace of the resource. */
57: public void setNamespace(String namespace);
58:
59: /** Returns the namespace of the resource. */
60: public String getNamespace();
61:
62: } // XMLResourceIdentifier
|