public class

GmPublishingPriority

extends Object
implements Extension
java.lang.Object
   ↳ com.google.api.gbase.client.GmPublishingPriority

Class Overview

Object representation of the gm:publishing_priority tag.

Summary

Nested Classes
enum GmPublishingPriority.Value Possible values for the indexing element. 
Constants
String ATTRIBUTE_NAME GData attribute name under which to expose the publishing priority.
Fields
private GmPublishingPriority.Value value The publishing priority for the entry.
Public Constructors
GmPublishingPriority()
Creates a gm:publishing_priority tag.
Public Methods
void generate(XmlWriter w, ExtensionProfile extProfile)
Generates an XML representation for the extension.
static ExtensionDescription getDefaultDescription()
Returns a description for this extension.
XmlParser.ElementHandler getHandler(ExtensionProfile extProfile, String namespace, String localName, Attributes attrs)
Gets an XML element handler for the extension.
GmPublishingPriority.Value getValue()
void setValue(GmPublishingPriority.Value value)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.google.gdata.data.Extension

Constants

private static final String ATTRIBUTE_NAME

GData attribute name under which to expose the publishing priority.

Constant Value: "publishing_priority"

Fields

private GmPublishingPriority.Value value

The publishing priority for the entry.

Public Constructors

public GmPublishingPriority ()

Creates a gm:publishing_priority tag.

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 a description for this extension.

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

Gets an XML element handler for the extension.

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

public GmPublishingPriority.Value getValue ()

public void setValue (GmPublishingPriority.Value value)

Parameters
value