FileDocCategorySizeDatePackage
ExtendedProperty.javaAPI DocAndroid 1.5 API1192Wed May 06 22:41:16 BST 2009com.google.wireless.gdata.data

ExtendedProperty

public class ExtendedProperty extends Object
The extendedProperty gdata type

Fields Summary
private String
name
private String
value
private String
xmlBlob
Constructors Summary
Methods Summary
public java.lang.StringgetName()

    return name;
  
public java.lang.StringgetValue()

    return value;
  
public java.lang.StringgetXmlBlob()

    return xmlBlob;
  
public voidsetName(java.lang.String name)

    this.name = name;
  
public voidsetValue(java.lang.String value)

    this.value = value;
  
public voidsetXmlBlob(java.lang.String xmlBlob)

    this.xmlBlob = xmlBlob;
  
public voidtoString(java.lang.StringBuffer sb)

    sb.append("ExtendedProperty");
    if (name != null) sb.append(" name:").append(name);
    if (value != null) sb.append(" value:").append(value);
    if (xmlBlob != null) sb.append(" xmlBlob:").append(xmlBlob);
  
public voidvalidate()

    if (name == null) {
      throw new ParseException("name must not be null");
    }

    if ((value == null && xmlBlob == null) || (value != null && xmlBlob != null)) {
      throw new ParseException("exactly one of value and xmlBlob must be present");
    }