summaryrefslogtreecommitdiff
path: root/XMPCore/src/com/adobe/xmp/properties/XMPProperty.java
diff options
context:
space:
mode:
Diffstat (limited to 'XMPCore/src/com/adobe/xmp/properties/XMPProperty.java')
-rw-r--r--XMPCore/src/com/adobe/xmp/properties/XMPProperty.java40
1 files changed, 40 insertions, 0 deletions
diff --git a/XMPCore/src/com/adobe/xmp/properties/XMPProperty.java b/XMPCore/src/com/adobe/xmp/properties/XMPProperty.java
new file mode 100644
index 0000000..767c94b
--- /dev/null
+++ b/XMPCore/src/com/adobe/xmp/properties/XMPProperty.java
@@ -0,0 +1,40 @@
+// =================================================================================================
+// ADOBE SYSTEMS INCORPORATED
+// Copyright 2006 Adobe Systems Incorporated
+// All Rights Reserved
+//
+// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms
+// of the Adobe license agreement accompanying it.
+// =================================================================================================
+
+package com.adobe.xmp.properties;
+
+import com.adobe.xmp.XMPMeta;
+import com.adobe.xmp.options.PropertyOptions;
+
+
+/**
+ * This interface is used to return a text property together with its and options.
+ *
+ * @since 23.01.2006
+ */
+public interface XMPProperty
+{
+ /**
+ * @return Returns the value of the property.
+ */
+ Object getValue();
+
+
+ /**
+ * @return Returns the options of the property.
+ */
+ PropertyOptions getOptions();
+
+
+ /**
+ * Only set by {@link XMPMeta#getLocalizedText(String, String, String, String)}.
+ * @return Returns the language of the alt-text item.
+ */
+ String getLanguage();
+}