001 package fi.iki.hsivonen.xml;
002
003 import java.io.InputStream;
004 import java.io.Reader;
005
006 import org.xml.sax.InputSource;
007
008 /**
009 * @version $Id: TypedInputSource.java,v 1.1 2005/05/07 11:09:35 hsivonen Exp $
010 * @author hsivonen
011 */
012 public class TypedInputSource extends InputSource {
013
014 private String type;
015
016 /**
017 *
018 */
019 public TypedInputSource() {
020 super();
021 }
022
023 /**
024 * @param arg0
025 */
026 public TypedInputSource(String arg0) {
027 super(arg0);
028 }
029
030 /**
031 * @param arg0
032 */
033 public TypedInputSource(InputStream arg0) {
034 super(arg0);
035 }
036
037 /**
038 * @param arg0
039 */
040 public TypedInputSource(Reader arg0) {
041 super(arg0);
042 }
043
044
045 /**
046 * @return Returns the type.
047 */
048 public String getType() {
049 return type;
050 }
051 /**
052 * @param type The type to set.
053 */
054 public void setType(String type) {
055 this.type = type;
056 }
057 }