Google Data APIs Client Library (1.41.1)



com.google.gdata.data
Annotation Type ExtensionDescription.Default


@Retention(value=RUNTIME)
@Inherited
public static @interface ExtensionDescription.Default

The Default interface defines a simple annotation model for describing the default ExtensionDescription of an Extension class. If this annotation is place on an @{link Extension} class, the ExtensionDescription.getDefaultDescription(Class) method can be used to retrieve default description for the class.

See Also:
ExtensionDescription.getDefaultDescription(Class)

Required Element Summary
 java.lang.String localName
          The default XML element local name associated with this extension.
 java.lang.String nsAlias
          The default namespace alias associated with this extension.
 java.lang.String nsUri
          The default namespace uri associated with this extension.
 
Optional Element Summary
 boolean allowsArbitraryXml
          true if the extension allows arbitrary XML, false otherwise.
 boolean allowsMixedContent
          true if the extension allows mixed content, false otherwise.
 boolean isAggregate
          true if the extension is aggregate by default, false otherwise.
 boolean isRepeatable
          true if the extension is repeatable by default, false otherwise.
 boolean isRequired
          true if the extension is required by default, false otherwise.
 

Element Detail

nsAlias

public abstract java.lang.String nsAlias
The default namespace alias associated with this extension.


nsUri

public abstract java.lang.String nsUri
The default namespace uri associated with this extension.


localName

public abstract java.lang.String localName
The default XML element local name associated with this extension.

isRequired

public abstract boolean isRequired
true if the extension is required by default, false otherwise.

Default:
false

isRepeatable

public abstract boolean isRepeatable
true if the extension is repeatable by default, false otherwise.

Default:
false

isAggregate

public abstract boolean isAggregate
true if the extension is aggregate by default, false otherwise.

Default:
false

allowsArbitraryXml

public abstract boolean allowsArbitraryXml
true if the extension allows arbitrary XML, false otherwise.

Default:
false

allowsMixedContent

public abstract boolean allowsMixedContent
true if the extension allows mixed content, false otherwise.

Default:
false