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