summaryrefslogtreecommitdiffstats
path: root/sandbox/mobile-android/android-jdk-classes/src/javax/xml/transform/Source.java
diff options
context:
space:
mode:
authordims <dims@13f79535-47bb-0310-9956-ffa450edef68>2008-06-17 00:23:01 +0000
committerdims <dims@13f79535-47bb-0310-9956-ffa450edef68>2008-06-17 00:23:01 +0000
commitbdd0a41aed7edf21ec2a65cfa17a86af2ef8c48a (patch)
tree38a92061c0793434c4be189f1d70c3458b6bc41d /sandbox/mobile-android/android-jdk-classes/src/javax/xml/transform/Source.java
Move Tuscany from Incubator to top level.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@668359 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/mobile-android/android-jdk-classes/src/javax/xml/transform/Source.java')
-rw-r--r--sandbox/mobile-android/android-jdk-classes/src/javax/xml/transform/Source.java36
1 files changed, 36 insertions, 0 deletions
diff --git a/sandbox/mobile-android/android-jdk-classes/src/javax/xml/transform/Source.java b/sandbox/mobile-android/android-jdk-classes/src/javax/xml/transform/Source.java
new file mode 100644
index 0000000000..5467229cc7
--- /dev/null
+++ b/sandbox/mobile-android/android-jdk-classes/src/javax/xml/transform/Source.java
@@ -0,0 +1,36 @@
+// $Id: Source.java,v 1.2 2003/09/07 23:02:09 jsuttor Exp $
+/*
+ * @(#)Source.java 1.14 04/07/26
+ *
+ * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+ * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
+ */
+
+package javax.xml.transform;
+
+/**
+ * An object that implements this interface contains the information
+ * needed to act as source input (XML source or transformation instructions).
+ */
+public interface Source {
+
+ /**
+ * Set the system identifier for this Source.
+ *
+ * <p>The system identifier is optional if the source does not
+ * get its data from a URL, but it may still be useful to provide one.
+ * The application can use a system identifier, for example, to resolve
+ * relative URIs and to include in error messages and warnings.</p>
+ *
+ * @param systemId The system identifier as a URL string.
+ */
+ public void setSystemId(String systemId);
+
+ /**
+ * Get the system identifier that was set with setSystemId.
+ *
+ * @return The system identifier that was set with setSystemId, or null
+ * if setSystemId was not called.
+ */
+ public String getSystemId();
+}