public class

Property

extends ExtensionPoint
implements Extension
java.lang.Object
   ↳ com.google.gdata.data.AbstractExtension
     ↳ com.google.gdata.data.ExtensionPoint
       ↳ com.google.gdata.data.appsforyourdomain.Property

Class Overview

GData element representing a property in Google Apps. The name identifies the property this element represents.

Summary

Constants
String ATTRIBUTE_NAME
String ATTRIBUTE_VALUE
String EXTENSION_LOCAL_NAME
Fields
private static final ExtensionDescription EXTENSION_DESCRIPTION
protected String name
protected String val
[Expand]
Inherited Fields
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
Public Constructors
Property()
Public Methods
void generate(XmlWriter w, ExtensionProfile extProfile)
Generates an XML representation for the extension.
static ExtensionDescription getDefaultDescription()
XmlParser.ElementHandler getHandler(ExtensionProfile extProfile, String namespace, String localName, Attributes attrs)
The default implementation uses the AbstractExtension.AttributesHandler to handle parsing the extension.
String getName()
String getValue()
void setName(String n)
void setValue(String v)
[Expand]
Inherited Methods
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
From class java.lang.Object
From interface com.google.gdata.data.Extension

Constants

private static final String ATTRIBUTE_NAME

Constant Value: "name"

private static final String ATTRIBUTE_VALUE

Constant Value: "value"

private static final String EXTENSION_LOCAL_NAME

Constant Value: "property"

Fields

private static final ExtensionDescription EXTENSION_DESCRIPTION

protected String name

protected String val

Public Constructors

public Property ()

Public Methods

public void generate (XmlWriter w, ExtensionProfile extProfile)

Generates an XML representation for the extension.

Parameters
w XML writer
extProfile Extension profile
Throws
IOException

public static ExtensionDescription getDefaultDescription ()

Returns
  • suggested extension description

public XmlParser.ElementHandler getHandler (ExtensionProfile extProfile, String namespace, String localName, Attributes attrs)

The default implementation uses the AbstractExtension.AttributesHandler to handle parsing the extension.

Parameters
extProfile Extension profile
namespace Extension namespace
localName Tag name, without the namespace prefix
attrs Tag attributes
Returns
  • an element handler

public String getName ()

public String getValue ()

public void setName (String n)

Parameters
n

public void setValue (String v)

Parameters
v