diff options
author | Android (Google) Code Review <android-gerrit@google.com> | 2009-09-08 06:36:23 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2009-09-08 06:36:23 -0700 |
commit | 5fa509ca319f1b8216b2334801933161412c07eb (patch) | |
tree | 1c18a12877294545493c0897810775c85b96745d /src/com/google/wireless/gdata2/data/ExtendedProperty.java | |
parent | 6ba47a9e9e42ee761cdac0ce26ae782d04ea6790 (diff) | |
parent | 2d5e0c32460babccca0fab44bd85127ea6562669 (diff) | |
download | gdata-5fa509ca319f1b8216b2334801933161412c07eb.tar.gz |
Merge change 23281 into eclair
* changes:
Documentation changes, no code changes. Modified per feedback by Debajit Some more typos fixed
Diffstat (limited to 'src/com/google/wireless/gdata2/data/ExtendedProperty.java')
-rw-r--r-- | src/com/google/wireless/gdata2/data/ExtendedProperty.java | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/com/google/wireless/gdata2/data/ExtendedProperty.java b/src/com/google/wireless/gdata2/data/ExtendedProperty.java index 3f6d958..1e8d060 100644 --- a/src/com/google/wireless/gdata2/data/ExtendedProperty.java +++ b/src/com/google/wireless/gdata2/data/ExtendedProperty.java @@ -6,6 +6,11 @@ import com.google.wireless.gdata2.parser.ParseException; /** * The extendedProperty gdata type + * Allows you to store a limited amount of custom data as an auxiliary + * property of the enclosing entity. + * Note that the presence of anyForeignElement allows feed to optionally + * embed any valid XML within gd:extendedProperty element + * (mutually exclusive with value attribute). */ public class ExtendedProperty { private String name; @@ -19,26 +24,54 @@ public class ExtendedProperty { this.xmlBlob = xmlBlob; } + /** + * Returns the xml embedded inside the extended property + * element + * Mutually exclusive with the value property + * @return the xml as a string + */ public String getXmlBlob() { return xmlBlob; } + /** + * Sets the embedded xml for the extended property element. + * Mutually exclusive with the value property + * @param xmlBlob xml as a string + */ public void setXmlBlob(String xmlBlob) { this.xmlBlob = xmlBlob; } + /** + * @return the name of the extended property expressed as a URI. Extended + * property URIs usually follow the {scheme}#{local-name} convention. + */ public String getName() { return name; } + /** + * @param name set's the name of the extended property + */ public void setName(String name) { this.name = name; } + /** + * Returns the value attribute of the extended property + * element.Mutually exclusive with the xmlBlob property + * @return the value + */ public String getValue() { return value; } + /** + * Sets the value attribute of the extended property. Mutually + * exclusive with the xmlBlog property + * @param value + */ public void setValue(String value) { this.value = value; } |